summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-15 05:23:21 -0700
committerTom Rini <trini@konsulko.com>2016-01-15 08:09:42 -0500
commitf19345b51c98bb2bdd54e0275a7a223e91dbd6bb (patch)
tree9bbf5d88e863fc96ba073783dc83ca385f58f74b /drivers/pci
parent192bc6948b02ff4168cab16162fffb507946dc2b (diff)
downloadu-boot-f19345b51c98bb2bdd54e0275a7a223e91dbd6bb.tar.gz
u-boot-f19345b51c98bb2bdd54e0275a7a223e91dbd6bb.tar.bz2
u-boot-f19345b51c98bb2bdd54e0275a7a223e91dbd6bb.zip
dm: pci: Add a 'fall through' comment
For this class it is intended to set up the PCI device, so add a comment to indicate this. This avoids a coverity warning. Reported-by: Coverity (CID: 134194) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci_auto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
index 842eafc4f8..5cfa135ba6 100644
--- a/drivers/pci/pci_auto.c
+++ b/drivers/pci/pci_auto.c
@@ -375,6 +375,7 @@ int dm_pciauto_config_device(struct udevice *dev)
case PCI_CLASS_PROCESSOR_POWERPC: /* an agent or end-point */
debug("PCI AutoConfig: Found PowerPC device\n");
+ /* fall through */
default:
dm_pciauto_setup_device(dev, 6, pci_mem, pci_prefetch, pci_io,