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=-7.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gnuweeb.org (Postfix) with ESMTPS id 9B6AC7E328 for ; Tue, 19 Jul 2022 00:38:39 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Stihb7dg; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658191119; x=1689727119; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=Up7OuyzL1uxffaPEzCFfDpiH0h2YQ1ogda6kRT0730k=; b=Stihb7dgQqXWmN9sWguDsBn+UPVpzl6IWufMOnDVs0bOj5sVtsKhkTNd nUTgzY+SZRE89eLo/E0iNvThHi+F0hRkTXEDVUSNPACH8E+DyBx6PYJu8 isTYLRrQbXlbopRijm2JYUyveZYSO+7dD/mmsFLA7G5aJPfRHUmdopzO2 51XNRIML/FFO1O6+MtLJsoxhmVtuMlHsl+grPylhJK6V0qKVhzq2Tskc0 Fy5gDLoHrDf0H08U8aaojtl28dux9QOKzMjWU/umgtsmIpOeN6EEKX3Zt h+SEsIQAHyNfYFzKf8A4tVNzRu4y3gS5OJeyhDIrGSSEnkqSc1yzs2VuV g==; X-IronPort-AV: E=McAfee;i="6400,9594,10412"; a="286369311" X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="286369311" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 17:38:31 -0700 X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="624952914" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.29.121]) ([10.255.29.121]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 17:38:29 -0700 Subject: Re: [kbuild-all] 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 To: Steven Rostedt , kernel test robot Cc: kbuild-all@lists.01.org, Ammar Faizi , GNU/Weeb Mailing List , linux-kernel@vger.kernel.org References: <202207160905.GmOfByea-lkp@intel.com> <20220715230441.64c89d63@gandalf.local.home> From: "Chen, Rong A" Message-ID: Date: Tue, 19 Jul 2022 08:38:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20220715230441.64c89d63@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: On 7/16/2022 11:04 AM, Steven Rostedt wrote: > 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 Hi Steve, Sorry for the noise, we didn't ignore gnu_printf warning in this file, we will ignore all gnu_printf warnings. Best Regards, Rong Chen