]> Git Repo - qemu.git/commitdiff
sm501: Add missing break to case
authorBALATON Zoltan <[email protected]>
Thu, 18 Jan 2018 18:01:19 +0000 (19:01 +0100)
committerDavid Gibson <[email protected]>
Sat, 20 Jan 2018 06:15:05 +0000 (17:15 +1100)
Noticed by Coverity, forgotten in 5690d9ece

Reported-by: Peter Maydell <[email protected]>
Signed-off-by: BALATON Zoltan <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/display/sm501.c

index 4f7dc59b252a9cf2daae0690ff343c31eeff48c0..134cbed607790de7016b1a15fc81164408e4dae8 100644 (file)
@@ -797,6 +797,7 @@ static uint64_t sm501_system_config_read(void *opaque, hwaddr addr,
         break;
     case SM501_COMMAND_LIST_STATUS:
         ret = 0x00180002; /* FIFOs are empty, everything idle */
+        break;
     case SM501_IRQ_MASK:
         ret = s->irq_mask;
         break;
This page took 0.023727 seconds and 4 git commands to generate.