WSL2-Linux-Kernel/include/asm-generic/bitops
Arnd Bergmann 6f6573a404 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>
2020-10-26 17:00:29 +01:00
..
__ffs.h
__fls.h
arch_hweight.h
atomic.h
builtin-__ffs.h
builtin-__fls.h
builtin-ffs.h asm-generic: fix ffs -Wshadow warning 2020-10-26 17:00:29 +01:00
builtin-fls.h
const_hweight.h
ext2-atomic-setbit.h
ext2-atomic.h
ffs.h
ffz.h
find.h
fls.h
fls64.h
hweight.h
instrumented-atomic.h asm-generic/bitops: Use instrument_read_write() where appropriate 2020-08-24 15:09:59 -07:00
instrumented-lock.h asm-generic/bitops: Use instrument_read_write() where appropriate 2020-08-24 15:09:59 -07:00
instrumented-non-atomic.h bitops, kcsan: Partially revert instrumentation for non-atomic bitops 2020-08-24 15:10:24 -07:00
le.h
lock.h
non-atomic.h
sched.h