From nobody Tue May 14 14:47:35 2024 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 4VdzjM6wL5z5KTPx; Tue, 14 May 2024 14:47:35 +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 4VdzjM43trz4dDw; Tue, 14 May 2024 14:47:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715698055; 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=fYrCOoEtZFtST6sDW8cCieaBQUs8g5nhW1S5Zufzi/M=; b=BkMQYlsi3VAx/v4LzxZopKMgdSLedm4lwxfEgNsuRTSTO4VkrcMCkI/mjVl/0wR+P/hw5p 8XLvyuVHclr5B35+vxQI4S4ypgj8BusDEL3KIH2EYFzEm6Ho8pfh1c5dbr+vzhqcDYbL5Z f+ICo6i07u9toaeHcM4KNUghDaeBuWaGT/PMtKCEwt4VmrE8eh0cWVp6Lw7ZhZqlF8QHN/ ddRBKwhE3p6UmRnMj5q+Y1Oh/mouisuL6Fx0DgTTP83XClb0RDUUTLp+frdtV4gGyEc0Cb lLI8SDSXW7VobcMhdTasUM1X4Ij5nxUIPPB7ZcB9HGaZoDRTcbDDP17zHoo1sQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715698055; a=rsa-sha256; cv=none; b=pBhgpJBU1j3o6Qv+ngARp6Z/YxpZ0apkP7Gi+9eiU477SVm3VIW+caJbwNEcjnWJPMwy0d KG9h4/MSE+PuLRIjJITNi6wCW8+eufuPbN5jAc9zP3JI4bJNStXCdLwVbxRM/c527MCh6V DueKmkz+SQ1sgXDs52cmu2AwyMX5lveRbV51pkSo3k/8be+tnmK7e9L8ExazN6niQTER+/ A2P8/wwaE11FTi5yKUpoCr2A+vWNWSf6aksIFD7DUaWrA319E4wE+0RAZYwvjX3WUYl7ln BqdP35uInE+zAzwRfDh0uXJWd/KKRWHhuvfaBLd6DIoBZMeKxJhNIawP4IZZoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715698055; 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=fYrCOoEtZFtST6sDW8cCieaBQUs8g5nhW1S5Zufzi/M=; b=YUfQ3/+Er4knpen4CsD/t01kOKIx9AbVvnCBFnDB+g1ctJ1OM92VXrHuFxYMziQNb7Y5y4 ZiunCs2B3BrKPNEfocLi32+cBXz3JcQz+zVa/KVmWH7siHXyyEMLA5D/lF0H6WC9nrbFsc bC2GGcrrvKUlulPPzw8n8TE/ctELKqyCtf8BrfggPB1dq7k9IKJ4OBuNeP6l7bohzIbMp4 P1JwuGjxYDrQI6eLDqRX6x4Zk1G7wZsueE3ucN9X44sWJ2sT2nT8sEGz7VKvEPPDxHTnsO uAYOJ+jp+Ga7c7/9stfBXYs/hriHvHnQrn/tJg/FpizWRxLUgvNqUm3jFffSyA== 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 4VdzjM3dKWzbf1; Tue, 14 May 2024 14:47:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44EElZKl098381; Tue, 14 May 2024 14:47:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44EElZVo098378; Tue, 14 May 2024 14:47:35 GMT (envelope-from git) Date: Tue, 14 May 2024 14:47:35 GMT Message-Id: <202405141447.44EElZVo098378@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 7309d72e140b - stable/14 - ukswitch: fix non-debug build 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7309d72e140b8d13698c0e88168228f8877aaaad Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=7309d72e140b8d13698c0e88168228f8877aaaad commit 7309d72e140b8d13698c0e88168228f8877aaaad Author: Ed Maste AuthorDate: 2024-05-10 12:52:06 +0000 Commit: Ed Maste CommitDate: 2024-05-14 14:47:00 +0000 ukswitch: fix non-debug build PR: 278847 Sponsored by: The FreeBSD Foundation (cherry picked from commit 2e0c027e69de66afc1157c76bd42ecd3737d54e1) --- sys/dev/etherswitch/ukswitch/ukswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/etherswitch/ukswitch/ukswitch.c b/sys/dev/etherswitch/ukswitch/ukswitch.c index 6eff37bb118e..88726422bd01 100644 --- a/sys/dev/etherswitch/ukswitch/ukswitch.c +++ b/sys/dev/etherswitch/ukswitch/ukswitch.c @@ -514,7 +514,7 @@ ukswitch_writephy(device_t dev, int phy, int reg, int data) static int ukswitch_readreg(device_t dev, int addr) { - struct ukswitch_softc *sc; + struct ukswitch_softc *sc __diagused; sc = device_get_softc(dev); UKSWITCH_LOCK_ASSERT(sc, MA_OWNED); @@ -526,7 +526,7 @@ ukswitch_readreg(device_t dev, int addr) static int ukswitch_writereg(device_t dev, int addr, int value) { - struct ukswitch_softc *sc; + struct ukswitch_softc *sc __diagused; sc = device_get_softc(dev); UKSWITCH_LOCK_ASSERT(sc, MA_OWNED);