Content-Type: multipart/mixed; boundary="===============5963000745731057893==" MIME-Version: 1.0 From: Steven Rostedt To: kbuild-all@lists.01.org Subject: Re: [PATCH 2/2] tracing: Add a verifier to check string pointers for trace events Date: Fri, 26 Feb 2021 18:35:34 -0500 Message-ID: <20210226183534.667a2e52@gandalf.local.home> In-Reply-To: <202102270525.Q7ZG35uT-lkp@intel.com> List-Id: --===============5963000745731057893== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Sat, 27 Feb 2021 05:22:01 +0800 kernel test robot wrote: > All warnings (new ones prefixed by >>): > = > kernel/trace/trace.c: In function 'trace_check_vprintf': > >> kernel/trace/trace.c:3662:3: warning: function 'trace_check_vprintf' m= ight be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute= =3Dformat] = Nope it wont. It is only called with a variable for the format, which gnu_printf can't do much with. -- Steve > 3662 | trace_seq_vprintf(&iter->seq, iter->fmt, ap); > | ^~~~~~~~~~~~~~~~~ > kernel/trace/trace.c:3699:3: warning: function 'trace_check_vprintf' m= ight be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute= =3Dformat] > 3699 | trace_seq_vprintf(&iter->seq, p, ap); > | ^~~~~~~~~~~~~~~~~ > At top level: --===============5963000745731057893==--