diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-21 17:18:05 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 16:49:12 +0100 |
commit | 80b4707a2f16e8a018543635ebe31cae53783c72 (patch) | |
tree | 275ae2f9354fd82e959f3dad52112b8ba3554a61 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2a45a08a5bcfb97a211c5064e81cbbbabbc32e7a (diff) |
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/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions