Skip to contentSkip to conversation

x86: sparse warning in efi.c

PATCH In review Harvey Harrison 1 participant 1 message Feb 7, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 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.

---
 arch/x86/kernel/efi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/efi.c +1 -1
index 32dd62b..43022d6 100644
@@ -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.1189.g38fd5