diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-21 18:18:05 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 18:49:12 +0300 |
commit | 80b4707a2f16e8a018543635ebe31cae53783c72 (patch) | |
tree | 275ae2f9354fd82e959f3dad52112b8ba3554a61 /tools/perf/scripts/python/stackcollapse.py | |
parent | 2a45a08a5bcfb97a211c5064e81cbbbabbc32e7a (diff) | |
download | linux-80b4707a2f16e8a018543635ebe31cae53783c72.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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions