Behan Webster writes:
> clang warns if inline functions aren't used. By making them __maybe_unused
> there is no warning for either gcc nor clang.
Are you sure about that? I've never seen such behaviour from clang (or
any other compiler), and it would truly be idiotic. If clang has taken
to wa
clang warns if inline functions aren't used. By making them __maybe_unused
there is no warning for either gcc nor clang.
Signed-off-by: Behan Webster
Suggested-by: Arnd Bergmann
Cc: Arnd Bergmann
Cc: "Christopher Li"
---
include/linux/compiler-gcc.h | 12 ++--
1 file changed, 6 insert
2 matches
Mail list logo