diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2020-11-03 11:49:18 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-11-10 11:03:48 +0000 |
| commit | 0e5dc775736fda574e0df9c4c9a29c92201833fe (patch) | |
| tree | af9287a9b51cf5089da3e5d57aa7ea705caafbd7 /storage-daemon/qemu-storage-daemon.c | |
| parent | 44cbf34975b81ac40e715cd3ee488a114d7b7d29 (diff) | |
| download | focaccia-qemu-0e5dc775736fda574e0df9c4c9a29c92201833fe.tar.gz focaccia-qemu-0e5dc775736fda574e0df9c4c9a29c92201833fe.zip | |
hw/arm/nseries: Check return value from load_image_targphys()
The nseries machines have a codepath that allows them to load a secondary bootloader. This code wasn't checking that the load_image_targphys() succeeded. Check the return value and report the error to the user. While we're in the vicinity, fix the comment style of the comment documenting what this image load is doing. Fixes: Coverity CID 1192904 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201103114918.11807-1-peter.maydell@linaro.org
Diffstat (limited to 'storage-daemon/qemu-storage-daemon.c')
0 files changed, 0 insertions, 0 deletions