linux/drivers/usb/musb
Petr Kulhavy ead22caf85 usb: musb: core: added missing const qualifier to musb_hdrc_platform_data::config
The musb_hdrc_platform_data::config was defined as a non-const pointer.
However some drivers (e.g. the ux500) set up this pointer to point to a
static structure, which is potentially dangerous. Since the musb core
uses the pointer in a read-only manner the const qualifier was added to
protect the content of the config.

Signed-off-by: Petr Kulhavy <petr@barix.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
2016-03-04 15:14:46 +02:00
..
Kconfig usb: add HAS_IOMEM dependency to USB_MUSB_HDRC 2016-02-14 17:09:56 -08:00
Makefile
am35x.c
blackfin.c
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c
davinci.c
davinci.h
jz4740.c
musb_am335x.c
musb_core.c usb: musb: core: added missing const qualifier to musb_hdrc_platform_data::config 2016-03-04 15:14:46 +02:00
musb_core.h usb: musb: core: added missing const qualifier to musb_hdrc_platform_data::config 2016-03-04 15:14:46 +02:00
musb_cppi41.c
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c
musb_gadget.c usb: musb: gadget: remove redundant condition 2015-12-16 10:07:28 -06:00
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: fix DMA for host mode 2016-02-23 08:51:38 +02:00
musb_host.h
musb_io.h
musb_regs.h
musb_virthub.c
musbhsdma.c usb: musb: use %pad format string from dma_addr_t 2016-03-04 15:14:30 +02:00
musbhsdma.h
omap2430.c usb: musb: Fix unbalanced pm_runtime_enable 2015-12-16 10:07:28 -06:00
omap2430.h
sunxi.c usb: musb: sunxi: support module autoloading 2016-03-04 15:14:38 +02:00
tusb6010.c
tusb6010.h
tusb6010_omap.c usb: musb: use %pad format string from dma_addr_t 2016-03-04 15:14:30 +02:00
ux500.c usb: musb: ux500: Fix NULL pointer dereference at system PM 2016-02-03 20:03:40 +02:00
ux500_dma.c usb: musb/ux500: remove duplicate check for dma_is_compatible 2016-03-04 15:14:30 +02:00