dell-laptop: Terminate quirks list properly
PATCH 1/1 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 <[email protected]>
--- drivers/platform/x86/dell-laptop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/platform/x86/dell-laptop.c +1 -0
@@ -212,6 +212,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = { }, .driver_data = &quirk_dell_vostro_v130, }, + { } };static struct calling_interface_buffer *buffer;
Signature · 1 line
1.7.7.6
Matthew, did you see this?
Quoted 20 lines · On Thursday 15. March 2012 18:25:48 Martin Nyhus wrote:
Add missing
DMI_NONEentry to end of the quirks list sodmi_check_system()won't read past the end of the list.Signed-off-by Martin Nyhus <[email protected]>--- drivers/platform/x86/dell-laptop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/drivers/platform/x86/dell-laptop.cindex a05fc9c..e6c08ee 100644drivers/platform/x86/dell-laptop.c +1
-0@@ -212,6 +212,7 @@ static struct dmi_system_id __devinitdata dell_quirks[] = { }, .driver_data = &quirk_dell_vostro_v130, }, + { } };static struct calling_interface_buffer *buffer;
Sorry for the hold-up Martin - I've merged this now. Thanks!
Signature · 1 line
Matthew Garrett | [email protected]