[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] hw/arm/orangepi: check for potential NULL pointer when c
From: |
Peter Maydell |
Subject: |
Re: [PATCH 1/2] hw/arm/orangepi: check for potential NULL pointer when calling blk_is_available |
Date: |
Thu, 26 Mar 2020 20:59:49 +0000 |
On Sun, 22 Mar 2020 at 20:54, Niek Linnenbank <address@hidden> wrote:
>
> 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 <address@hidden>
> Signed-off-by: Niek Linnenbank <address@hidden>
> ---
> hw/arm/orangepi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to target-arm.next, thanks.
-- PMM