]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dell-laptop: Terminate quirks list properly
authorMartin Nyhus <martin.nyhus@gmx.com>
Thu, 15 Mar 2012 17:25:48 +0000 (18:25 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:14:37 +0000 (13:14 +0100)
commit d62d421b071b08249361044d8e56c8b5c3ed6aa7 upstream.

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 <martin.nyhus@gmx.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/platform/x86/dell-laptop.c

index 92e42d448e4e2a1595ead429621dfda4a1fe68be..1d3bcce6fbdf208b0a03cdd2573fab7b45d272e0 100644 (file)
@@ -211,6 +211,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = {
                },
                .driver_data = &quirk_dell_vostro_v130,
        },
+       { }
 };
 
 static struct calling_interface_buffer *buffer;