linux_dsm_epyc7002/drivers/usb/mtu3
Arnd Bergmann 20ef800bab usb: mtu3: fix dma_addr_t printk output again
The support for 36-bit addresses originally came with an incorrect
printk format for dma addresses. Felipe changed the format string it
while applying, but the result was still incorrect, since we now have
to pass a pointer to the address instead of the integer value:

drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_tx_gpd':
drivers/usb/mtu3/mtu3_qmu.c:261:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=]
drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_rx_gpd':
drivers/usb/mtu3/mtu3_qmu.c:300:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=]

This fixes the printk argument accordingly.

Fixes: 1a46dfea08 ("usb: mtu3: support 36-bit DMA address")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-02 19:08:54 +01:00
..
Kconfig usb: mtu3: dual-role mode support 2016-10-27 17:02:41 +02:00
Makefile usb: mtu3: dual-role mode support 2016-10-27 17:02:41 +02:00
mtu3_core.c usb: mtu3: set otg_sel for u2port only if works as dual-role mode 2017-10-19 10:38:13 +03:00
mtu3_dr.c usb: mtu3: use FORCE/RG_IDDIG to implement manual DRD switch 2017-10-19 10:38:11 +03:00
mtu3_dr.h usb: mtu3: use FORCE/RG_IDDIG to implement manual DRD switch 2017-10-19 10:38:11 +03:00
mtu3_gadget_ep0.c usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00
mtu3_gadget.c usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00
mtu3_host.c usb: mtu3: use FORCE/RG_IDDIG to implement manual DRD switch 2017-10-19 10:38:11 +03:00
mtu3_hw_regs.h usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00
mtu3_plat.c usb: mtu3: set invalid dr_mode as dual-role mode 2017-10-19 10:38:12 +03:00
mtu3_qmu.c usb: mtu3: fix dma_addr_t printk output again 2017-11-02 19:08:54 +01:00
mtu3_qmu.h
mtu3.h usb: mtu3: add support for usb3.1 IP 2017-10-19 10:38:12 +03:00