public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: swim3: fix unterminated of_device_id table
@ 2011-08-03 11:47 Axel Lin
  2011-08-03 13:03 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-03 11:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Mackerras, Jens Axboe

of_device_id structures need a NULL terminating entry, add it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/block/swim3.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c
index 773bfa7..ae3e167 100644
--- a/drivers/block/swim3.c
+++ b/drivers/block/swim3.c
@@ -1184,6 +1184,7 @@ static struct of_device_id swim3_match[] =
 	{
 	.compatible	= "swim3"
 	},
+	{ /* end of list */ }
 };
 
 static struct macio_driver swim3_driver =
-- 
1.7.4.1




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

* Re: [PATCH] block: swim3: fix unterminated of_device_id table
  2011-08-03 11:47 [PATCH] block: swim3: fix unterminated of_device_id table Axel Lin
@ 2011-08-03 13:03 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2011-08-03 13:03 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel@vger.kernel.org, Paul Mackerras

On 2011-08-03 13:47, Axel Lin wrote:
> of_device_id structures need a NULL terminating entry, add it.

Thanks, added.

-- 
Jens Axboe


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

end of thread, other threads:[~2011-08-03 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 11:47 [PATCH] block: swim3: fix unterminated of_device_id table Axel Lin
2011-08-03 13:03 ` Jens Axboe

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