projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4a783
)
x86/efi: Restore 'attr' argument to query_variable_info()
author
Matt Fleming
<matt.fleming@intel.com>
Sun, 16 Mar 2014 17:46:46 +0000
(17:46 +0000)
committer
Matt Fleming
<matt.fleming@intel.com>
Mon, 17 Mar 2014 21:55:04 +0000
(21:55 +0000)
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>
arch/x86/platform/efi/efi_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/platform/efi/efi_64.c
b/arch/x86/platform/efi/efi_64.c
index 7e7f195aa5cfd44387efd21e76f597a524aec9dc..290d397e1dd9125e408a1ee140fe4d3ced51a33d 100644
(file)
--- a/
arch/x86/platform/efi/efi_64.c
+++ b/
arch/x86/platform/efi/efi_64.c
@@
-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;