Commit f19345b51c98bb2bdd54e0275a7a223e91dbd6bb

Authored by Simon Glass
Committed by Tom Rini
1 parent 192bc6948b

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/pci/pci_auto.c
... ... @@ -375,6 +375,7 @@
375 375  
376 376 case PCI_CLASS_PROCESSOR_POWERPC: /* an agent or end-point */
377 377 debug("PCI AutoConfig: Found PowerPC device\n");
  378 + /* fall through */
378 379  
379 380 default:
380 381 dm_pciauto_setup_device(dev, 6, pci_mem, pci_prefetch, pci_io,