aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2025-08-25 16:07:11 +0000
committerArd Biesheuvel <[email protected]>2025-08-26 12:49:42 +0000
commit80c6c1048625712200ab9cdc665d792b85594e2c (patch)
tree3f1304f3744ce15e79a2e302ed04a40e7c294b01 /scripts/lib/kdoc
parentefi: stmm: Fix incorrect buffer allocation method (diff)
downloadkernel-80c6c1048625712200ab9cdc665d792b85594e2c.tar.gz
kernel-80c6c1048625712200ab9cdc665d792b85594e2c.zip
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 <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Acked-by: Sumit Garg <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions