* [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
@ 2011-02-26 15:03 Axel Lin
2011-03-01 11:24 ` Alan Cox
2011-03-11 17:32 ` Matthew Garrett
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-02-26 15:03 UTC (permalink / raw)
To: linux-kernel; +Cc: Durgadoss R, Alan Cox, Matthew Garrett, platform-driver-x86
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/platform/x86/intel_mid_thermal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c
index 1215c30..6c12db5 100644
--- a/drivers/platform/x86/intel_mid_thermal.c
+++ b/drivers/platform/x86/intel_mid_thermal.c
@@ -543,6 +543,7 @@ static int mid_thermal_remove(struct platform_device *pdev)
static const struct platform_device_id therm_id_table[] = {
{ DRIVER_NAME, 1 },
+ { }
};
static struct platform_driver mid_thermal_driver = {
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
2011-02-26 15:03 [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table Axel Lin
@ 2011-03-01 11:24 ` Alan Cox
2011-03-11 17:32 ` Matthew Garrett
1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2011-03-01 11:24 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Durgadoss R, Matthew Garrett, platform-driver-x86
On Sat, 26 Feb 2011 23:03:34 +0800
Axel Lin <axel.lin@gmail.com> wrote:
> The platform_device_id table is supposed to be zero-terminated.
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table
2011-02-26 15:03 [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table Axel Lin
2011-03-01 11:24 ` Alan Cox
@ 2011-03-11 17:32 ` Matthew Garrett
1 sibling, 0 replies; 3+ messages in thread
From: Matthew Garrett @ 2011-03-11 17:32 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Durgadoss R, Alan Cox, platform-driver-x86
Applied, thanks.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-11 17:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 15:03 [PATCH] platform-driver-x86: intel_mid_thermal: fix unterminated platform_device_id table Axel Lin
2011-03-01 11:24 ` Alan Cox
2011-03-11 17:32 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox