diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2025-08-25 18:07:11 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2025-08-26 14:49:42 +0200 |
commit | 80c6c1048625712200ab9cdc665d792b85594e2c (patch) | |
tree | 3f1304f3744ce15e79a2e302ed04a40e7c294b01 /drivers/net/wan/lapbether.c | |
parent | c5e81e672699e0c5557b2b755cc8f7a69aa92bff (diff) |
efi: stmm: Do not return EFI_OUT_OF_RESOURCES on internal errors
When we are low on memory or when the internal API is violated, we
cannot return EFI_OUT_OF_RESOURCES. According to the UEFI standard, that
error code is either related to persistent storage used for the variable
or even not foreseen as possible error (GetVariable e.g.). Use the not
fully accurate but compliant error code EFI_DEVICE_ERROR in those cases.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions