OSDN Git Service

Fix insignificant warnings android-x86-7.1-r1 android-x86-7.1-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 4 Jan 2018 03:33:05 +0000 (11:33 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 4 Jan 2018 03:33:05 +0000 (11:33 +0800)
Android.mk
gralloc_drm_nouveau.c

index e6efe53..c3e779a 100644 (file)
@@ -47,7 +47,7 @@ include $(CLEAR_VARS)
 LOCAL_MODULE := libgralloc_drm
 LOCAL_MODULE_TAGS := optional
 
-LOCAL_CFLAGS := -std=c99
+LOCAL_CFLAGS := -std=c11 -Wno-unused-parameter
 
 LOCAL_SRC_FILES := \
        gralloc_drm.c \
@@ -118,6 +118,7 @@ LOCAL_SHARED_LIBRARIES += \
 LOCAL_MODULE := gralloc.drm
 LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_CFLAGS := -std=c11 -Wno-unused-parameter
 include $(BUILD_SHARED_LIBRARY)
 
 endif # DRM_GPU_DRIVERS
index a6a6f7e..f3ecfd6 100644 (file)
@@ -56,7 +56,7 @@
 // Comment out the following to switch between the "sw_indicator disables all
 // tiling" and "sw_indicator zeroes the tile|surf_flags (object tiling?)".
 // Does the latter even make sense ... ? Going through the kernel on the
-// topic is slightly annoying :\
+// topic is slightly annoying :/
 
 #undef SW_INDICATOR_FULLY_DISABLES_TILING