From nobody Tue May 14 14:47:34 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 4VdzjL5sRmz5KTDl; Tue, 14 May 2024 14:47:34 +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 4VdzjL4gFMz4d7s; Tue, 14 May 2024 14:47:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715698054; 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=cUiC91cBhw/ZHD7WhniAtchbQpCIhldtzbX0w717nwk=; b=qTgd3Rv/MvLsNKg7lIoEQ/9ui90Z16Vjz50N1fLxoDtWgpQPUr0BPQND3zZG69lKBxOgG/ +NlK539Ng2QD9Yd63s7m8HfoGp1ya6LIjrtSxCVf+4KeVwKStMuV4hXzFbOL9pYO6Jkwsb X9sQfmnK1Roj9l64W22vk7Pq+zOaYrAFf1LMtpuYmPI/n86rjx3qC8eB1hPjYVI0uU5imG JSdmwhM6lUBhgot3D6ApHvQBq2N5yUEFVlqW5OXBnmiEjjUPb6JAf9E0fiWq3bVVQg8JNc oOfd8cFHxXXXF85MR7Nirz2L1wKcn0FTPuXuQraMWumb9T/QmaZIREfpeOk9uw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715698054; a=rsa-sha256; cv=none; b=WuENk6Xd8ItJXm1bVN+64JKufb1pwgcBENixwzyNVI7bLwJjR86rzOIVcyd3gEPAFH2VVf zHNADiJr9I2H+6zyJTx9tD9YGcUsD4T1QDAqtaxND8jjBq9Oa8WWmrrlW0MxQOu0nAVtpa 0MVy/CJo0PtSGFVMNzMnqVYMndAcwlgT8MUamZeILDrJv/0Q1ymAH1+EDP2p+c1OMELNa5 UC9kh/9ZK6M5FP95+Vi98vQsati40IoD1cA+SOa2saw2AnCze0TtBaHfYBYmuxjzsm5gJw iECLonOkt5BwGIEnyDk8T1x0k3TxnDzVa5xOB/VugN6tDfL2Nc7t2ty5Aoz/3w== 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=1715698054; 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=cUiC91cBhw/ZHD7WhniAtchbQpCIhldtzbX0w717nwk=; b=BLW2hHqulpEnbGb3sPeqIJJTrJKUVUYfLJIYc8gjlbIQ/TZxgK2P6ONPQNZ25HlIqQtYME ENV93jKRENHtjibxv+ySwvO5Owtu194Fa+mW9QaeLF/mZPXpaj52B6K4aMpv/oVRnZCizH WYe/3CnuXEu/tPaxPB1KM7VUXxOKVfNQbWv6QV7+L8svJizh/ZML1UtPJ9COaigc6YG/G5 YlHkpWhclDqZYcXxCtP77qz1BPlyXjJGbjyfh+b7Woyu6bmRUtMbZfSbFfHBWu82PV5Wf4 wwVTZrKTpFJ4xWl18HGtPbxgAKKgazFsjbz9pf/I54IYt9iB+gVydjfgPeVbhw== 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 4VdzjL2VvVzbqf; Tue, 14 May 2024 14:47:34 +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 44EElYNV098340; Tue, 14 May 2024 14:47:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44EElYSE098337; Tue, 14 May 2024 14:47:34 GMT (envelope-from git) Date: Tue, 14 May 2024 14:47:34 GMT Message-Id: <202405141447.44EElYSE098337@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: e9a7be7def4c - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: e9a7be7def4c55fb5476c5d9540137f0ae6f9206 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=e9a7be7def4c55fb5476c5d9540137f0ae6f9206 commit e9a7be7def4c55fb5476c5d9540137f0ae6f9206 Author: Ed Maste AuthorDate: 2024-05-08 13:20:44 +0000 Commit: Ed Maste CommitDate: 2024-05-14 14:47:00 +0000 ip17x: fix non-debug build PR: 278847 Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45133 (cherry picked from commit 82f43db382cc4aea2a3f34f08da9a97ab023d5fb) --- 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);