[U-Boot] [PATCH 3/3] cmd: sata: add null pointer check for dev