From: Simon Glass Date: Fri, 15 Jan 2016 12:23:21 +0000 (-0700) Subject: dm: pci: Add a 'fall through' comment X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=f19345b51c98bb2bdd54e0275a7a223e91dbd6bb;p=u-boot.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,