Behan Webster <[email protected]> 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 warning about unused inline functions, that's a regression that needs to be addressed in clang, not the kernel. -- Måns Rullgård [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

