Skip to content

Commit a88769c

Browse files
rddunlapgregkh
authored andcommitted
firmware: fix google/gsmi.c build warning
Modify function parameter type to match expected type. Fixes a build warning: drivers/firmware/google/gsmi.c:473: warning: initialization from incompatible pointer type Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Mike Waychison <mikew@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 322a8b0 commit a88769c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/firmware/google/gsmi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ static efi_status_t gsmi_get_next_variable(unsigned long *name_size,
420420

421421
static efi_status_t gsmi_set_variable(efi_char16_t *name,
422422
efi_guid_t *vendor,
423-
unsigned long attr,
423+
u32 attr,
424424
unsigned long data_size,
425425
void *data)
426426
{

0 commit comments

Comments
 (0)