Home
last modified time | relevance | path

Searched hist:"0 e5dc775" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/arm/
H A Dnseries.c0e5dc775 Tue Nov 03 05:49:18 CST 2020 Peter Maydell <peter.maydell@linaro.org> 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