From: Randy Dunlap Date: Wed, 27 Jul 2011 17:11:28 +0000 (-0700) Subject: firmware: fix google/gsmi.c build warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a88769cde24fcef11219cf99193ee558d1028217;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Mike Waychison Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/firmware/google/gsmi.c b/drivers/firmware/google/gsmi.c index 68810fd1a59d..aa83de9db1b9 100644 --- a/drivers/firmware/google/gsmi.c +++ b/drivers/firmware/google/gsmi.c @@ -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) {