From nobody Fri Dec 10 11:55:30 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BAFCB18E7D5D; Fri, 10 Dec 2021 11:55:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J9Tqk3YBCz3lCl; Fri, 10 Dec 2021 11:55:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A46E19D4A; Fri, 10 Dec 2021 11:55:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BABtULu015238; Fri, 10 Dec 2021 11:55:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BABtUHu015237; Fri, 10 Dec 2021 11:55:30 GMT (envelope-from git) Date: Fri, 10 Dec 2021 11:55:30 GMT Message-Id: <202112101155.1BABtUHu015237@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: ceed3949bc80 - main - x86: plug a set-but-not-unused var in native_lapic_ipi_free List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ceed3949bc80bed39f4d99a580beebf960bb61a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639137330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pLfo6RE+9xFCxnl/3aHHb/x74HxIf0Wp4hnLnH0FpH0=; b=nIsxpvHnvsBhYg9mbYaE/veLH5KM/aRz/xuGcGVmpOruMTMqXVyeCbRFDguI8Ay8reAwGo qfEKSAWxzP+t9PmW6R8qc0VpXLehJL42yljQuMMc/6RVCA0e+H9aUvrJX5yvdYY0A0gqyP 4yU3tzGO15mWtigLxMM9HME0ExrZoQyfYgCLFXwjG36h75d6VR9/Rqlj5HXTacJXgMXFkP uqGjq53eMkURRwE532QZWvTJ9C3OIvUnI7Nk7Ffo2iUW39H31+2lXa4q6HdAB1ktnXw2ht qZ08O8+u8pj6faduVGEBzHhFtfBBDJ4wq0ReTNezyh3Hh/Ixk3lPqu6S2ZtuhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639137330; a=rsa-sha256; cv=none; b=RRsqdMEiJ13eUihzhXObzCB+6iqj+zcq6ybLaB2m4MKcxCFIusvpA3IQoRJ1bVkW++eSPV X9tJWJ2oG8BwdyHlEhZkd4D5E5P86dmXnLbtnzEn6tAVW+0DLMMbZ95NH/2qo8bEKnOQzF 2xhuOA9rw4ASyxay1YPz3YT/jvkmomJ04eSr+UZI97X+h0QyRH/uPVYyJlMYEEkBp8RuEu ujXcfdbiycjcQqhrQM2nIVFPRRh+Qbj/5r7eyAy3WgX2kgTiUNasnMLKEPpJkNityRmbZ8 Nl01Nb78EVAE+llyu04RxSv5i7C5OzxJ2Su1oe2Q/pdkZTzQuSCXn1Fmadxl5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ceed3949bc80bed39f4d99a580beebf960bb61a3 commit ceed3949bc80bed39f4d99a580beebf960bb61a3 Author: Mateusz Guzik AuthorDate: 2021-12-10 11:55:03 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-10 11:55:03 +0000 x86: plug a set-but-not-unused var in native_lapic_ipi_free Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/x86/x86/local_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c index c404188e578b..ac3dfa4ca1d3 100644 --- a/sys/x86/x86/local_apic.c +++ b/sys/x86/x86/local_apic.c @@ -2178,7 +2178,7 @@ static void native_lapic_ipi_free(int vector) { struct gate_descriptor *ip; - long func; + long func __diagused; KASSERT(vector >= IPI_DYN_FIRST && vector <= IPI_DYN_LAST, ("%s: invalid vector %d", __func__, vector));