[U-Boot] [PATCH 3/3] cmd: sata: add null pointer check for dev
Simon Glass
sjg at chromium.org
Thu Jan 24 20:18:27 UTC 2019
On Fri, 25 Jan 2019 at 03:30, Marcel Ziswiler <marcel at ziswiler.com> wrote:
>
> From: Marcel Ziswiler <marcel.ziswiler at toradex.com>
>
> Calling sata_scan() with a null pointer probably won't make much sense.
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
>
> ---
>
> cmd/sata.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list