Skip to content

Commit

Permalink
x86/efi: Restore 'attr' argument to query_variable_info()
Browse files Browse the repository at this point in the history
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: Matt Fleming <matt.fleming@intel.com>
  • Loading branch information
Matt Fleming committed Mar 17, 2014
1 parent 3f4a783 commit 9a11040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/platform/efi/efi_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ efi_thunk_query_variable_info(u32 attr, u64 *storage_space,
phys_remaining = virt_to_phys(remaining_space);
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);

return status;
Expand Down

0 comments on commit 9a11040

Please sign in to comment.