From: Greg KH <greg@kroah•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linux-next@vger•kernel.org, Sarah Sharp <sarah.a.sharp@linux•intel.com>
Subject: Re: linux-next: usb tree build warnings
Date: Wed, 29 Apr 2009 10:51:52 -0700 [thread overview]
Message-ID: <20090429175152.GA29144@kroah.com> (raw)
In-Reply-To: <20090429163949.636a17c5.sfr@canb.auug.org.au>
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
next prev parent reply other threads:[~2009-04-29 17:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 6:39 linux-next: usb tree build warnings Stephen Rothwell
2009-04-29 17:51 ` Greg KH [this message]
2009-04-30 3:26 ` Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2009-08-10 9:36 Stephen Rothwell
2009-08-11 0:00 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090429175152.GA29144@kroah.com \
--to=greg@kroah$(echo .)com \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sarah.a.sharp@linux$(echo .)intel.com \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox