Skip to content

Commit c95b31e

Browse files
committed
14368 make debug fails with gcc7
1 parent 46b209b commit c95b31e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

usr/src/uts/intel/drm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ include $(UTSBASE)/common/io/drm/Makefile.mod
5757
CERRWARN += -_gcc=-Wno-parentheses
5858
CERRWARN += -_gcc=-Wno-unused-function
5959
CERRWARN += -_gcc=-Wno-unused-variable
60+
CERRWARN += -_gcc=-Wno-unused-but-set-variable
6061

6162
#
6263
# Define targets

usr/src/uts/intel/i915/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ include $(UTSBASE)/intel/io/i915/Makefile.mod
6060
CERRWARN += -_gcc=-Wno-parentheses
6161
CERRWARN += -_gcc=-Wno-unused-function
6262
CERRWARN += -_gcc=-Wno-unused-variable
63+
CERRWARN += -_gcc=-Wno-unused-but-set-variable
6364
CERRWARN += -_gcc=-Wno-override-init
6465

6566
#

usr/src/uts/intel/io/i915/i915_irq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ static void i915_get_extra_instdone(struct drm_device *dev,
14451445
break;
14461446
default:
14471447
DRM_INFO("Unsupported platform\n");
1448+
/* FALLTHROUGH */
14481449
case 7:
14491450
instdone[0] = I915_READ(GEN7_INSTDONE_1);
14501451
instdone[1] = I915_READ(GEN7_SC_INSTDONE);

usr/src/uts/intel/io/i915/intel_hdmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,
11861186
case PORT_A:
11871187
intel_encoder->hpd_pin = HPD_PORT_A;
11881188
/* Internal port only for eDP. */
1189+
/* FALLTHROUGH */
11891190
default:
11901191
BUG();
11911192
}

0 commit comments

Comments
 (0)