[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D62C897.5020707@emcraft.com>
Date: Mon, 21 Feb 2011 23:18:31 +0300
From: Ilya Yanok <yanok@...raft.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: Greg KH <greg@...ah.com>, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org,
Marc Kleine-Budde <mkl@...gutronix.de>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: linux-next: build warning after merge of the driver-core tree
Hi Stephen, Greg,
On 21.02.2011 09:02, Stephen Rothwell wrote:
> After merging the driver-core tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/net/dnet.c: In function 'dnet_mii_init':
> drivers/net/dnet.c:340: warning: passing argument 1 of 'platform_set_drvdata' from incompatible pointer type
> include/linux/platform_device.h:138: note: expected 'struct platform_device *' but argument is of type 'struct net_device *'
It's actually a bug in the driver. Thanks for reporting. I'll send the
patch as a follow up.
Regards, Ilya.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists