]> git.proxmox.com Git - mirror_qemu.git/commit
pnv/phb3: Add missing break statement
authorGreg Kurz <groug@kaod.org>
Wed, 12 Feb 2020 18:54:12 +0000 (19:54 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Feb 2020 22:15:04 +0000 (09:15 +1100)
commite8ead7d579645a1866813ce563882cad055088b9
tree876ad81f54d1f87dd57fa8715466735c62216f2b
parent7cfb999fe9c80c72f3f76043ce1bf8dee0c020af
pnv/phb3: Add missing break statement

We obviously don't want to print out an error message if addr points to
a valid register.

Reported-by: Coverity CID 1419391 Missing break in switch
Fixes: 9ae1329ee2fe "ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge"
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <158153365202.3229002.11521084761048102466.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/pnv_phb3_pbcq.c