remarkable-linux/drivers/usb/musb
Daniel Mack ca749b2a2e usb: musb: dsps: fix res_name length
The res_name is used for the name construction of a DT property as
follows:

  sprintf(res_name, "port%d-mode", id);

Hence, res_name must be at least 11 characters long in order to store
the name including the terminating '\0'.

While at it, use to snprintf() rather than sprintf() when accessing this
buffer.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-10-23 09:42:29 +03:00
..
am35x.c usb: musb: am35xx: drop spurious unplugging a device 2012-10-15 15:20:27 +03:00
blackfin.c usb: musb: patches for v3.7 merge window 2012-09-11 13:56:29 -07:00
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
davinci.c usb: musb: patches for v3.7 merge window 2012-09-11 13:56:29 -07:00
davinci.h
Kconfig usb: musb: patches for v3.7 merge window 2012-09-11 13:56:29 -07:00
Makefile
musb_core.c usb: musb: kill global and static for multi instance 2012-09-11 17:34:45 +03:00
musb_core.h usb: musb: kill global and static for multi instance 2012-09-11 17:34:45 +03:00
musb_debug.h
musb_debugfs.c usb: musb: kill global and static for multi instance 2012-09-11 17:34:45 +03:00
musb_dma.h
musb_dsps.c usb: musb: dsps: fix res_name length 2012-10-23 09:42:29 +03:00
musb_gadget.c
musb_gadget.h
musb_gadget_ep0.c
musb_host.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
musb_host.h
musb_io.h xtensa: adopt generic io routines 2012-10-03 15:11:42 -07:00
musb_regs.h
musb_virthub.c
musbhsdma.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
musbhsdma.h
omap2430.c usb: musb: add musb_ida for multi instance support 2012-09-11 17:34:41 +03:00
omap2430.h usb: musb: omap: write directly to mailbox instead of using phy 2012-09-11 12:13:22 +03:00
tusb6010.c usb: musb: patches for v3.7 merge window 2012-09-11 13:56:29 -07:00
tusb6010.h
tusb6010_omap.c ARM: soc: general cleanups 2012-10-01 18:19:05 -07:00
ux500.c usb: musb: add musb_ida for multi instance support 2012-09-11 17:34:41 +03:00
ux500_dma.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00