Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/i915drm Appease GCC with a kernel sani...



details:   https://anonhg.NetBSD.org/src/rev/7125a44e7b36
branches:  trunk
changeset: 836005:7125a44e7b36
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Sep 21 11:27:13 2018 +0000

description:
Appease GCC with a kernel sanitizer

Add -Wno-maybe-uninitialized for intel_sprite.c that is a false positive.

diffstat:

 sys/external/bsd/drm2/i915drm/files.i915drmkms |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 076f692c82fe -r 7125a44e7b36 sys/external/bsd/drm2/i915drm/files.i915drmkms
--- a/sys/external/bsd/drm2/i915drm/files.i915drmkms    Fri Sep 21 10:59:11 2018 +0000
+++ b/sys/external/bsd/drm2/i915drm/files.i915drmkms    Fri Sep 21 11:27:13 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i915drmkms,v 1.32 2018/08/27 16:06:01 riastradh Exp $
+#      $NetBSD: files.i915drmkms,v 1.33 2018/09/21 11:27:13 kamil Exp $
 
 version        20180827
 
@@ -22,6 +22,8 @@
 makeoptions    i915drmkms      "CWARNFLAGS.i915_drv.c"+="${${ACTIVE_CC} == gcc:? -Wno-override-init :}"
 makeoptions    i915drmkms      "CWARNFLAGS.i915_drv.c"+="${${ACTIVE_CC} == clang:? -Wno-initializer-overrides :}"
 
+makeoptions    i915drmkms      "CWARNFLAGS.intel_sprite.c"+="${${ACTIVE_CC} == gcc:? -Wno-maybe-uninitialized :}"
+
 file   external/bsd/drm2/i915drm/i915_module.c         i915drmkms
 file   external/bsd/drm2/i915drm/i915_pci.c            i915drmkms
 file   external/bsd/drm2/i915drm/intel_gtt.c           i915drmkms



Home | Main Index | Thread Index | Old Index