Skip to content
Commit a1fdbe5a authored by Greg Hackmann's avatar Greg Hackmann Committed by Adam Lawson
Browse files

ANDROID: Kbuild, LLVMLinux: disable clang -Wpointer-bool-conversion



clang warns when converting the address of an array or function to
boolean, since it can never be NULL.  The kernel relies on gcc silently
optimizing these checks away, like when dealing with cpumask_var_t
(which can be either a pointer or an array object, depending on the
value of CONFIG_CPUMASK_OFFSTACK).

Change-Id: I322568a6e467d7278f065503f37dd1dddd340ef4
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>
Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
Signed-off-by: default avatarkhusika <khusikadhamar@gmail.com>
parent d8765885
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment