Commit dbebae5e authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Heinrich Schuchardt

efi_loader: variable: return error for APPEND_WRITE

The current efi_st_variable() doesn't support EFI_VARIABLE_APPEND_WRITE
attiribute for now, and so should return an error.
Signed-off-by: default avatarAKASHI Takahiro <>

Fix typos is commit message.
Add TODO comment.
Reviewed-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <>
Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <>
parent 609b6ba6
......@@ -427,7 +427,9 @@ efi_status_t EFIAPI efi_set_variable(u16 *variable_name,
EFI_ENTRY("\"%ls\" %pUl %x %zu %p", variable_name, vendor, attributes,
data_size, data);
if (!variable_name || !vendor) {
/* TODO: implement APPEND_WRITE */
if (!variable_name || !vendor ||
goto out;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment