diff options
author | 2020-10-21 17:19:09 +0200 | |
---|---|---|
committer | 2020-10-26 17:00:29 +0100 | |
commit | 6f6573a4044adefbd07f1bd951a2041150e888d7 (patch) | |
tree | 291c3d97663858fe8f44446f99871848dbbf71e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | asm-generic: percpu: avoid Wshadow warning (diff) | |
download | linux-dev-6f6573a4044adefbd07f1bd951a2041150e888d7.tar.xz linux-dev-6f6573a4044adefbd07f1bd951a2041150e888d7.zip |
asm-generic: fix ffs -Wshadow warning
gcc -Wshadow warns about the ffs() definition that has the
same name as the global ffs() built-in:
include/asm-generic/bitops/builtin-ffs.h:13:28: warning: declaration of 'ffs' shadows a built-in function [-Wshadow]
This is annoying because 'make W=2' warns every time this
header gets included.
Change it to use a #define instead, making callers directly
reference the builtin.
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