x86: sparse warning in efi.c
PATCH 1/2 x86: sparse warning in efi.c
arch/x86/kernel/efi.c:57:12: warning: symbol 'efi_phys' was not declared. Should it be static?
Yes, it should.
Signed-off-by Harvey Harrison <[email protected]>
--- arch/x86/kernel/efi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/efi.c +1 -1
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);struct efi_memory_map memmap; -struct efi efi_phys__initdata ; +static struct efi efi_phys__initdata ;static efi_system_table_t efi_systab__initdata ;static int __init setup_noefi (char *arg)
Signature · 1 line
1.5.4.1.1278.gc75be
Thomas Gleixner
AppliedQuoted 5 lines · Harvey Harrison
arch/x86/kernel/efi.c:57:12: warning: symbol 'efi_phys' was not declared. Should it be static?Yes, it should.
Signed-off-by Harvey Harrison <[email protected]>
Applied. Thanks,
tglx