提交 1eb9a4b8 编写于 作者: M Matthew Garrett 提交者: Tony Luck

efi: Fix argument types for SetVariable() for ia64

The spec says this takes uint32 for attributes, not uintn.
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 f7a2d73f
...@@ -156,7 +156,7 @@ prefix##_get_next_variable (unsigned long *name_size, efi_char16_t *name, \ ...@@ -156,7 +156,7 @@ prefix##_get_next_variable (unsigned long *name_size, efi_char16_t *name, \
#define STUB_SET_VARIABLE(prefix, adjust_arg) \ #define STUB_SET_VARIABLE(prefix, adjust_arg) \
static efi_status_t \ static efi_status_t \
prefix##_set_variable (efi_char16_t *name, efi_guid_t *vendor, \ prefix##_set_variable (efi_char16_t *name, efi_guid_t *vendor, \
unsigned long attr, unsigned long data_size, \ u32 attr, unsigned long data_size, \
void *data) \ void *data) \
{ \ { \
struct ia64_fpreg fr[6]; \ struct ia64_fpreg fr[6]; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册