Re: linux-next: usb tree build warnings

From: Greg KH
Date: Mon Aug 10 2009 - 20:02:39 EST


On Mon, Aug 10, 2009 at 07:36:53PM +1000, Stephen Rothwell wrote:
> Hi Greg,
>
> Today's linux-next build (x86_64 allmodconfig) produced these warnings:
>
> In file included from drivers/usb/host/isp1362-hcd.c:100:
> drivers/usb/host/isp1362.h: In function 'ALIGNSTAT':
> drivers/usb/host/isp1362.h:583: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362.h: In function 'isp1362_write_fifo':
> drivers/usb/host/isp1362.h:773: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362.h: In function 'isp1362_read_buffer':
> drivers/usb/host/isp1362.h:965: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362.h: In function 'isp1362_write_buffer':
> drivers/usb/host/isp1362.h:985: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362-hcd.c: In function 'isp1362_irq':
> drivers/usb/host/isp1362-hcd.c:1079: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
> drivers/usb/host/isp1362-hcd.c:1091: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'
> drivers/usb/host/isp1362-hcd.c: In function 'isp1362_mem_config':
> drivers/usb/host/isp1362-hcd.c:2283: warning: format '%3u' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
> drivers/usb/host/isp1362-hcd.c:2286: warning: format '%3u' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
> drivers/usb/host/isp1362-hcd.c: In function 'isp1362_remove':
> drivers/usb/host/isp1362-hcd.c:2676: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362-hcd.c:2680: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362-hcd.c: In function 'isp1362_probe':
> drivers/usb/host/isp1362-hcd.c:2809: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362-hcd.c:2812: warning: cast from pointer to integer of different size
> drivers/usb/host/isp1362-hcd.c:2818: warning: cast from pointer to integer of different size
>
> Introduced by commit 994857f5ead1a4f1d9152c5bbd6e63c2ec2d2b55 ("USB: NXP
> ISP1362 USB host driver").

Ick, thanks, I'll look into this.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/