diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/intel/drm/Makefile | 1 | ||||
-rw-r--r-- | usr/src/uts/intel/i915/Makefile | 1 | ||||
-rw-r--r-- | usr/src/uts/intel/io/i915/i915_irq.c | 1 | ||||
-rw-r--r-- | usr/src/uts/intel/io/i915/intel_hdmi.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/intel/drm/Makefile b/usr/src/uts/intel/drm/Makefile index df5cc64..fb6ad0b 100644 --- a/usr/src/uts/intel/drm/Makefile +++ b/usr/src/uts/intel/drm/Makefile @@ -57,6 +57,7 @@ include $(UTSBASE)/common/io/drm/Makefile.mod CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-unused-but-set-variable # # Define targets diff --git a/usr/src/uts/intel/i915/Makefile b/usr/src/uts/intel/i915/Makefile index ae5cddb..37787fb 100644 --- a/usr/src/uts/intel/i915/Makefile +++ b/usr/src/uts/intel/i915/Makefile @@ -60,6 +60,7 @@ include $(UTSBASE)/intel/io/i915/Makefile.mod CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-unused-but-set-variable CERRWARN += -_gcc=-Wno-override-init # diff --git a/usr/src/uts/intel/io/i915/i915_irq.c b/usr/src/uts/intel/io/i915/i915_irq.c index 323a38f..bcde12a 100644 --- a/usr/src/uts/intel/io/i915/i915_irq.c +++ b/usr/src/uts/intel/io/i915/i915_irq.c @@ -1445,6 +1445,7 @@ static void i915_get_extra_instdone(struct drm_device *dev, break; default: DRM_INFO("Unsupported platform\n"); + /* FALLTHROUGH */ case 7: instdone[0] = I915_READ(GEN7_INSTDONE_1); instdone[1] = I915_READ(GEN7_SC_INSTDONE); diff --git a/usr/src/uts/intel/io/i915/intel_hdmi.c b/usr/src/uts/intel/io/i915/intel_hdmi.c index 5cafe9a..99c665b 100644 --- a/usr/src/uts/intel/io/i915/intel_hdmi.c +++ b/usr/src/uts/intel/io/i915/intel_hdmi.c @@ -1186,6 +1186,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port, case PORT_A: intel_encoder->hpd_pin = HPD_PORT_A; /* Internal port only for eDP. */ + /* FALLTHROUGH */ default: BUG(); } |