From nobody Tue Jan 24 04:46:34 2023 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 4P1DvZ4tpFz3bG5s; Tue, 24 Jan 2023 04:46: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 4P1DvZ4896z4KnB; Tue, 24 Jan 2023 04:46:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674535594; 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=NbofAEMOAMLKPcjfxj1ViWjsOxs/jvZj8BUfr3WnISk=; b=DvflChWESsp7oNp/ZUiB7CHhsjGZkGSm9FKFYBOsivrLVUOg/OmH0zcCT3QTB5ZwQC75h+ CN9Y/obuy91Vur89kSHOewHyq6qEqXirX2QzBnhfA3/cjuQJp6kX41NlmEVWKahs14zRyU rFSoxepYNOEPZhYEnTSLyfCpsOlcpA2u5GGxd25ABe4u8zfcak8TQNFWHkv29fmexJcEec GKYO9PeML8uXUutFucUMC/sCkHlc3ygbKin15/PMC+DZm1bNPIbM9OVB0MDs8n9ZVqQLy+ R/rLZAYIem/a/dFQnTeGScRFBt6Av9Iez6VD02PM5g+fAOj9zMNY8o5uvw5rAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674535594; 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=NbofAEMOAMLKPcjfxj1ViWjsOxs/jvZj8BUfr3WnISk=; b=SZ6o/qOV8sfVfJEVYykZnO/HYZbepZ5Ppg+aPhfSYuaX41ZfzL1A4wmtlSd+76OB5pWYg5 EQxtR/gVRLFjqVIzdNul6BOyKtWps+LhpY9X5dwklm+W2hlsJplCqGVnsyF2v4iPR4u4K7 uh/vp2pWgxXTdCAkcU3lsPONYB4iuYJnrh0RFLadFpGtAyd95j+AYhg9p43QmIDcu01Eq0 3Yc7KG7eUwecHXXo+2hq6GbPQpgNiEzm2CvIARhvA6VOW31UZHZLYR9RZUI/Nk0NkWjucV 2YlpUYOsq6ed8XxMquBk1INTOSj/KXUjzJj0TegjKs2VxGmrPWXQOaf/r593mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674535594; a=rsa-sha256; cv=none; b=Qo1ekG4Qg2uAZS1hoHc5ZufeHC/MNbFaCAouf+/X43W7xW4yAhDyL8PjyQubFTRYtm4DYL xBJcWshv0kZXUNclRyNb5/AHX53l+UDymZwhvpJc4rtfjNuqtG2o3ZILPq/qCd9mvQBvhh hO88CRJfiuCIt2g7CcoM2UrzRxB3k9tIwJv+WVdP96PrmZiWleq3ArvAFMKMEW1UO0ZVfG Lv4GREhSU2XUw02APN8ivLangvmvEeovJGn0aHaR30jCRptAz3OcyDad1//q4/lkKrJ057 jO+vovBXkrtGL2Hfag71qPWCg3yFX+CKx4A06E8X7Nw913rSh25/4ilppZSh0g== 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 4P1DvZ36C0zwd3; Tue, 24 Jan 2023 04:46:34 +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 30O4kYND076086; Tue, 24 Jan 2023 04:46:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30O4kYu6076085; Tue, 24 Jan 2023 04:46:34 GMT (envelope-from git) Date: Tue, 24 Jan 2023 04:46:34 GMT Message-Id: <202301240446.30O4kYu6076085@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: b9cab0f39cc8 - stable/13 - iwlwifi: Disable -Wformat when building with GCC. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b9cab0f39cc88554bfd6338ee1b1a91227334856 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=b9cab0f39cc88554bfd6338ee1b1a91227334856 commit b9cab0f39cc88554bfd6338ee1b1a91227334856 Author: John Baldwin AuthorDate: 2022-02-03 18:48:18 +0000 Commit: John Baldwin CommitDate: 2023-01-24 04:33:49 +0000 iwlwifi: Disable -Wformat when building with GCC. GCC's -Wformat complains about NULL format strings passed to iwl_fw_dbg_collect_trig (though the function handles NULL format strings). Curious that upstream iwlwifi in Linux is built with GCC and explicitly opts into this warning via the __printf() attribute. Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D34146 (cherry picked from commit 87c5d39f77bc8c38738a6dc200f711f4418c5018) --- sys/modules/iwlwifi/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile index 831fe97847a5..5cf652267354 100644 --- a/sys/modules/iwlwifi/Makefile +++ b/sys/modules/iwlwifi/Makefile @@ -63,4 +63,7 @@ CFLAGS+= -DCONFIG_IWLWIFI_DEVICE_TRACING=1 #CFLAGS+= -DCONFIG_THERMAL=1 #CFLAGS+= -DCONFIG_EFI=1 +# GCC warns about NULL format strings passed to iwl_fw_dbg_collect_trig +CWARNFLAGS.gcc+= -Wno-format + .include