diff mbox series

[2/2] Android: disable pointer-arith and enum-conversion

Message ID 20170322190525.16592-2-robh@kernel.org
State New
Headers show
Series [1/2] Android: fix building of modetest and proptest | expand

Commit Message

Rob Herring (Arm) March 22, 2017, 7:05 p.m. UTC
Disable some more warnings from clang. These don't appear to be warnings
worth fixing.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Android.common.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Emil Velikov April 3, 2017, 4:48 p.m. UTC | #1
On 22 March 2017 at 19:05, Rob Herring <robh@kernel.org> wrote:
> Disable some more warnings from clang. These don't appear to be warnings
> worth fixing.
>
Maybe we should, but considering nobody has bothered in a long time
let's go with this for now.
R-b and pushed the series.

-Emil
diff mbox series

Patch

diff --git a/Android.common.mk b/Android.common.mk
index f57b8d378565..35c0f02c213c 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -5,7 +5,9 @@  LOCAL_CFLAGS += \
 
 LOCAL_CFLAGS += \
 	-Wno-unused-parameter \
-	-Wno-missing-field-initializers
+	-Wno-missing-field-initializers \
+	-Wno-pointer-arith \
+	-Wno-enum-conversion
 
 # Quiet down the build system and remove any .h files from the sources
 LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))