Subject: Re: linux-next: pcmcia tree build warnings

From: Dominik Brodowski <[email-masked]>
Date: Thu, 21 Aug 2008 23:16:30 +0200

Hi Stephen,

On Wed, Aug 20, 2008 at 04:24:10PM +1000, Stephen Rothwell wrote:
> 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")

Thanks for noticing those. A patch to fix these issues will be in the next
-next :)

Best,
	Dominik