]> git.sur5r.net Git - u-boot/commitdiff
dm: pci: Add a 'fall through' comment
authorSimon Glass <sjg@chromium.org>
Fri, 15 Jan 2016 12:23:21 +0000 (05:23 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2016 13:09:42 +0000 (08:09 -0500)
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>
drivers/pci/pci_auto.c

index 842eafc4f8f5e59c9478379ce864c94b51230e72..5cfa135ba6e51d93a92b31d7b6e2904b23f3b85a 100644 (file)
@@ -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,