Niek Linnenbank c251191eae hw/arm/orangepi: check for potential NULL pointer when calling blk_is_available
The Orange Pi PC initialization function needs to verify that the SD card
block backend is usable before calling the Boot ROM setup routine. When
calling blk_is_available() the input parameter should not be NULL.
This commit ensures that blk_is_available is only called with non-NULL input.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20200322205439.15231-1-nieklinnenbank@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-03-30 13:18:58 +01:00
..
2020-02-19 16:49:54 +00:00
2020-02-19 16:49:54 +00:00
2020-03-17 18:33:05 +00:00
2020-03-17 18:33:05 +00:00
2020-02-19 16:49:54 +00:00
2020-03-17 11:23:14 +00:00
2020-02-19 16:49:55 +00:00
2019-08-16 13:31:53 +02:00
2020-02-19 16:49:55 +00:00
2020-02-19 16:49:55 +00:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2020-02-19 16:49:56 +00:00
2020-01-07 17:24:29 +04:00
2020-01-07 17:24:29 +04:00
2019-09-03 11:26:55 -03:00
2020-02-19 16:49:56 +00:00
2020-03-05 12:18:16 -05:00
2020-02-19 16:49:56 +00:00