]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: remove redundant -Wall
authorNick Desaulniers <nick.desaulniers@gmail.com>
Sun, 21 May 2017 07:15:27 +0000 (00:15 -0700)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:18 +0000 (13:59 +0800)
commit89009b7746fa66634061a7e76f881b7ea344d26d
tree9f989be643441f1dd1ef2de4c070dbf52898f1f0
parenta1dcba905817f97a4086392276334dce0f6faea7
drm/i915/gvt: remove redundant -Wall

This flag is already set in the top level Makefile of the kernel.

Also, by having set CONFIG_DRM_I915_GVT, thereby appending -Wall to
ccflags, you undo all the -Wno-* cflags previously set in the Make
variable KBUILD_CFLAGS.

For example:

cc foo.c -Wall -Wno-format -Wall

resets -Wformat.

Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/Makefile