Searched hist:f3885649 (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/test/dm/ |
H A D | core.c | f3885649 Fri Feb 01 09:01:07 CST 2019 Marcel Ziswiler <marcel.ziswiler@toradex.com> dm: device: fail uclass_find_first_device() if list_empty While uclass_find_device() fails with -ENODEV in case of list_empty strangely uclass_find_first_device() returns 0. Fix uclass_find_first_device() to also fail with -ENODEV instead. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
/openbmc/u-boot/drivers/core/ |
H A D | uclass.c | f3885649 Fri Feb 01 09:01:07 CST 2019 Marcel Ziswiler <marcel.ziswiler@toradex.com> dm: device: fail uclass_find_first_device() if list_empty While uclass_find_device() fails with -ENODEV in case of list_empty strangely uclass_find_first_device() returns 0. Fix uclass_find_first_device() to also fail with -ENODEV instead. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|