On 13 October 2017 at 01:00, Heinrich Schuchardt <[email protected]> wrote:
> When cancelling the timer we should check the return
> value provided by the set_timer service.
>
> Signed-off-by: Heinrich Schuchardt <[email protected]>
> ---
>  lib/efi_selftest/efi_selftest_events.c | 2 +-
>  lib/efi_selftest/efi_selftest_tpl.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Although I favour:

if (ref)

instead of:

if (ret != EFI_SUCCESS)

0 is the standard value for success in U-Boot.

Regards,
Simon
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to