linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: usb tree build warnings
@ 2009-08-10  9:36 Stephen Rothwell
  2009-08-10 13:54 ` diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c Lothar Wassmann
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ 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] 10+ messages in thread
* linux-next: usb tree build warnings
@ 2009-04-29  6:39 Stephen Rothwell
  2009-04-29 17:51 ` Greg KH
  0 siblings, 1 reply; 10+ 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] 10+ messages in thread

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-10  9:36 linux-next: usb tree build warnings Stephen Rothwell
2009-08-10 13:54 ` diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c Lothar Wassmann
     [not found] ` <<20090810193653.f228cf06.sfr@canb.auug.org.au>
2009-08-10 16:28   ` [PATCH] Fix compiler warnings and remove debug messages Lothar Wassmann
2009-08-11  0:01     ` Greg KH
2009-08-11  7:59       ` Mike Frysinger
2009-08-11  8:31         ` Stephen Rothwell
2009-08-11  0:00 ` linux-next: usb tree build warnings Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2009-04-29  6:39 Stephen Rothwell
2009-04-29 17:51 ` Greg KH
2009-04-30  3:26   ` Stephen Rothwell

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