diff options
| author | Arnd Bergmann <[email protected]> | 2021-10-18 14:30:05 +0000 |
|---|---|---|
| committer | Russell King (Oracle) <[email protected]> | 2021-10-25 12:12:32 +0000 |
| commit | 3583ab228a30b7c3fc8dd76ae45af7e25436b587 (patch) | |
| tree | b517bd9153600a8ad2a176eaeb5f73091246adcb /scripts/gcc-plugins | |
| parent | ARM: 9101/1: sa1100/assabet: convert LEDs to gpiod APIs (diff) | |
| download | kernel-3583ab228a30b7c3fc8dd76ae45af7e25436b587.tar.gz kernel-3583ab228a30b7c3fc8dd76ae45af7e25436b587.zip | |
ARM: 9135/1: kprobes: address gcc -Wempty-body warning
Building with 'make W=1' shows a warning in some configurations
when 'verbose()' is defined to be empty.
arch/arm/probes/kprobes/test-core.c: In function 'kprobes_test_case_start':
arch/arm/probes/kprobes/test-core.c:1367:26: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]
1367 | current_instruction);
| ^
Change the definition of verbose() to use no_printk(), allowing format
string checking and avoiding the warning.
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
