Skip to content
Commit b3860bfe authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Tom Rini
Browse files

cmd: sata: add null pointer check for dev



Calling sata_scan() with a null pointer probably won't make much sense.

Signed-off-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent f3885649
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment