Skip to content

Commit

Permalink
dell-laptop: Terminate quirks list properly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Nyhus authored and Matthew Garrett committed Apr 17, 2012
1 parent fc1a93b commit d62d421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/dell-laptop.c
Original file line number Diff line number Diff line change
@@ -212,6 +212,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = {
},
.driver_data = &quirk_dell_vostro_v130,
},
{ }
};

static struct calling_interface_buffer *buffer;

0 comments on commit d62d421

Please sign in to comment.