diff options
| author | Stefan Weil | 2015-03-14 16:29:09 +0100 |
|---|---|---|
| committer | Alexander Graf | 2015-03-25 22:49:46 +0100 |
| commit | 4c56440d6754b45c2d82969e029a3c2a72864b30 (patch) | |
| tree | 22e7e5b3894236eb6f0fd9e70cfd00348351fdaa /scripts/switch-timer-api | |
| parent | pseries: Update SLOF firmware image to qemu-slof-20150313 (diff) | |
| download | qemu-4c56440d6754b45c2d82969e029a3c2a72864b30.tar.gz qemu-4c56440d6754b45c2d82969e029a3c2a72864b30.tar.xz qemu-4c56440d6754b45c2d82969e029a3c2a72864b30.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
