mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
blk_get_device_by_str returns the device number on success. So we must check if the return was negative to determine an error. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Glass <sjg@chromium.org>