diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-10-18 15:30:05 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-10-25 13:12:32 +0100 |
commit | 3583ab228a30b7c3fc8dd76ae45af7e25436b587 (patch) | |
tree | b517bd9153600a8ad2a176eaeb5f73091246adcb /arch/arm/mm/Kconfig | |
parent | 20a451f8db4a81f0d94b8fa0bba82d1fc8dbf2d9 (diff) | |
download | linux-3583ab228a30b7c3fc8dd76ae45af7e25436b587.tar.gz linux-3583ab228a30b7c3fc8dd76ae45af7e25436b587.tar.bz2 linux-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/20210322114600.3528031-1-arnd@kernel.org/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mm/Kconfig')
0 files changed, 0 insertions, 0 deletions