]> Git Repo - J-u-boot.git/commit
sata: fix sata_Probe return value check
authorTroy Kisky <[email protected]>
Fri, 27 Jul 2018 23:45:26 +0000 (16:45 -0700)
committerTom Rini <[email protected]>
Fri, 10 Aug 2018 14:27:32 +0000 (10:27 -0400)
commit7e83f1d5e819c76d50fc4daee9d4b5348bf3dc0f
tree2aab091303b03c90dfbe81636e3e34bfef475c0a
parent17585e2dc33c23b3ea37daf485ced880c8fea3f8
sata: fix sata_Probe return value check

sata_probe returns 1 for failure, so don't checkout for < 0

fixes: f19f1ecb6025 dm: sata: Support driver model with the 'sata' command

Signed-off-by: Troy Kisky <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
cmd/sata.c
This page took 0.033642 seconds and 4 git commands to generate.