From nobody Thu Feb 3 18:48:36 2022 X-Original-To: dev-commits-src-main@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 B1273198BD55; Thu, 3 Feb 2022 18:48:36 +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 4JqSP03yxLz4bG1; Thu, 3 Feb 2022 18:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643914116; 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=dsyG3Y0rGf87mj1IayBhV2yiEWXnJEv0OBb2N2T6jP4=; b=Qq609Jo9iXC6S++mhzOc6tBVxb2jkqE+AOXzg6K96jY3H9CavEYe40s2YI2RQuhaE6mWYU vHoAg1e6vP0h5N/E2Wk2HPKo5BvwKiYBrY1ZBN5XRKE8N6IDljEtGPZcxWUwvlemossfkk yHIw9XpdpFNbkQSxgIDSK5wh+vKcMRhLNiiMoAWgDby00LZyu8d0vEh2X3XNP6YANu7OTW zl7Pz6PkxqDQKqZvm359ZNRvAVR4jOAwsTA4vFadDmsjl91v3V3RHXPWgAWwhUE04YR2Nc ZJuU9scxlQT+qOrdcsuPaGO/Dc5dVoV1CcQ1zC0L8pHjFJRjJmvee70YDOzDgg== 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 5E2FF1D50D; Thu, 3 Feb 2022 18:48:36 +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 213ImabJ074262; Thu, 3 Feb 2022 18:48:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 213ImaXu074261; Thu, 3 Feb 2022 18:48:36 GMT (envelope-from git) Date: Thu, 3 Feb 2022 18:48:36 GMT Message-Id: <202202031848.213ImaXu074261@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 87c5d39f77bc - main - iwlwifi: Disable -Wformat when building with GCC. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 87c5d39f77bc8c38738a6dc200f711f4418c5018 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643914116; 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=dsyG3Y0rGf87mj1IayBhV2yiEWXnJEv0OBb2N2T6jP4=; b=m6Zx06EL9Zyo2XUUjauOZssifUXwgXeC/WqCcMbkAu3PrWVEFEBrFqMFQFisSe/guZNWMY rZK1rmBXL+vyD9xP/X6MeYzapQ+YRadWujwjke/+0R3wgpcGwAv4oGEVXYP7BLE7NSnscl xycAb1B44X8lqDFpsSHQDbGv8nwSalvXjTlNMxdlpVsPMphqF93HGN3ITdw4j8X2Dxnal1 HL7O2LjHYwkbhSyGTcoPulLS/r+4L6qV3dFZfYfus9njPt90fjE3r70BFcXaRdoIP8V3sw BxL3ma51alZMlxMl1D1qsYp8cgr8tB7AlbthhJb15+Wpwzo12t1PJbU9xgPRmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643914116; a=rsa-sha256; cv=none; b=G2L6z4TWq9vUohnITxsmuzk88eNb2sIKVcrTVayhvWxdMC44ArNGQKtAcg7BWYHGCkzOWQ poLpii/2ZsGDQ1ZzGfWBqjrpqU8VP1gniAp95VXnR3HQcZ7LZaqR5twXro4J5lUe2e8Deb m+xB/ImwKoaYgZeb4WoHXY8WPlsIhKFfVyPqgcTTVovAG+MqnpVkJDdsXh7OC2VMrpoYXF 9Trk7jUmLq+SRQcIxNJ0tCauXGRWJaN+/36NOxVNohh5xZwIMBylQwQHqyov6EdsBMhEeu dg3MkXsll1/Qul3KTTYKiSLHnqmp/cGAhrJc6Z7xtkytpT6U1Yu7XHUfPMY4dA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=87c5d39f77bc8c38738a6dc200f711f4418c5018 commit 87c5d39f77bc8c38738a6dc200f711f4418c5018 Author: John Baldwin AuthorDate: 2022-02-03 18:48:18 +0000 Commit: John Baldwin CommitDate: 2022-02-03 18:48:18 +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 --- sys/modules/iwlwifi/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile index 9eadae0bbbc1..cbf03bf2ee48 100644 --- a/sys/modules/iwlwifi/Makefile +++ b/sys/modules/iwlwifi/Makefile @@ -57,4 +57,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