projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce6cda
)
x86/efi: Fix config_table_type array termination
author
Leif Lindholm
<leif.lindholm@linaro.org>
Thu, 3 Oct 2013 14:42:37 +0000
(15:42 +0100)
committer
Matt Fleming
<matt.fleming@intel.com>
Fri, 4 Oct 2013 19:04:45 +0000
(20:04 +0100)
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>
arch/x86/platform/efi/efi.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/platform/efi/efi.c
b/arch/x86/platform/efi/efi.c
index fbc1d70188f8fcd017c74961d335c9f50e10d0a2..1d3372ac9c660305466d09973114da0b5c194836 100644
(file)
--- a/
arch/x86/platform/efi/efi.c
+++ b/
arch/x86/platform/efi/efi.c
@@
-71,7
+71,7
@@
static __initdata efi_config_table_type_t arch_tables[] = {
#ifdef CONFIG_X86_UV
{UV_SYSTEM_TABLE_GUID, "UVsystab", &efi.uv_systab},
#endif
- {NULL_GUID, NULL,
0
},
+ {NULL_GUID, NULL,
NULL
},
};
/*
This page took
0.025046 seconds
and
5
git commands to generate.