linux/drivers/usb
Jon Hunter 938fc64531 usb: gadget: u_ether: Convert prints to device prints
The USB ethernet gadget driver implements its own print macros which
call printk. Device drivers should use the device prints that print the
device name. Fortunately, the same macro names are defined in the header
file 'linux/usb/composite.h' and these use the device prints. Therefore,
remove the local definitions in the USB ethernet gadget driver and use
those in 'linux/usb/composite.h'. The only difference is that now the
device name is printed instead of the ethernet interface name.

Tested using ethernet gadget on Jetson AGX Orin.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230209125319.18589-1-jonathanh@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-15 12:36:22 +01:00
..
atm usb: move from strlcpy with unused retval to strscpy 2022-08-19 11:08:54 +02:00
c67x00
cdns3 Merge 6.2-rc5 into usb-next 2023-01-23 15:38:08 +01:00
chipidea USB: chipidea: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:41 +01:00
class USB: make devnode() callback in usb_class_driver take a const * 2022-10-20 12:11:56 +02:00
common USB: ULPI: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:41 +01:00
core Merge 6.2-rc8 into usb-next 2023-02-14 13:44:08 +01:00
dwc2 usb: dwc2: power on/off phy for peripheral mode in dual-role mode 2022-12-08 16:50:56 +01:00
dwc3 USB: dwc3: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:41 +01:00
early usb: early: xhci-dbc: Use memcpy_and_pad() 2023-01-31 10:40:54 +01:00
fotg210 USB: fotg210: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:42 +01:00
gadget usb: gadget: u_ether: Convert prints to device prints 2023-02-15 12:36:22 +01:00
host xhci: host: potential NULL dereference in xhci_generic_plat_probe() 2023-02-14 14:22:57 +01:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760
misc Merge 6.2-rc5 into usb-next 2023-01-23 15:38:08 +01:00
mon usb: mon: make mmapped memory read only 2022-09-22 15:52:29 +02:00
mtu3 usb: mtu3: fix the failure of qmu stop 2023-01-19 14:12:08 +01:00
musb usb: musb: sunxi: Introduce config struct 2023-02-02 11:13:42 +01:00
phy usb: isp1301-omap: Convert to i2c's .probe_new() 2022-11-22 17:33:27 +01:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-06-21 16:39:03 +02:00
roles Driver Core changes for 6.2-rc1 2022-12-16 03:54:54 -08:00
serial USB: serial: option: add Quectel EM05CN modem 2023-01-16 08:47:47 +01:00
storage USB: ene_usb6250: Allocate enough memory for full object 2023-02-06 13:46:42 +01:00
typec Merge 6.2-rc8 into usb-next 2023-02-14 13:44:08 +01:00
usbip Including fixes from bpf, netfilter and can. 2022-12-21 08:41:32 -08:00
Kconfig usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
Makefile usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
usb-skeleton.c usb: add usb_set_intfdata() documentation 2022-11-29 08:56:09 +01:00