netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* macb:
@ 2011-02-16 22:31 Marc Kleine-Budde
  0 siblings, 0 replies; only message in thread
From: Marc Kleine-Budde @ 2011-02-16 22:31 UTC (permalink / raw)
  To: Netdev; +Cc: Nicolas Ferre

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

Hello,

I added type checking[1] to platform_set_drvdata and got the following
warning:

drivers/net/macb.c: In function 'macb_mii_init':
drivers/net/macb.c:263: warning: passing argument 1 of 'platform_set_drvdata' from incompatible pointer type

I'm new to the mii_bus stuff and don't see how to fix it.

regards, Marc

[1] https://lkml.org/lkml/2011/2/16/380
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-16 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 22:31 macb: Marc Kleine-Budde

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).