فهرست منبع

x86: sparse warning in efi.c

Yes, it should.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Harvey Harrison 17 سال پیش
والد
کامیت
ecaea42eb8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      arch/x86/kernel/efi.c

+ 1 - 1
arch/x86/kernel/efi.c

@@ -54,7 +54,7 @@ EXPORT_SYMBOL(efi);
 
 
 struct efi_memory_map memmap;
 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 efi_system_table_t efi_systab __initdata;
 
 
 static int __init setup_noefi(char *arg)
 static int __init setup_noefi(char *arg)