From nobody Tue May 14 16:56:52 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 4Vf2ZX3Mzhz5Kfrn; Tue, 14 May 2024 16:56: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 4Vf2ZX1Tcgz4tM6; Tue, 14 May 2024 16:56:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715705812; 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=vrsfH/8nx2d+Cac1ELlPM4boj2lEJCVKbFvPRO+CXks=; b=nui8p+6le7aVSgQ75p+paWYtZPbDxa44WE+XL2Q9461D1ly+hxa/3pBH0sS9UIqoInBOq6 J7+hAkKiTYchfiHg6kS4/gQ0XifXzDt1KReKcKp3UbhRwF/MmzurPPTwkKUuVlRvtjp1+l 1NV0uiC/TooWKp4NxXB9TSm+qoHqqrnoKyU8+vLntTidvAdTEmpsstoF0CGclUnB+X9Wn2 /8CikI2zDn10tpXOWhHKwuy7MPt81SCNOTNVl0De84FSs9fANqciHgXwWseGPYgW2n4r4G HbgPECo9JmZHeGs0690HvBpn4oAY00frnXiAO+ZcM+yq9XBX7OJMGNFTEPKicg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715705812; a=rsa-sha256; cv=none; b=LKkc73rQkfwnh7SCAKpUyWXSISovLP43/HSOieIXzvVj5qpVCY64mZL5h/4o9mNBH++5u2 8TSWia46C/fkqWf9kE3iYmVWms98KNT+/dmlfmVAe2KVJVnilMhdRwoa56PoDOOMevu+dd n61sLp6zaJMeKYmglaVhXeh5lJC0EPjIzblaT0yzYNWiOZRjyla89mGRIVEuvwGi8CHdgc DBpQ8Z8tRELXLQfem4p1geFoLewBCthwXpY968EzGReLxhNQDTg5BC7XZasYjsvgpa9W+t bLcRJH+H+EW4N22pfZibW+luqpJo95aOuD8JK28hKiEsBgwmYx4eq8R2/e6Jhw== 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=1715705812; 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=vrsfH/8nx2d+Cac1ELlPM4boj2lEJCVKbFvPRO+CXks=; b=Tt2CV7a/qTLhIa5Y5AdKxDHIHpoq7DzSYlDQYBXD3eFcW6dYIRMs/CVA2XZdtTgLxJAUpC CCVoup2AMkyQK+RzCPEMWPw4jNg/zDQa8z4oQG8DP0hMhW6xoRlRgEBrgyn0R9aJhIS746 zbHXxIpawG0TQuvewTxevWv1zYNmmzMOb5GKG9YRcwG9s8t5vvaexSU3SO5ZBpr43oLQ7L QS8MeWnX+LN3v95X1LKdY+KQwnBstpbl6DA6JbAF7Qd9ycC6jNKQLjGYhsMjiF87BP9SJI 1ahg4oulj/6MwGG1QvIQI0JyRbx1hZ4rOqe8vOuVSiGWl/TPIrGXnRHenuCJ9w== 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 4Vf2ZX14zszgH5; Tue, 14 May 2024 16:56: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 44EGuqie018544; Tue, 14 May 2024 16:56:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44EGuqa5018541; Tue, 14 May 2024 16:56:52 GMT (envelope-from git) Date: Tue, 14 May 2024 16:56:52 GMT Message-Id: <202405141656.44EGuqa5018541@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: dfac340633bc - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: dfac340633bcc64ce005009483ec353c6201b210 Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=dfac340633bcc64ce005009483ec353c6201b210 commit dfac340633bcc64ce005009483ec353c6201b210 Author: Ed Maste AuthorDate: 2024-05-08 13:20:44 +0000 Commit: Ed Maste CommitDate: 2024-05-14 16:56:33 +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) (cherry picked from commit e9a7be7def4c55fb5476c5d9540137f0ae6f9206) --- 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 66e74b098e7b..cf118b0bc2cf 100644 --- a/sys/dev/etherswitch/ip17x/ip17x.c +++ b/sys/dev/etherswitch/ip17x/ip17x.c @@ -556,7 +556,7 @@ ip17x_ifmedia_sts(struct ifnet *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);