linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: usb tree build warnings
@ 2009-04-29  6:39 Stephen Rothwell
  2009-04-29 17:51 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2009-04-29  6:39 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, Sarah Sharp

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

Hi Greg,

Today's linux-next build (x86_64 allmodconfig) produced these warnings:

In file included from drivers/usb/host/xhci-mem.c:27:
drivers/usb/host/xhci.h: In function 'xhci_writel':
drivers/usb/host/xhci.h:1083: warning: passing argument 1 of 'xhci_to_hcd' discards qualifiers from pointer target type
drivers/usb/host/xhci.h:1083: warning: passing argument 1 of 'xhci_to_hcd' discards qualifiers from pointer target type
drivers/usb/host/xhci.h:1083: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c: In function 'xhci_segment_alloc':
drivers/usb/host/xhci-mem.c:43: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:51: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c: In function 'xhci_segment_free':
drivers/usb/host/xhci-mem.c:66: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:72: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c: In function 'xhci_link_segments':
drivers/usb/host/xhci-mem.c:101: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c:101: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c: In function 'xhci_ring_free':
drivers/usb/host/xhci-mem.c:115: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c: In function 'xhci_ring_alloc':
drivers/usb/host/xhci-mem.c:140: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:171: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c: In function 'xhci_alloc_virt_device':
drivers/usb/host/xhci-mem.c:245: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c:253: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c:269: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:269: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c: In function 'xhci_setup_addressable_virt_dev':
drivers/usb/host/xhci-mem.c:342: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c: In function 'xhci_mem_init':
drivers/usb/host/xhci-mem.c:646: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:646: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c:671: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:708: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c:713: warning: cast from pointer to integer of different size
drivers/usb/host/xhci-mem.c:713: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'dma_addr_t'
drivers/usb/host/xhci-mem.c:738: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'

There were quite a few more in the xhci code as well.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: usb tree build warnings
  2009-04-29  6:39 linux-next: usb tree build warnings Stephen Rothwell
@ 2009-04-29 17:51 ` Greg KH
  2009-04-30  3:26   ` Stephen Rothwell
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2009-04-29 17:51 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Sarah Sharp

On Wed, Apr 29, 2009 at 04:39:49PM +1000, Stephen Rothwell wrote:
> Hi Greg,
> 
> Today's linux-next build (x86_64 allmodconfig) produced these warnings:
> 
> In file included from drivers/usb/host/xhci-mem.c:27:
> drivers/usb/host/xhci.h: In function 'xhci_writel':
> drivers/usb/host/xhci.h:1083: warning: passing argument 1 of 'xhci_to_hcd' discards qualifiers from pointer target type
> drivers/usb/host/xhci.h:1083: warning: passing argument 1 of 'xhci_to_hcd' discards qualifiers from pointer target type
> drivers/usb/host/xhci.h:1083: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c: In function 'xhci_segment_alloc':
> drivers/usb/host/xhci-mem.c:43: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:51: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c: In function 'xhci_segment_free':
> drivers/usb/host/xhci-mem.c:66: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:72: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c: In function 'xhci_link_segments':
> drivers/usb/host/xhci-mem.c:101: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c:101: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c: In function 'xhci_ring_free':
> drivers/usb/host/xhci-mem.c:115: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c: In function 'xhci_ring_alloc':
> drivers/usb/host/xhci-mem.c:140: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:171: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c: In function 'xhci_alloc_virt_device':
> drivers/usb/host/xhci-mem.c:245: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c:253: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c:269: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:269: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c: In function 'xhci_setup_addressable_virt_dev':
> drivers/usb/host/xhci-mem.c:342: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c: In function 'xhci_mem_init':
> drivers/usb/host/xhci-mem.c:646: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:646: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c:671: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:708: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c:713: warning: cast from pointer to integer of different size
> drivers/usb/host/xhci-mem.c:713: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'dma_addr_t'
> drivers/usb/host/xhci-mem.c:738: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
> 
> There were quite a few more in the xhci code as well.

All should now be resolved in my trees, thanks for being patient.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: usb tree build warnings
  2009-04-29 17:51 ` Greg KH
@ 2009-04-30  3:26   ` Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2009-04-30  3:26 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, Sarah Sharp

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

Hi Greg,

On Wed, 29 Apr 2009 10:51:52 -0700 Greg KH <greg@kroah.com> wrote:
>
> All should now be resolved in my trees, thanks for being patient.

Thanks.  ("I was actually going for crotchety old guy :-)")

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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: usb tree build warnings
  2009-08-10  9:36 Stephen Rothwell
@ 2009-08-11  0:00 ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2009-08-11  0:00 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, Lothar Wassmann, Michael Hennerich,
	Bryan Wu, Mike Frysinger

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux-next: usb tree build warnings
@ 2009-08-10  9:36 Stephen Rothwell
  2009-08-11  0:00 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2009-08-10  9:36 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-next, linux-kernel, Lothar Wassmann, Michael Hennerich,
	Bryan Wu, Mike Frysinger

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

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

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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-11  0:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-29  6:39 linux-next: usb tree build warnings Stephen Rothwell
2009-04-29 17:51 ` Greg KH
2009-04-30  3:26   ` Stephen Rothwell
2009-08-10  9:36 Stephen Rothwell
2009-08-11  0:00 ` Greg KH

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