* [PATCH 2/2] net/fec: fix unterminated platform_device_id table [not found] <1298453244.25444.1.camel@mola> @ 2011-02-23 9:28 ` Axel Lin 2011-02-28 20:36 ` David Miller 0 siblings, 1 reply; 2+ messages in thread From: Axel Lin @ 2011-02-23 9:28 UTC (permalink / raw) To: linux-kernel; +Cc: David S. Miller, Uwe Kleine-König, netdev The platform_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/net/fec.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 74798be..f8a81ec 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -74,7 +74,8 @@ static struct platform_device_id fec_devtype[] = { }, { .name = "imx28-fec", .driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_SWAP_FRAME, - } + }, + { } }; static unsigned char macaddr[ETH_ALEN]; -- 1.7.2 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] net/fec: fix unterminated platform_device_id table 2011-02-23 9:28 ` [PATCH 2/2] net/fec: fix unterminated platform_device_id table Axel Lin @ 2011-02-28 20:36 ` David Miller 0 siblings, 0 replies; 2+ messages in thread From: David Miller @ 2011-02-28 20:36 UTC (permalink / raw) To: axel.lin; +Cc: linux-kernel, u.kleine-koenig, netdev From: Axel Lin <axel.lin@gmail.com> Date: Wed, 23 Feb 2011 17:28:46 +0800 > The platform_device_id table is supposed to be zero-terminated. > > Signed-off-by: Axel Lin <axel.lin@gmail.com> Applied, thanks. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-28 20:36 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1298453244.25444.1.camel@mola> 2011-02-23 9:28 ` [PATCH 2/2] net/fec: fix unterminated platform_device_id table Axel Lin 2011-02-28 20:36 ` David Miller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).