Skip to content
Commit 722da9d2 authored by Leif Lindholm's avatar Leif Lindholm Committed by Matt Fleming
Browse files

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: default avatarLeif Lindholm <leif.lindholm@linaro.org>
[ Included sparse warning in commit message. ]
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent 0ce6cda2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment