Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653951 > unrolled thread
| Started by | Zhenyu Wang <zhenyuw@linux.intel.com> |
|---|---|
| First post | 2017-05-31 10:10 +0200 |
| Last post | 2017-05-31 10:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] drm/i915/gvt: remove redundant -Wall Zhenyu Wang <zhenyuw@linux.intel.com> - 2017-05-31 10:10 +0200
| From | Zhenyu Wang <zhenyuw@linux.intel.com> |
|---|---|
| Date | 2017-05-31 10:10 +0200 |
| Subject | Re: [PATCH] drm/i915/gvt: remove redundant -Wall |
| Message-ID | <tN6RA-2bM-23@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
On 2017.05.21 00:15:27 -0700, Nick Desaulniers wrote: > 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> > --- > I verified that -Wall was redundant by compiling with V=1: > make V=1 -j4 drivers/gpu/drm/i915/i915_gem_request.o > > drivers/gpu/drm/i915/gvt/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/gvt/Makefile b/drivers/gpu/drm/i915/gvt/Makefile > index b123c20e2097..f5486cb94818 100644 > --- a/drivers/gpu/drm/i915/gvt/Makefile > +++ b/drivers/gpu/drm/i915/gvt/Makefile > @@ -3,6 +3,6 @@ GVT_SOURCE := gvt.o aperture_gm.o handlers.o vgpu.o trace_points.o firmware.o \ > interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \ > execlist.o scheduler.o sched_policy.o render.o cmd_parser.o > > -ccflags-y += -I$(src) -I$(src)/$(GVT_DIR) -Wall > +ccflags-y += -I$(src) -I$(src)/$(GVT_DIR) > i915-y += $(addprefix $(GVT_DIR)/, $(GVT_SOURCE)) > obj-$(CONFIG_DRM_I915_GVT_KVMGT) += $(GVT_DIR)/kvmgt.o > -- Pushed, thanks! -- Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
Back to top | Article view | linux.kernel
csiph-web