aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/cpu-models.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-03-14 16:29:09 +0100
committerAlexander Graf <agraf@suse.de>2015-03-25 22:49:46 +0100
commit4c56440d6754b45c2d82969e029a3c2a72864b30 (patch)
tree22e7e5b3894236eb6f0fd9e70cfd00348351fdaa /target-ppc/cpu-models.c
parent0d2f830255c758240dccbeb732a2c21f4eea995c (diff)
spapr: Add missing checks for NULL pointers and report failures
This fixes potential runtime crashes and two warnings from Coverity. The new error message does not add a prefix "qemu:" because that is already done in function hw_error. It also starts with an uppercase letter because that seems to be the mostly used form. Signed-off-by: Stefan Weil <sw@weilnetz.de> [agraf: fix typo] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu-models.c')
0 files changed, 0 insertions, 0 deletions