From nobody Wed Mar 02 21:45:55 2022 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 6D1861A05967; Wed, 2 Mar 2022 21:45:57 +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 4K87375Q7Nz3H86; Wed, 2 Mar 2022 21:45:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646257555; 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=EjKOMEiYNDnpKZgjeSqy7TMtnCGeMaQKNcuEDp2dbHc=; b=dEVQRaap/83Hmw/OQ8N3GyE1IuUKbehoHBISB4dLkHnfqxSQBtWApjcZ8FAvUUEF+PRDRU uqO+1fY/B+bUfQHI9lih5pi3px6M9unwhPK+NOLaJ5d4348HbnIMnpYlnpsOomLF8HXDmK czMIsThXkFHJed2SHo2KbOb72m9/csGhQ3PtIkRB2mPKjFu7dyafXtf9DmVl6UrEtpu3Ge SHgVjJ3NtMJ3RH0KVK3JjibzRwUYgB61e5q0Gvhg14YUdhfpDraU09idZ2avmQ4kSR7PYY O8Ui+ovbvHezWFNFq88zqyFRr7tPWLL/8Q5HMlgh0oDsixwjV34dQBjOtPdkSg== 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 957F6372D; Wed, 2 Mar 2022 21:45:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 222LjtPi051040; Wed, 2 Mar 2022 21:45:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222LjtM2051039; Wed, 2 Mar 2022 21:45:55 GMT (envelope-from git) Date: Wed, 2 Mar 2022 21:45:55 GMT Message-Id: <202203022145.222LjtM2051039@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Navdeep Parhar Subject: git: d30946f4ad5b - stable/13 - cxgbe(4): Fix build warning for LINT-NOIP. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: np X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d30946f4ad5bdc0e98e235bd0b7fca8c71c91dcd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646257555; 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=EjKOMEiYNDnpKZgjeSqy7TMtnCGeMaQKNcuEDp2dbHc=; b=v40d3WrlHPWrZAR+ta+HkGY4/me07HXK4504Fe386KGQLB28HCCDmOKYhx0lhf2A7FIKEj PQcWbtDf9WDUfv3ixPxPXL6YJMLpNcUHk/OnzmnXGjzgP6Dc5jOpxXtR/UfIpUzhxmICw0 bE7CS1PK6AkmXM158JTRavS5ARtMbvcKu0NJ4Yd4ptywYP2t8pjP2bk9u9BxXVfK2cye4G vAgwU8O/4HG0MnN/iLLg2c38MsddcLIaeNiYBImgnTLzGifNOhsocRxWaVssgv1Nfkfvfi 7v/+AMFJD4JqslabP0ZN1tbIJipSyc+E9W4DmSIaV7Z0ou95SW0ZZdfC0IRT1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646257555; a=rsa-sha256; cv=none; b=vpsGfWtGBnSsA17MA0OU8OuYVRRElM1mhYBFXUggOG7Nr/YCEuC9aQcRCpIp1b+ngmPI+u 3j5tIGEPOH2Lspy8Nw+s2b0qhJseD/D0LZiSDicn+3+JtdSV1st1UcdxylDjp2YFVGWCXW 3MDUZkbiMdbiJ9/aYzdmF3wgQWttm7Bq7k6pBuL5uOJoA4MlkSfUecaB3WnQuQNt/RBJBC Eu4zVS0/MLGmRW2vBBXtU5PuVKux12mqPaj/pB276LexCq+Y8djed5arUj8VZ8yaGYkrG+ kqG40Q6OvAXpcXpMdxehYQLTbI69MxHIeRZjEzTHPUUPsP6kBaPtSGJ7CYkuWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=d30946f4ad5bdc0e98e235bd0b7fca8c71c91dcd commit d30946f4ad5bdc0e98e235bd0b7fca8c71c91dcd Author: Navdeep Parhar AuthorDate: 2022-01-10 20:32:39 +0000 Commit: Navdeep Parhar CommitDate: 2022-03-02 21:28:40 +0000 cxgbe(4): Fix build warning for LINT-NOIP. MFC after: 1 week Sponsored by: Chelsio Communications (cherry picked from commit 94e6b3fee1e5f1ae52741c367c4a3f93a0c0708d) --- sys/dev/cxgbe/t4_sge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c index 092d8e59b889..131fb617e102 100644 --- a/sys/dev/cxgbe/t4_sge.c +++ b/sys/dev/cxgbe/t4_sge.c @@ -2511,6 +2511,7 @@ needs_vlan_insertion(struct mbuf *m) return (m->m_flags & M_VLANTAG); } +#if defined(INET) || defined(INET6) static void * m_advance(struct mbuf **pm, int *poffset, int len) { @@ -2535,6 +2536,7 @@ m_advance(struct mbuf **pm, int *poffset, int len) *pm = m; return ((void *)p); } +#endif static inline int count_mbuf_ext_pgs(struct mbuf *m, int skip, vm_paddr_t *nextaddr)