diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 18:53:48 +0300 |
---|---|---|
committer | Dennis Zhou <dennis@kernel.org> | 2020-10-27 02:54:48 +0300 |
commit | 29813a2297910d5c4be08c7b390054f23dd794a5 (patch) | |
tree | 1c23c8937645600e8d5cf2f41394a1800aa057a5 /Documentation/ABI/testing/sysfs-devices-memory | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
download | linux-29813a2297910d5c4be08c7b390054f23dd794a5.tar.xz |
asm-generic: percpu: avoid Wshadow warning
Nesting macros that use the same local variable names causes
warnings when building with "make W=2":
include/asm-generic/percpu.h:117:14: warning: declaration of '__ret' shadows a previous local [-Wshadow]
include/asm-generic/percpu.h:126:14: warning: declaration of '__ret' shadows a previous local [-Wshadow]
These are fairly harmless, but since the warning comes from
a global header, the warning happens every time the headers
are included, which is fairly annoying.
Rename the variables to avoid shadowing and shut up the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-devices-memory')
0 files changed, 0 insertions, 0 deletions