xhci: Clean up 32-bit build warnings.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 5 Jan 2012 00:54:12 +0000 (16:54 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Thu, 5 Jan 2012 01:06:00 +0000 (17:06 -0800)
commite910b440da9f766f2623479be721032fecff98c3
treea5eabe278dc261b3f7361424f58afaa1755237a5
parent71d85724bdd947a3b42a88d08af79f290a1a767b
xhci: Clean up 32-bit build warnings.

Randy Dunlap points out that commit 9258c0b2 "xhci: Better debugging for
critical host errors." introduces some new build warnings on 32-bit
builds:

drivers/usb/host/xhci-ring.c:1936:3: warning: format '%016llx' expects type 'long long unsigned int', but argument 3 has type 'dma_addr_t'
drivers/usb/host/xhci-ring.c:1958:3: warning: format '%016llx' expects type 'long long unsigned int', but argument 3 has type 'dma_addr_t'

Cast the results of xhci_trb_virt_to_dma() from a dma_addr_t to an
unsigned long long.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
drivers/usb/host/xhci-ring.c