From: Martin Nyhus Date: Thu, 15 Mar 2012 17:25:48 +0000 (+0100) Subject: dell-laptop: Terminate quirks list properly X-Git-Tag: v3.4-rc5~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d62d421b071b08249361044d8e56c8b5c3ed6aa7;p=thirdparty%2Fkernel%2Flinux.git dell-laptop: Terminate quirks list properly Add missing DMI_NONE entry to end of the quirks list so dmi_check_system() won't read past the end of the list. Signed-off-by: Martin Nyhus Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index a05fc9c955d86..e6c08ee8d46c0 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -212,6 +212,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = { }, .driver_data = &quirk_dell_vostro_v130, }, + { } }; static struct calling_interface_buffer *buffer;