commit | f7a2d73fe75c71941fb0a6b4d8fe7da8144f2c7b | [log] [tgz] |
---|---|---|
author | Matthew Garrett <mjg@redhat.com> | Mon Jun 06 15:36:24 2011 -0400 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Mon Jun 06 13:30:27 2011 -0700 |
tree | 120130e3d73c06b1bf84418be530daeb3a84f820 | |
parent | 59c5f46fbe01a00eedf54a23789634438bb80603 [diff] [blame] |
x86, efi: Fix argument types for SetVariable() The spec says this takes uint32 for attributes, not uintn. Signed-off-by: Matthew Garrett <mjg@redhat.com> Link: http://lkml.kernel.org/r/1307388985-7852-1-git-send-email-mjg@redhat.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 0d3a4fa..f4f6de9 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c
@@ -122,7 +122,7 @@ static efi_status_t virt_efi_set_variable(efi_char16_t *name, efi_guid_t *vendor, - unsigned long attr, + u32 attr, unsigned long data_size, void *data) {