diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2017-03-19 20:12:43 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-12-22 16:54:16 +0000 |
commit | ceac787a4f5d20ca6b0358bf4dd35f47509b2427 (patch) | |
tree | e6292b70c32bf3bcf2adfeaea3e7b49e58705ef5 | |
parent | 7a9520483aad833cb11fadf3ee12decee8d1e521 (diff) |
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>
-rw-r--r-- | util/inteltool/pcie.c | 1 |
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: |