• Borislav Petkov's avatar
    x86, efi: Fix a build warning · 51f8fbba
    Borislav Petkov authored
    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 cc5a080c ("efi: Pass boot services variable info to runtime
    code").
    Reported-by: default avatarPaul Bolle <pebolle@tiscali.nl>
    Cc: Matthew Garrett <matthew.garrett@nebula.com>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
    51f8fbba
eboot.c 30.1 KB