[PATCH v2] bootstd: Tidy up reporting of errors

Tom Rini trini at konsulko.com
Sun May 14 17:29:11 CEST 2023


On Wed, May 10, 2023 at 04:34:26PM -0600, Simon Glass wrote:

> In a few cases the error handling is not quite right. Make sure we
> return the actual error in distro_efi_read_bootflow_file() rather than
> -EINVAL. Return -IO when a file cannot be read. Also show the error name
> if available.
> 
> This does not change operation, but does make it easier to diagnose
> problems.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230514/85846d52/attachment.sig>


More information about the U-Boot mailing list