aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBaoquan He <[email protected]>2024-01-07 17:16:41 +0800
committerAndrew Morton <[email protected]>2024-02-22 15:38:51 -0800
commitb73aa539a7789d2366aa7ffa627cede77d6f1c4e (patch)
tree264aee3736d9fa19a92ec66e68e46013a5ca8a6c /tools/perf/scripts/python
parent3911fb647b65f11d42bc97e0890bba8ef7e1e0e6 (diff)
panic: suppress gnu_printf warning
with GCC 13.2.1 and W=1, there's compiling warning like this: kernel/panic.c: In function `__warn': kernel/panic.c:676:17: warning: function `__warn' might be a candidate for `gnu_printf' format attribute [-Wsuggest-attribute=format] 676 | vprintk(args->fmt, args->args); | ^~~~~~~ The normal __printf(x,y) adding can't fix it. So add workaround which disables -Wsuggest-attribute=format to mute it. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Baoquan He <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions