[PATCH 4/5] efi_loader: fix GetInfo and SetInfo
Simon Glass
sjg at chromium.org
Sun Oct 27 16:44:18 CET 2024
On Sat, 26 Oct 2024 at 08:41, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> * Some of our file system drivers cannot report a file size for
> directories. Use a dummy value in this case.
> * For SetInfo the UEFI spec requires to ignore the file size field.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> lib/efi_loader/efi_file.c | 30 ++++++++++++++++++++----------
> 1 file changed, 20 insertions(+), 10 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list