]> git.baikalelectronics.ru Git - kernel.git/commit
x86/efi: Fix config_table_type array termination
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 3 Oct 2013 14:42:37 +0000 (15:42 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 4 Oct 2013 19:04:45 +0000 (20:04 +0100)
commit43ef2e61872047f24405f3c2e9f72ac09932b50e
tree1a75946f580dbc5daab91681c3c133296ee20745
parent5e7d2c27b1e36347057a51ca4535c6e68d5ac59e
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>
arch/x86/platform/efi/efi.c