From: Martin Nyhus <[email protected]> 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]> Signed-off-by: Matthew Garrett <[email protected]> --- Upstream commit d62d421b071b08249361044d8e56c8b5c3ed6aa7. Fixes a crash, seen and reported on kernel.org: http://lkml.indiana.edu/hypermail/linux/kernel/1204.3/02640.html introduced by upstream commit 2a748853ca395c48ea75baa250f7cea6f0f23dbf. Please apply to 3.2 and 3.3. drivers/platform/x86/dell-laptop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index a05fc9c..e6c08ee 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; -- 1.7.9.48.g85da4d -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
