[U-Boot] [PATCH v2 15/24] dm: blk: Use the correct error code for blk_get_device_by_str()

Simon Glass sjg at chromium.org
Sat May 14 21:38:12 CEST 2016


On 1 May 2016 at 13:52, Simon Glass <sjg at chromium.org> wrote:
> Return -EINVAL instead of -1 in this function, to provide a more meaningful
> error.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  disk/part.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list