
14 Apr
2021
14 Apr
'21
9:37 p.m.
On Mon, 12 Apr 2021 at 23:53, Sean Anderson sean.anderson@seco.com wrote:
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
Changes in v2:
- New
disk/part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org