]> git.ipfire.org Git - thirdparty/qemu.git/commit
mv64361: Remove extra break from a switch case
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 12 Jul 2021 13:11:01 +0000 (15:11 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 13 Jul 2021 00:12:17 +0000 (10:12 +1000)
commitc785a40179b10ce2d7a4afdb04f63c98d53a1756
tree3aa5482f6af5cae8a72ba1897504faa40f1888c1
parentd01e8dcf2749e3a3bb6e4690492bedd259784ca5
mv64361: Remove extra break from a switch case

The switch case of writing PCI 1 IO base address had an extra break
statement that made part of the code unreachable. This did not cause a
problem as guests ususally leave this register at its default value.

Fixes: dcdf98a9015 ("Add emulation of Marvell MV64361 PPC system
       controller")
Reported-by: Coverity (CID 1458135)
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20210712131259.B705B7456E3@zero.eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/mv64361.c