diff options
| author | John Ogness <[email protected]> | 2021-09-27 14:22:03 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2021-10-04 08:35:13 +0000 |
| commit | 264a750472ea5bbc3abca23c16ee2a7501119a8d (patch) | |
| tree | ab725e6bf7b130f3d70b9ab3a6ceed3caf192594 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | printk: avoid -Wsometimes-uninitialized warning (diff) | |
| download | kernel-264a750472ea5bbc3abca23c16ee2a7501119a8d.tar.gz kernel-264a750472ea5bbc3abca23c16ee2a7501119a8d.zip | |
printk: use gnu_printf format attribute for printk_sprint()
Fix the following W=1 kernel build warning:
kernel/printk/printk.c: In function 'printk_sprint':
kernel/printk/printk.c:1913:9: warning: function 'printk_sprint' might be
a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
Reported-by: kernel test robot <[email protected]>
Signed-off-by: John Ogness <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
