Thread (2 messages) 2 messages, 2 authors, 2008-08-21

linux-next: pcmcia tree build warnings

From: Stephen Rothwell <hidden>
Date: 2008-08-20 06:24:20

Hi Dominik,

These are worth fixing:

drivers/pcmcia/ds.c: In function 'pcmcia_devmatch':
drivers/pcmcia/ds.c:962: warning: passing argument 1 of 'dev_driver_string' from incompatible pointer type
drivers/pcmcia/ds.c:962: warning: passing argument 1 of 'dev_name' from incompatible pointer type
drivers/pcmcia/ds.c:969: warning: passing argument 1 of 'dev_driver_string' from incompatible pointer type
drivers/pcmcia/ds.c:969: warning: passing argument 1 of 'dev_name' from incompatible pointer type

You are passing a "struct pcmcia_device *" instead of a "struct device *"
to ds_dev_dbg().  (commit 5e42a2fcae73c08af2ae4d64b25f807708ff6193
"pcmcia: use dev_printk in module pcmcia")

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Attachments

  • (unnamed) [application/pgp-signature] 197 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help