From nobody Tue May 14 16:56:53 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 4Vf2ZY3dFGz5Kfh7; Tue, 14 May 2024 16:56:53 +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 4Vf2ZY2FQ1z4tZ9; Tue, 14 May 2024 16:56:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715705813; 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=neyuCObRSILJzFV4wZYJWfLH2e7N+VXOuSXwqe7+Foc=; b=DwErs9kA8qaFSAcQaQJ7368/4NBgZoz84GOyvwnXjSDkVu3z53uZQLkC1oTvf5Z323j9nH 8p8CFHPtDh5LEZveZOzft37Bn+SxzSnDAn4uVVEbt86/eUZ+7WSq0xMfKvfK5Cb2htpIwy zV63lLSEq5h+UtgLXKJozRxyHC2MOy2LubbkySIXtfcv4JDiZf8w8UDwbTksKrRGO2fMAL QK1l7zdYve8p0cLW3JH0xqSOXDzQZ3b6+zp/eixe5fe+T2Y27g8/24uF+L+NtLR9Zwssd1 B+G7s4CrIEKObYxgoNqz6jtmuTMjMkNnZQiZgTtJicBhtRNKRelU2OE1zuV+sQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715705813; a=rsa-sha256; cv=none; b=sqpJkGhKWRqM4/gAB0BqOOAnM3tNeHGwrUl9ZoPne4vtoHKjFpqv/9CD6ccamQh2mAVFtW gfk+WUmhLuTG1Z/Dj+Lkn8nUrXYgtlm+eusdY74W35eK23dy3cZ0knJuV9ZQYk542pG/GE 266wT9/JJX4l2+vjo07rgOf1ZpPPfyXQq7bVV/zDZpV1i5uxSb2DW9BMJc/H2Au6E5aVof BwL6VKqG0ukbC5eXdBMCYJA8HbmEiI8GVqfvez2x2Z5sEjycDmlIwHeoYNuVaNW9lCweyF MHeYE8NjCVpMX97RuOTH+zX8PwmsImaywKxvGWKc+/ig4DooUVxIq7z25QuzFA== 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=1715705813; 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=neyuCObRSILJzFV4wZYJWfLH2e7N+VXOuSXwqe7+Foc=; b=XOzYcN6EBPr02II/xBv3k/T0NFlgKBPqrZ9whzbMoqK9CcMtYATFiMt9lmuhlPRNlI6lX8 kEB8CtnQuF75EFTaghcMBcX0kIELenHtwy6RqfzLLrzp1z7vv4bI7p5XChOItYR/TZ2IXL 2gm+De/siw7jk23rYxmucmtdqWsrDmJPDYIEH7sMc61UHrDZymEt9cdy3tLuOURHLGBo/g sIJKXdBCWZDA339uHLYsTl3vYL6n5WQhTX5NqRJrl9GXl1DnihjJW8XnutjTWekkd93vKI VuwHpR2aL7YHK5syj+G8w0A8a/o8Op2b1eA5vFRheGAaB4lvgk028Q3/QAH0jA== 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 4Vf2ZY1rYdzfxD; Tue, 14 May 2024 16:56:53 +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 44EGurFf018589; Tue, 14 May 2024 16:56:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44EGurLD018586; Tue, 14 May 2024 16:56:53 GMT (envelope-from git) Date: Tue, 14 May 2024 16:56:53 GMT Message-Id: <202405141656.44EGurLD018586@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: 1346b9ca7167 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 1346b9ca7167789061edec6547f1f8c5b839c71a Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=1346b9ca7167789061edec6547f1f8c5b839c71a commit 1346b9ca7167789061edec6547f1f8c5b839c71a Author: Ed Maste AuthorDate: 2024-05-10 12:52:06 +0000 Commit: Ed Maste CommitDate: 2024-05-14 16:56:33 +0000 ukswitch: fix non-debug build PR: 278847 Sponsored by: The FreeBSD Foundation (cherry picked from commit 2e0c027e69de66afc1157c76bd42ecd3737d54e1) (cherry picked from commit 7309d72e140b8d13698c0e88168228f8877aaaad) --- 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 a5d2de94a13e..ab22ac5f97e9 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);