From nobody Sun Jul 20 14:09:31 2025 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 4blQQ42CPcz629Bs; Sun, 20 Jul 2025 14:09:32 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blQQ36tt9z49w5; Sun, 20 Jul 2025 14:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753020572; 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=UoQdb/Z3DshppMVIzkgZK5ugWf4oizXIPEVt/NekYXA=; b=IUJhfYkMvyimhVcfHkgsHa7yeOaj4Uc7mGlt2w00rI90ie4atpvJw/BmmmNQ6ya2s2DUUw Jo8qczO2M5ADYAz0QJTnnoNVJAJ6wadY1MMAP+DNI95korcDSLF5RyBpmHfY/peV7i++aW svmIVt2JMKJ1uK8DkCMQ8h0pytg17lXUZNHe5uEGaFSgil46Izzbl+qp63UJ31u28s3Nqg 6w0DZEWkLAFM76z8qYCqVpibal9YRaB9G+iS2onPXtDxTmPvzvtpSVRoL4bvHR3TNVfJzV TD5zz8JLcM442WTmrT2sTWOme7KNFxpCrYOj6BU8NsyjNvZZ3mzrPZVquPac3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753020572; 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=UoQdb/Z3DshppMVIzkgZK5ugWf4oizXIPEVt/NekYXA=; b=WsTzj2YU0ehCb03QXD8RoJjgUFWvXKyNoJWb9o8I+g+NEsxCyDo1/+qk39h/b69mYr5KW7 tklsvNct2h5DHB3GWngTgH5yM7YNBCk28HkTRQzewdWkJnUN+La3mLOjDoZr79J0ddJNle UKy6Is2I1oCR2pbjflT98UHyoAfHlWrOd3u4I4rcjD+12HeJFx+omVeSZxfJRrypk/FckC SEEr5oHRxaTP8ulXhXuYipIOVKZ9A43jzVyViY0NXKI3A7ckh1br82MR0fhO4vFLn3llGn kTSUwaKBttEbk3zytb8OjRk6fvaOahiYeQ1RsPju4UjN+YIJV/ugh7hQFiZBIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753020572; a=rsa-sha256; cv=none; b=lFM7sSqws4ykf5iX3tOOLF3GAX54SIPuGP212pml623g8CgQjImh4rfBzivcirPJimJLo1 bFKMkIcBsBLNxEnCZltJpIwBInrTWh1ANhaVA2xB4y/LhICILcVdwFPiHouX4nQtP4Wxo2 qUTopo8hjwuYdiC6YYY8jrrJcWzcUQPZrtDrnIA/8TKYxnvzy+O7Z+AeEhD0Kye5biuoft 2MM1u5aWyzXGnvSn++D35V5orBzu8AgdOK9C1l6daCnCnZRqB0JmYX0HpdZAkylfdN6my+ ju5ssTezXTXJG1D/Q6SKjDqot+qy0mc4R8/2HsoSBZopHJGK3EMY764iMNbE5Q== 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 4blQQ366hSzkX; Sun, 20 Jul 2025 14:09:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56KE9V4C040585; Sun, 20 Jul 2025 14:09:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56KE9VmW040582; Sun, 20 Jul 2025 14:09:31 GMT (envelope-from git) Date: Sun, 20 Jul 2025 14:09:31 GMT Message-Id: <202507201409.56KE9VmW040582@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: eaf1cda90610 - stable/14 - qlnxe: Fix build with INET 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: eaf1cda90610bfeb9d4e5486ab145b6b62669f83 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=eaf1cda90610bfeb9d4e5486ab145b6b62669f83 commit eaf1cda90610bfeb9d4e5486ab145b6b62669f83 Author: Zhenlei Huang AuthorDate: 2025-07-17 04:01:16 +0000 Commit: Zhenlei Huang CommitDate: 2025-07-20 14:07:19 +0000 qlnxe: Fix build with INET opt_inet.h is missing from 5684c8783b64, thus actually `#ifdef INET` does not work. PR: 287445 See also: https://redmine.pfsense.org/issues/16248 Reviewed by: kbowling Tested by: leper Fixes: 5684c8783b64 qlnxe: Add missing #ifdef INET to fix amd64 LINT-NOINET/NOIP builds MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D51295 (cherry picked from commit 10d9ec31bf28949221280c9ddc0816464407a43f) --- sys/dev/qlnx/qlnxe/qlnx_os.c | 2 ++ sys/modules/qlnx/qlnxe/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c index fefddcbc3cea..f8d717c9b19c 100644 --- a/sys/dev/qlnx/qlnxe/qlnx_os.c +++ b/sys/dev/qlnx/qlnxe/qlnx_os.c @@ -30,6 +30,8 @@ * Author : David C Somayajulu, Cavium, Inc., San Jose, CA 95131. */ +#include "opt_inet.h" + #include #include "qlnx_os.h" #include "bcm_osal.h" diff --git a/sys/modules/qlnx/qlnxe/Makefile b/sys/modules/qlnx/qlnxe/Makefile index 3d8415cf0e57..2a44ae6ddde5 100644 --- a/sys/modules/qlnx/qlnxe/Makefile +++ b/sys/modules/qlnx/qlnxe/Makefile @@ -58,6 +58,7 @@ SRCS+=qlnx_rdma.c SRCS+=qlnx_ioctl.c SRCS+=qlnx_os.c +SRCS+=opt_inet.h SRCS+= ${LINUXKPI_GENSRCS}