From nobody Thu Nov 06 21:43:16 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 4d2bKK0YwSz6Fkp3; Thu, 06 Nov 2025 21:43:17 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d2bKJ6fkvz3Q7Y; Thu, 06 Nov 2025 21:43:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762465397; 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=vP4dH78NxI+HgNpMgH0nrYtHIEyejDuIOnoiTbHm3XQ=; b=dbv9C5g9EKc7mMXjPY1/jvyLnThSiDJ87l9xoi9QdLpVz/xPE392Leml2Xupv0ANUQa40R N9f9OEtug7KDOoEWG0Gq+372OnlsopjenxPRo9RWNqjiPuOQxoEx2vijLYUQR3xedWLTtl 2wUmNgyOTLUJgDqQAt574zA27gfYWt0Wg40XNEZZ0kJ24dDSZfZgdD/mKL1fR3JoVIRo9R VUSNpVtPtFFPRYksQdGj7M9eh03NyfDOcqM0TGgBDLJEz1bgpv8oeiOnwK1gX+tuajQCsS 1jLmgzhRQJZgRHgRS3Py31JGxjKWCBnuHwXkFl/fagQM4E8YjBNdnpfT6ZjccQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762465397; 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=vP4dH78NxI+HgNpMgH0nrYtHIEyejDuIOnoiTbHm3XQ=; b=WYDlWosv8VHwtPPCJTqByR7ltw1jkmmQosCehRS8hzYlraLDUlw8bJdACVvJwTai8yPmBo +8WsxQxeyLg4LkM74DMYz1c+EEo/rVASdLd1aWUr1T66SgDeqE8PdisNSpm5fKTTFYfzpG 1qlixjy1tngdIiFlwz+FozhAZTllI1T8N2ddTbacuABPIGV41klnNi+0iiF/sLJ+aCQa/s 84fjbl4PmAnmzXN9AHj/O1mHsoojvbSrq1ABRpRL6ZeL+mfXCHLGKCkMhFwfbZU2xwPQqn /HZoktLgHyqgVgRGZI/P4cCwi24Cq4AMx5mHfoUIH3hwJh30cEzg9Uet3vRomw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762465397; a=rsa-sha256; cv=none; b=pPFcpvCHmqOuqUq+wYe4WrO9SONx8bRKcAOIIhSxp7y84mImc5RCgWQWpH9hbHlLTpBMDm /pU6nJLjCf6gkfGVviR9RPqOTD33KsGl90uHTzHLsIFodjs+cZOZiF7EtNqZTJDQI5Qtdt /cTFuRx7RdNt31AE9aMoDmyMekqekaOrZVRK/+Q/d+qqQG56Aos87Ngh+JUeUL3OhiTS84 OqQHGs/6D7Zjr5yBD1vVy29EjprtttYx2Q2a7W2yKbrB3aqAaBBv1h1gr8xOJ1mlZFbHKq nKlHwa2xHeCGQaUMH5vGsNLi2Vh3XJEmafkM+6mZPD/8cRqhh6ICtEf3US4MNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4d2bKJ6CYgzXJn; Thu, 06 Nov 2025 21:43:16 +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 5A6LhGUF043049; Thu, 6 Nov 2025 21:43:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5A6LhG5j043046; Thu, 6 Nov 2025 21:43:16 GMT (envelope-from git) Date: Thu, 6 Nov 2025 21:43:16 GMT Message-Id: <202511062143.5A6LhG5j043046@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: 2ec6a2e5f011 - main - iwlwifi: fix the gcc 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: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ec6a2e5f01120ea8d4e667e7773d8b140e40c75 Auto-Submitted: auto-generated The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=2ec6a2e5f01120ea8d4e667e7773d8b140e40c75 commit 2ec6a2e5f01120ea8d4e667e7773d8b140e40c75 Author: Enji Cooper AuthorDate: 2025-11-04 22:52:41 +0000 Commit: Enji Cooper CommitDate: 2025-11-06 21:19:27 +0000 iwlwifi: fix the gcc build - Only apply the previously added CWARNFLAGS to `drv.c` instead of the whole module. - Only apply `-Wno-initializer-overrides` to CWARNFLAGS in the clang scenario as it's not supported with gcc. This fixes building the module with gcc and avoids accidentally introducing tech debt with the module, in the event other issues are accidentally introduced. MFC after: 3 days Fixes: 6b627f8858 ("iwlwifi: update Intel's mvm/mld drivers") Differential Revision: https://reviews.freebsd.org/D53591 --- sys/modules/iwlwifi/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile index 5d4830537a0b..6fe64a611900 100644 --- a/sys/modules/iwlwifi/Makefile +++ b/sys/modules/iwlwifi/Makefile @@ -91,7 +91,7 @@ CFLAGS+= -DCONFIG_IWLWIFI_DEVICE_TRACING=1 #CFLAGS+= -DCONFIG_THERMAL=1 #CFLAGS+= -DCONFIG_EFI=1 -# XXX-BZ how to do this just for pcie/drv.c (and gcc vs. clang)? -CFLAGS += -Wno-override-init -Wno-initializer-overrides +CWARNFLAGS.clang.drv.c+= -Wno-initializer-overrides +CWARNFLAGS.drv.c+= -Wno-override-init ${CWARNFLAGS.${COMPILER_TYPE}.${.IMPSRC:T}} .include