[U-Boot] [PATCH 1/3] dm: pci: Add a 'fall through' comment
Simon Glass
sjg at chromium.org
Fri Jan 15 13:23:21 CET 2016
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: Tom Rini <trini at konsulko.com>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/pci/pci_auto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
index 842eafc..5cfa135 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,
--
2.6.0.rc2.230.g3dd15c0
More information about the U-Boot
mailing list