From nobody Fri May 10 12:53:43 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 4VbTMq3HNHz5JP2T; Fri, 10 May 2024 12:53:43 +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 4VbTMq2nddz4YkL; Fri, 10 May 2024 12:53:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715345623; 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=Lxtwy+gJlT7JzpzQxDhQt969MPB78GxoC+dOvLiwFgs=; b=ESqYetKuq8hNk2ukHP/9pb2R7aiHWUf/ztnklznwF9JlHjzPYId+E/CG+hLxwNu7NbQXXn tpUGdVm7PlIybwH3FFR2/gyTRi24ZvUjilcXzEaUMhaPbbKUoztZKjeZ3uCFqCjB4EpS0t UGsmeQJ8mWrfBqK53lGpUWdEVWINDKXiXWusQ5PvTYtoxY3TZHUqk96juD1CrmvCuqNOWH JldCpDZMqcaihJ1bdquthvs/AC87CGn3LFOoq3Qvm8vTVdD7nQSdWjeelq4VV76zWeRcgb u2NgpOBsqfGt8kJZNKw99RJBIVI5O+EyKXzwgzV0AdaXlBucpdvjQj4daik5uA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715345623; a=rsa-sha256; cv=none; b=he98WRO4vXrOqxGJKTfm90wXgmEd730uLFp0RsRK/esXLs/uIKMvmyfUfHNvkKEDl7j57p dmqiWD77VWAgee9qm6Kn8jPE4hldqGCxTqbHAhXvWnMiMiwUIA75rM6yomXHSQQL0VhF0u pFkLuvZ2DjRCxTkPurriy7i09S5xYoxqe2DW/7mkDJQPztqDyn9tEK88nWL8AyUWcNcKKh MzYOWF3NXCsfwTPgbaRyCeoGPMZk42G412iQ51F1vMhDz9HffZqERKqGFfXfuBi/7+lk4a 7nlPyOfOEYDL+KZgpzsGRXfXRBCGXYG0oAG6OrGPXAvz2aF6iktW/GwCbkQ9Cg== 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=1715345623; 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=Lxtwy+gJlT7JzpzQxDhQt969MPB78GxoC+dOvLiwFgs=; b=E2FeMl7/W/iKyGrsda6/DgBROKCaczCe44ZWmqA+JtpXKCMl5knK4XAItUU+QDzP34hX+8 rLA9CHfSE7Mg8wOMxVAKAPO9bwWzyhTXiYQFNIkoyJ3HIyaFonn2tRNeofYuWHLO90rYod 3GMOE5loB43Jri3vCCWLPp/ik/iO3mHdkk8K8ZyLFXZgILl+bJ8ifN9buYu3sH6QETnSqI P+SbJIzJVAZT6C3LFbFnoIz/7WfqH+5N1JncaWR2C6fVDZhoAkbzQQWkjrNf4nAfHscSn8 YcW0exF3WWtoOtr0aQ0WuJ6N/sRmS6K7CcG8lYH3EcVeb++FtXyoYqd+17JSWQ== 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 4VbTMq2P65zf5X; Fri, 10 May 2024 12:53:43 +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 44ACrhuv033449; Fri, 10 May 2024 12:53:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44ACrhfq033446; Fri, 10 May 2024 12:53:43 GMT (envelope-from git) Date: Fri, 10 May 2024 12:53:43 GMT Message-Id: <202405101253.44ACrhfq033446@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: 2e0c027e69de - main - 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/main X-Git-Reftype: branch X-Git-Commit: 2e0c027e69de66afc1157c76bd42ecd3737d54e1 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2e0c027e69de66afc1157c76bd42ecd3737d54e1 commit 2e0c027e69de66afc1157c76bd42ecd3737d54e1 Author: Ed Maste AuthorDate: 2024-05-10 12:52:06 +0000 Commit: Ed Maste CommitDate: 2024-05-10 12:53:15 +0000 ukswitch: fix non-debug build PR: 278847 Sponsored by: The FreeBSD Foundation --- 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);