projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a2d73
)
efi: Fix argument types for SetVariable() for ia64
author
Matthew Garrett
<mjg@redhat.com>
Wed, 6 Jul 2011 20:48:49 +0000
(16:48 -0400)
committer
Tony Luck
<tony.luck@intel.com>
Thu, 4 Aug 2011 23:03:50 +0000
(16:03 -0700)
The spec says this takes uint32 for attributes, not uintn.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c
patch
|
blob
|
history
diff --git
a/arch/ia64/kernel/efi.c
b/arch/ia64/kernel/efi.c
index 6fc03aff046c6a133a79d1305aa7b163fd310b70..c38d22e5e902f9764e1963ed7f65638f3a419d10 100644
(file)
--- a/
arch/ia64/kernel/efi.c
+++ b/
arch/ia64/kernel/efi.c
@@
-156,7
+156,7
@@
prefix##_get_next_variable (unsigned long *name_size, efi_char16_t *name, \
#define STUB_SET_VARIABLE(prefix, adjust_arg) \
static efi_status_t \
prefix##_set_variable (efi_char16_t *name, efi_guid_t *vendor, \
- u
nsigned long attr, unsigned long data_size,
\
+ u
32 attr, unsigned long data_size,
\
void *data) \
{ \
struct ia64_fpreg fr[6]; \