6f6573a404
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> |
||
---|---|---|
.. | ||
__ffs.h | ||
__fls.h | ||
arch_hweight.h | ||
atomic.h | ||
builtin-__ffs.h | ||
builtin-__fls.h | ||
builtin-ffs.h | ||
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 | ||
instrumented-lock.h | ||
instrumented-non-atomic.h | ||
le.h | ||
lock.h | ||
non-atomic.h | ||
sched.h |