Skip to content

Commit

Permalink
firmware: fix google/gsmi.c build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rddunlap authored and gregkh committed Aug 8, 2011
1 parent 322a8b0 commit a88769c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/google/gsmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static efi_status_t gsmi_get_next_variable(unsigned long *name_size,

static efi_status_t gsmi_set_variable(efi_char16_t *name,
efi_guid_t *vendor,
unsigned long attr,
u32 attr,
unsigned long data_size,
void *data)
{
Expand Down

0 comments on commit a88769c

Please sign in to comment.