2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-07 13:13:57 +08:00
linux-next/drivers/usb
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
..
atm usb: atm: cxacru: mark expected switch fall-throughs 2017-10-27 12:40:54 +02:00
c67x00 USB: c67x00: remove redundant pointer urbp 2017-11-01 17:05:17 +01:00
chipidea usb: chipidea: fix trivial typo in Kconfig 2017-10-26 09:54:43 +08:00
class usb: class: usbtmc: mark expected switch fall-through 2017-10-27 12:40:15 +02:00
common usb: common: use of_property_read_bool() 2017-08-28 11:39:31 +02:00
core usb: core: urb: mark expected switch fall-through 2017-11-01 17:01:07 +01:00
dwc2 usb: dwc2: Fix UDC state tracking 2017-10-24 12:51:21 +03:00
dwc3 usb: dwc3: core: Notify current USB mode to USB3 PHY as well 2017-10-24 12:51:20 +03:00
early usb/early: Remove trace_printk() callers in xhci-dbc 2017-06-13 10:54:40 +02:00
gadget usb: gadget: zero: Convert timers to use timer_setup() 2017-11-01 16:57:23 +01:00
host usb: xhci: tegra: use time64_t for printing timestamp 2017-11-02 19:08:53 +01:00
image usb: image: mdc800: mark expected switch fall-through 2017-11-01 17:01:08 +01:00
isp1760 usb: isp1760: Convert timers to use timer_setup() 2017-11-01 16:57:23 +01:00
misc usb: usb251xb: Use GPIO descriptor consumer interface 2017-11-01 17:14:21 +01:00
mon sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
mtu3 usb: mtu3: fix dma_addr_t printk output again 2017-11-02 19:08:54 +01:00
musb usb: musb: dsps: remove the duplicated timer 2017-11-01 16:48:10 +01:00
phy usb: phy: remove phy-qcom-8x16-usb.c 2017-11-01 17:08:10 +01:00
renesas_usbhs usb: changes for v4.15 merge window 2017-10-24 14:03:12 +02:00
serial USB-serial updates for v4.15-rc1 2017-11-02 17:42:47 +01:00
storage usb: storage: uas: mark expected switch fall-through 2017-11-01 17:01:06 +01:00
typec usb: typec: tps6598x: mark expected switch fall-through 2017-11-01 16:51:09 +01:00
usbip usb: usbip: Convert timers to use timer_setup() 2017-11-01 16:57:23 +01:00
wusbcore usb: wusbcore: Use put_unaligned_le32 2017-11-01 16:51:09 +01:00
Kconfig usb: Kconfig: clarify use of USB_PCI 2017-11-01 17:16:43 +01:00
Makefile USB patches for 4.12-rc1 2017-05-04 18:03:51 -07:00
README
usb-skeleton.c USB: usb-skeleton: refactor endpoint retrieval 2017-03-23 13:54:08 +01:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.