diff options
author | 2020-10-21 17:18:05 +0200 | |
---|---|---|
committer | 2020-10-26 16:49:12 +0100 | |
commit | 80b4707a2f16e8a018543635ebe31cae53783c72 (patch) | |
tree | 275ae2f9354fd82e959f3dad52112b8ba3554a61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | asm-generic/sembuf: Update architecture related information in comment (diff) | |
download | linux-dev-80b4707a2f16e8a018543635ebe31cae53783c72.tar.xz linux-dev-80b4707a2f16e8a018543635ebe31cae53783c72.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions