mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 15:18:15 +00:00
x86/efi: Fix config_table_type array termination
Incorrect use of 0 in terminating entry of arch_tables[] causes the following sparse warning, arch/x86/platform/efi/efi.c:74:27: sparse: Using plain integer as NULL pointer Replace with NULL. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> [ Included sparse warning in commit message. ] Signed-off-by: Matt Fleming <matt.fleming@intel.com>
This commit is contained in:
parent
0ce6cda2c7
commit
722da9d20e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ static __initdata efi_config_table_type_t arch_tables[] = {
|
||||||
#ifdef CONFIG_X86_UV
|
#ifdef CONFIG_X86_UV
|
||||||
{UV_SYSTEM_TABLE_GUID, "UVsystab", &efi.uv_systab},
|
{UV_SYSTEM_TABLE_GUID, "UVsystab", &efi.uv_systab},
|
||||||
#endif
|
#endif
|
||||||
{NULL_GUID, NULL, 0},
|
{NULL_GUID, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue