diff options
author | Gordon Ross <gwr@racktopsystems.com> | 2022-01-03 12:53:41 -0500 |
---|---|---|
committer | Gordon Ross <Gordon.W.Ross@gmail.com> | 2022-01-06 20:58:10 -0500 |
commit | 19482684dc8245b54588ea7e00361a71a2029bf8 (patch) | |
tree | 9cc2c46ea68c50a6bede703b9cc948328957a194 /usr | |
parent | 46b209bcc88a80ae600e543270a1ea4c803d962b (diff) | |
download | illumos-gfx-drm-master.tar.gz |
Reviewed by: Aurelien Larcher <aurelien.larcher@gmail.com>
Diffstat (limited to 'usr')
-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(); } |