aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2019-01-14 21:41:36 +0100
committerBjorn Helgaas <bhelgaas@google.com>2019-01-14 16:56:04 -0600
commit1d09d57728fedd7357ee22d407ae8aae6477757f (patch)
treed145bcf28d3ffc49bcde28fef1623da40d41d34a /drivers/pci/quirks.c
parentLinux 5.0-rc1 (diff)
downloadlinux-dev-1d09d57728fedd7357ee22d407ae8aae6477757f.tar.xz
linux-dev-1d09d57728fedd7357ee22d407ae8aae6477757f.zip
PCI: Mark expected switch fall-through
There is a plan to build the kernel with -Wimplicit-fallthrough and these places in the code produced warnings (W=1). Fix them up. Signed-off-by: Mathieu Malaterre <malat@debian.org> [bhelgaas: squash into one patch, drop extra changelog detail] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r--drivers/pci/quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index b0a413f3f7ca..9fabcef345ed 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2138,7 +2138,7 @@ static void quirk_netmos(struct pci_dev *dev)
if (dev->subsystem_vendor == PCI_VENDOR_ID_IBM &&
dev->subsystem_device == 0x0299)
return;
- /* else: fall through */
+ /* else, fall through */
case PCI_DEVICE_ID_NETMOS_9735:
case PCI_DEVICE_ID_NETMOS_9745:
case PCI_DEVICE_ID_NETMOS_9845: