]> git.baikalelectronics.ru Git - kernel.git/commit
x86, efi: Fix a build warning
authorBorislav Petkov <bp@suse.de>
Wed, 24 Apr 2013 10:09:14 +0000 (12:09 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 24 Apr 2013 10:57:15 +0000 (11:57 +0100)
commitd0b5788c4bc618cef5c0171ef93d0c6e83dc35c2
tree67a229f48e319a5f7a5c5f93b6d3179b14d10ab4
parent72ce229b4617e3712dad73d8c3136952d7443e35
x86, efi: Fix a build warning

Fix this:

arch/x86/boot/compressed/eboot.c: In function ‘setup_efi_vars’:
arch/x86/boot/compressed/eboot.c:269:2: warning: passing argument 1 of ‘efi_call_phys’ makes pointer from integer without a cast [enabled by default]
In file included from arch/x86/boot/compressed/eboot.c:12:0:
/w/kernel/linux/arch/x86/include/asm/efi.h:8:33: note: expected ‘void *’ but argument is of type ‘long unsigned int’

after ca95a856b7c4 ("efi: Pass boot services variable info to runtime
code").

Reported-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/compressed/eboot.c