diff options
author | Greg Kurz <groug@kaod.org> | 2020-02-12 19:54:06 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-02-21 09:15:04 +1100 |
commit | 7cfb999fe9c80c72f3f76043ce1bf8dee0c020af (patch) | |
tree | 2833b71bf3af88ceef76d7bbd47380647e4ec9b3 /hw/acpi/nvdimm.c | |
parent | 5a205fcf7700abe442b374d76a8c4edea92eecc7 (diff) |
pnv/phb4: Fix error path in pnv_pec_realize()
Obviously, we want to pass &local_err so that we can check it then
line below, not errp.
Reported-by: Coverity CID 1419395 'Constant' variable guards dead code
Fixes: 4f9924c4d4cf "ppc/pnv: Add models for POWER9 PHB4 PCIe Host bridge"
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <158153364605.3229002.2796177658957390343.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/acpi/nvdimm.c')
0 files changed, 0 insertions, 0 deletions