From: Simon Glass Date: Fri, 15 Jan 2016 12:23:21 +0000 (-0700) Subject: dm: pci: Add a 'fall through' comment X-Git-Tag: KARO-TXSD-2017-03-15~2293 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f19345b51c98bb2bdd54e0275a7a223e91dbd6bb;p=karo-tx-uboot.git 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 Reviewed-by: Tom Rini --- 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,