commit | 4c56440d6754b45c2d82969e029a3c2a72864b30 | [log] [tgz] |
---|---|---|
author | Stefan Weil <sw@weilnetz.de> | Sat Mar 14 16:29:09 2015 +0100 |
committer | Alexander Graf <agraf@suse.de> | Wed Mar 25 22:49:46 2015 +0100 |
tree | 22e7e5b3894236eb6f0fd9e70cfd00348351fdaa | |
parent | 0d2f830255c758240dccbeb732a2c21f4eea995c [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>