Opened on 03/01/21 at 21:25:50
Closed on 03/05/21 at 20:20:00
#4279 closed defect (fixed)
pci_cfg_read.c: Missing break in switch error spotted by Coverity
Reported by: | Ryan Long | Owned by: | Ryan Long <ryan.long@…> |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | lib | Version: | 6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
CID 1399723: Missing break in switch in pci_read_addressable().
70 switch (type) { 71 case PCI_RES_IO: 72 range0 = &bus->dev.resources[BRIDGE_RES_IO]; 73 break; CID 1399723 (#1 of 1): Missing break in switch (MISSING_BREAK)unterminated_case: The case for value 3 is not terminated by a break statement. 74 case PCI_RES_MEM: 75 range1 = &bus->dev.resources[BRIDGE_RES_MEM]; fallthrough: The above case falls through to this one. 76 default: 77 case PCI_RES_MEMIO:
Change History (1)
comment:1 Changed on 03/05/21 at 20:20:00 by Ryan Long <ryan.long@…>
Owner: | set to Ryan Long <ryan.long@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 0d33d10/rtems: