X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH] dell-laptop: Terminate quirks list properly
@ 2012-03-15 17:25 Martin Nyhus
  2012-04-09 19:49 ` Martin Nyhus
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Nyhus @ 2012-03-15 17:25 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: platform-driver-x86, AceLan Kao, Martin Nyhus

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>
---
 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.7.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dell-laptop: Terminate quirks list properly
  2012-03-15 17:25 [PATCH] dell-laptop: Terminate quirks list properly Martin Nyhus
@ 2012-04-09 19:49 ` Martin Nyhus
  2012-04-17 13:29   ` Matthew Garrett
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Nyhus @ 2012-04-09 19:49 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: platform-driver-x86

Matthew, did you see this?

On Thursday 15. March 2012 18:25:48 Martin Nyhus wrote:
> 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>
> ---
>  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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dell-laptop: Terminate quirks list properly
  2012-04-09 19:49 ` Martin Nyhus
@ 2012-04-17 13:29   ` Matthew Garrett
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2012-04-17 13:29 UTC (permalink / raw)
  To: Martin Nyhus; +Cc: platform-driver-x86

Sorry for the hold-up Martin - I've merged this now. Thanks!

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-17 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 17:25 [PATCH] dell-laptop: Terminate quirks list properly Martin Nyhus
2012-04-09 19:49 ` Martin Nyhus
2012-04-17 13:29   ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox