Re: [PATCH] dell-laptop: Terminate quirks list properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
> ---
>  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;
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux