From nobody Thu May 09 18:22:51 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 4Vb0k41cPXz5KDhW; Thu, 09 May 2024 18:22:52 +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 4Vb0k40cqDz4bGt; Thu, 9 May 2024 18:22:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715278972; 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=2rXrrH0sTQT+nPCnORJTSAN6LBurt0/9SdlO4oNYi3M=; b=q+9/dUoH3BmRaU3QFvgjALYaPBdFBMHHA9QY+OnlR8GvnGVFd5dAQt3dj1nk8vEK8Buj1t vqJWoGAEuRGKLGg8f3id68XQbHMJtd7Wl3wqBNQmIyxuYM0T/VfDgn30avvXnnLdRmFgId g87lzGLJCshnKXsddq3EwDLVUarn7QrSKoxE0dzlFTpl67PjyaYU9VnmasnAUmvfiNQXix fRSmTvU1I6zcEsz0o4AQTJuj0FKSm5KM4YmbmeegjyhG7dLY+uRABIb8VYjajJBB4LXBE0 j4+Z2vnFfcSil/j/5cwNt9VBfrpZrH4882atu7mRoU+iNaAS8kO0V1TRde6G5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715278972; a=rsa-sha256; cv=none; b=uDIgCqgSZJbbUiD+qOG975XmXarL86e8rtEmMc2t8sf6KxLraSMjIUz1i83n2yAmqT6u5S 8ByqOomIan5VCFb0qBcunl62E5vXJ1eX1xaoYUVyZBjF5SqlImp7yGg74LsyNziujaJc9T xzga7ZtN90UDbULcUCB3VPW0i39cqIYioG13eIk6XZdo4NONcfwT4PHUOusUdg0t6gnwSZ w8IJmIHs/VsaiF+HiK2TTDkcS1nl6kswW9l6pi+2/ub/H4QadsN9nwoKAO4UCjjuwm+mEz HK3JVZyNfdVHnCm9wvzeWA0WYAYC5gxuDVSuGTmQBZl2G77S5w3i/bomXs1WHA== 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=1715278972; 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=2rXrrH0sTQT+nPCnORJTSAN6LBurt0/9SdlO4oNYi3M=; b=wuOAbe88Z5nmcqT5toJ9RFuarvfHi3XpKuwBfnAE5Yb2oGi5e8cT/jFPb4c47jgPntdxjF gDevHCtbFmL9xTD0t1nx9PYz8VxNXb83CEaYnNRUPEpAA7SasuVzTpUbEWFnlQ5p/oUguw PbCbjDoG2w5tM6nBE3TbGshyrMbARI62uVQ4UmXhJcLLgIfTfFwh2dNZme7UAAr+714WQw HXTMNdNihnNjPSGE/xgLly1sHkjWQuHw/D4RwmOTzelJduGBjbbrZnEKD3nd5JTi2TKQuZ HrW0AiGIlNBr60FWeNqBBTiT1g/5F3dc0LEVQTl+K4RXB3Au8H6J/0AvMOeYWQ== 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 4Vb0k408wbz1JLp; Thu, 9 May 2024 18:22:52 +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 449IMput056371; Thu, 9 May 2024 18:22:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 449IMp8x056368; Thu, 9 May 2024 18:22:51 GMT (envelope-from git) Date: Thu, 9 May 2024 18:22:51 GMT Message-Id: <202405091822.449IMp8x056368@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 82f43db382cc - main - ip17x: 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/main X-Git-Reftype: branch X-Git-Commit: 82f43db382cc4aea2a3f34f08da9a97ab023d5fb Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=82f43db382cc4aea2a3f34f08da9a97ab023d5fb commit 82f43db382cc4aea2a3f34f08da9a97ab023d5fb Author: Ed Maste AuthorDate: 2024-05-08 13:20:44 +0000 Commit: Ed Maste CommitDate: 2024-05-09 18:22:11 +0000 ip17x: fix non-debug build PR: 278847 Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45133 --- sys/dev/etherswitch/ip17x/ip17x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/etherswitch/ip17x/ip17x.c b/sys/dev/etherswitch/ip17x/ip17x.c index 218c0c293662..65e548ba293b 100644 --- a/sys/dev/etherswitch/ip17x/ip17x.c +++ b/sys/dev/etherswitch/ip17x/ip17x.c @@ -556,7 +556,7 @@ ip17x_ifmedia_sts(if_t ifp, struct ifmediareq *ifmr) static int ip17x_readreg(device_t dev, int addr) { - struct ip17x_softc *sc; + struct ip17x_softc *sc __diagused; sc = device_get_softc(dev); IP17X_LOCK_ASSERT(sc, MA_OWNED); @@ -568,7 +568,7 @@ ip17x_readreg(device_t dev, int addr) static int ip17x_writereg(device_t dev, int addr, int value) { - struct ip17x_softc *sc; + struct ip17x_softc *sc __diagused; sc = device_get_softc(dev); IP17X_LOCK_ASSERT(sc, MA_OWNED);