From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by sourceware.org (Postfix) with ESMTPS id 457E1385803D for ; Wed, 27 Apr 2022 13:24:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 457E1385803D X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="264770628" X-IronPort-AV: E=Sophos;i="5.90,293,1643702400"; d="scan'208";a="264770628" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 06:24:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,293,1643702400"; d="scan'208";a="580591131" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga008.jf.intel.com with ESMTP; 27 Apr 2022 06:23:59 -0700 Received: from newjersey.igk.intel.com (newjersey.igk.intel.com [10.102.20.203]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 23RDNvrf030907; Wed, 27 Apr 2022 14:23:57 +0100 From: Alexander Lobakin To: Vincent MAILHOL Cc: Alexander Lobakin , Yury Norov , Andy Shevchenko , Rasmus Villemoes , Nathan Chancellor , Nick Desaulniers , Tom Rix , linux-kernel@vger.kernel.org, Arnd Bergmann , gcc@gcc.gnu.org, Rikard Falkeborn Subject: Re: [PATCH] linux/find: ignore -Wtype-limits to reduce W=2 warnings by 34% tree-wide Date: Wed, 27 Apr 2022 15:21:20 +0200 Message-Id: <20220427132120.3128595-1-alexandr.lobakin@intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: <20220426161658.437466-1-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2022 13:24:07 -0000 From: Vincent MAILHOL Date: Wed, 27 Apr 2022 11:58:58 +0900 > + Alexander Lobakin I was okay even with the previous solution to modify GENMASK_INPUT_CHECK() and this one is fine to me as well. The presense of warnings on W=1 doesn't mean we shouldn't fix W=12 etc. Especially when their rootfs are in headers and blow up the output. Especially when it's 1/3 of all warnings. `make W=12[e] path/to/new/file` is still useful to ensure that we don't add more warnings to the already existing ones. When there are problematic header, it's easier to miss something and impossible to pipe `make W=12e` in a script to do that in an automated manner. Thanks! Acked-by: Alexander Lobakin > > On Wed. 27 Apr 2022 at 05:42, Yury Norov wrote: [...] > Yours sincerely, > Vincent Mailhol Al