summaryrefslogtreecommitdiff
path: root/util/inteltool
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2017-03-19 20:12:43 +0100
committerMartin Roth <martinroth@google.com>2017-12-22 16:54:16 +0000
commitceac787a4f5d20ca6b0358bf4dd35f47509b2427 (patch)
treee6292b70c32bf3bcf2adfeaea3e7b49e58705ef5 /util/inteltool
parent7a9520483aad833cb11fadf3ee12decee8d1e521 (diff)
downloadcoreboot-ceac787a4f5d20ca6b0358bf4dd35f47509b2427.tar.xz
inteltool: Add hint for compiler to avoid fall-through warning
Falling through is intended here, so add a comment that GCC will notice and stop warning about this. Change-Id: I12637b6bc18844a3bc47f06208df7fee7a4feb3b Found-by: gcc-7 (Debian 7-20170316-1) 7.0.1 20170316 (experimental) [trunk revision 246203] Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/18906 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Omar Pakker Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/inteltool')
-rw-r--r--util/inteltool/pcie.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/inteltool/pcie.c b/util/inteltool/pcie.c
index 541d9cadc8..78d69feda3 100644
--- a/util/inteltool/pcie.c
+++ b/util/inteltool/pcie.c
@@ -363,6 +363,7 @@ int print_dmibar(struct pci_dev *nb)
case PCI_DEVICE_ID_INTEL_CORE_2ND_GEN_E3:
dmi_registers = sandybridge_dmi_registers;
size = ARRAY_SIZE(sandybridge_dmi_registers);
+ /* fall through */
case PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_D: /* pretty printing not implemented yet */
case PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_M:
case PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_E3: