From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gnuweeb.org (Postfix) with ESMTPS id A24A27E254 for ; Sat, 16 Jul 2022 03:04:45 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A3C38620DB; Sat, 16 Jul 2022 03:04:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CA81C34115; Sat, 16 Jul 2022 03:04:43 +0000 (UTC) Date: Fri, 15 Jul 2022 23:04:41 -0400 From: Steven Rostedt To: kernel test robot Cc: kbuild-all@lists.01.org, Ammar Faizi , GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: Re: [ammarfaizi2-block:rostedt/linux-trace/ftrace/core 30/30] include/linux/cpumask.h:95:42: warning: function 'trace_event_get_offsets_foo_bar' might be a candidate for 'gnu_printf' format attribute Message-ID: <20220715230441.64c89d63@gandalf.local.home> In-Reply-To: <202207160905.GmOfByea-lkp@intel.com> References: <202207160905.GmOfByea-lkp@intel.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: On Sat, 16 Jul 2022 09:09:15 +0800 kernel test robot wrote: > All warnings (new ones prefixed by >>): > > In file included from include/trace/define_trace.h:102, > from samples/trace_events/trace-events-sample.h:608, > from samples/trace_events/trace-events-sample.c:12: > samples/trace_events/./trace-events-sample.h: In function 'trace_event_get_offsets_foo_bar': > >> include/linux/cpumask.h:95:42: warning: function 'trace_event_get_offsets_foo_bar' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] > 95 | #define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask) > | ^~~~~~~ Please quiet the gnu_printf warning. I actually missed a real build issue from the kernel test robot in the last patch set because it was the needle in the gnu_printf haystack :-p That is, after having 10 of these warnings, I missed the one that actually mattered. -- Steve