aboutsummaryrefslogtreecommitdiff
path: root/hw/display/sm501.c
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2018-01-18 19:01:19 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-01-20 17:15:05 +1100
commitcf4969ec35c3502cfe2ffe5a229504607f4a2589 (patch)
tree03175f223452e5312daed903ae74e99a4f8223e7 /hw/display/sm501.c
parentb62b368627ea160d2bfd7886aa690047480036a0 (diff)
downloadqemu-cf4969ec35c3502cfe2ffe5a229504607f4a2589.zip
qemu-cf4969ec35c3502cfe2ffe5a229504607f4a2589.tar.gz
qemu-cf4969ec35c3502cfe2ffe5a229504607f4a2589.tar.bz2
sm501: Add missing break to case
Noticed by Coverity, forgotten in 5690d9ece Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/display/sm501.c')
-rw-r--r--hw/display/sm501.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index 4f7dc59b2..134cbed 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -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;