Re: linux-next: build warning after merge of the driver-core tree
From: Ilya Yanok <hidden>
Date: 2011-02-21 21:05:20
Also in:
lkml, netdev
From: Ilya Yanok <hidden>
Date: 2011-02-21 21:05:20
Also in:
lkml, netdev
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.