[U-Boot] [PATCH v2 06/18] efi_selftest: test EFI_DEVICE_PATH_TO_TEXT_PROTOCOL

Simon Glass sjg at chromium.org
Fri Nov 17 14:06:34 UTC 2017


On 12 November 2017 at 07:02, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> Provide a test for the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL protocol.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2
>         no change
> ---
>  lib/efi_selftest/Makefile                  |   3 +
>  lib/efi_selftest/efi_selftest_devicepath.c | 340 +++++++++++++++++++++++++++++
>  2 files changed, 343 insertions(+)
>  create mode 100644 lib/efi_selftest/efi_selftest_devicepath.c

Reviewed-by: Simon Glass <sjg at chromium.org>

I wish we could just use 0 instead of EFI_SUCCESS

and if (!xx) to check for success.

The source code is looking too much like EFI for my liking!

Regards,
Simon


More information about the U-Boot mailing list