]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Mark fall-through switch cases before enabling -Wimplicit-fallthrough
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 5 Jul 2018 14:56:00 +0000 (09:56 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Thu, 12 Jul 2018 21:55:57 +0000 (16:55 -0500)
commitaccdd08d68730e9da49731c7605c9e78791e3a7b
tree191b140d34d6874ec1a06f290700bfe5353e8e5b
parent0d5624e606504772b89d3c3d6b1be740ef176c61
PCI: Mark fall-through switch cases before enabling -Wimplicit-fallthrough

In preparation to enabling -Wimplicit-fallthrough, mark switch cases where
we are expecting to fall through.

Warning level 2 was used: -Wimplicit-fallthrough=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/shpchp_ctrl.c
drivers/pci/pci.c
drivers/pci/quirks.c