Re: [PATCH AUTOSEL 6.1 07/29] efi: pstore: Return proper errors on UEFI failures

Guilherme G. Piccoli
2024-06-17T15:16:34Z

On 17/06/2024 10:24, Sasha Levin wrote:
> From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
>
> [ Upstream commit 7c23b186ab892088f76a3ad9dbff1685ffe2e832 ]
>
> Right now efi-pstore either returns 0 (success) or -EIO; but we
> do have a function to convert UEFI errors in different standard
> error codes, helping to narrow down potential issues more accurately.
>
> So, let's use this helper here.
>
> Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
> Reviewed-by: Kees Cook <keescook@chromium.org>
> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
> Signed-off-by: Sasha Levin <sashal@kernel.org>

Following Ard's comment for the other releases, let's not backport this one.

Thanks,

Guilherme