Commit 9a11040f authored by Matt Fleming's avatar Matt Fleming

x86/efi: Restore 'attr' argument to query_variable_info()

In the thunk patches the 'attr' argument was dropped to
query_variable_info(). Restore it otherwise the firmware will return
EFI_INVALID_PARAMETER.
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 3f4a7836
...@@ -567,7 +567,7 @@ efi_thunk_query_variable_info(u32 attr, u64 *storage_space, ...@@ -567,7 +567,7 @@ efi_thunk_query_variable_info(u32 attr, u64 *storage_space,
phys_remaining = virt_to_phys(remaining_space); phys_remaining = virt_to_phys(remaining_space);
phys_max = virt_to_phys(max_variable_size); phys_max = virt_to_phys(max_variable_size);
status = efi_thunk(query_variable_info, phys_storage, status = efi_thunk(query_variable_info, attr, phys_storage,
phys_remaining, phys_max); phys_remaining, phys_max);
return status; return status;
......
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