linux_dsm_epyc7002/drivers/usb/host
Shimoda, Yoshihiro 5897b03829 usb: ehci-sh: fix illegal phy_init() running when platform_data is NULL
If the platform_data is not set, pdata will be uninitialized value.
Since the driver has the following code, if the condition is true when
the pdata is uninitialized value, the driver may jump to the illegal
phy_init().

	if (pdata && pdata->phy_init)
		pdata->phy_init();

This patch also fixes the following warning:

  CC      drivers/usb/host/ehci-hcd.o
drivers/usb/host/ehci-sh.c: In function ‘ehci_hcd_sh_probe’:
drivers/usb/host/ehci-sh.c:104: warning: ‘pdata’ may be used uninitialized in this function

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-14 17:13:34 -07:00
..
whci
alchemy-common.c
bcma-hcd.c
ehci-atmel.c
ehci-au1xxx.c
ehci-cns3xxx.c
ehci-dbg.c
ehci-fsl.c
ehci-fsl.h
ehci-grlib.c
ehci-hcd.c USB: fix PS3 EHCI systems 2012-06-13 17:24:54 -07:00
ehci-hub.c
ehci-ixp4xx.c
ehci-lpm.c
ehci-ls1x.c
ehci-mem.c
ehci-msm.c
ehci-mv.c
ehci-mxc.c
ehci-octeon.c
ehci-omap.c Fix OMAP EHCI suspend/resume failure (i693) 2012-06-13 17:36:22 -07:00
ehci-orion.c
ehci-pci.c USB: add NO_D3_DURING_SLEEP flag and revert 151b612847 2012-06-13 13:11:39 -07:00
ehci-platform.c
ehci-pmcmsp.c
ehci-ppc-of.c
ehci-ps3.c
ehci-q.c
ehci-s5p.c
ehci-sched.c
ehci-sead3.c
ehci-sh.c usb: ehci-sh: fix illegal phy_init() running when platform_data is NULL 2012-06-14 17:13:34 -07:00
ehci-spear.c
ehci-sysfs.c
ehci-tegra.c arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
ehci-vt8500.c
ehci-w90x900.c
ehci-xilinx-of.c USB: EHCI: Fix build warning in xilinx ehci driver 2012-06-13 17:24:54 -07:00
ehci-xls.c
ehci.h
fhci-dbg.c
fhci-hcd.c
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fsl-mph-dr-of.c
hwa-hc.c
imx21-dbg.c
imx21-hcd.c
imx21-hcd.h
isp116x-hcd.c
isp116x.h
isp1362-hcd.c
isp1362.h
isp1760-hcd.c
isp1760-hcd.h
isp1760-if.c
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-05-22 19:22:50 -07:00
Makefile
octeon2-common.c
ohci-at91.c
ohci-au1xxx.c
ohci-cns3xxx.c
ohci-da8xx.c
ohci-dbg.c
ohci-ep93xx.c
ohci-exynos.c
ohci-hcd.c
ohci-hub.c USB: ohci-hub: Mark ohci_finish_controller_resume() as __maybe_unused 2012-06-13 17:26:11 -07:00
ohci-jz4740.c
ohci-mem.c
ohci-nxp.c
ohci-octeon.c
ohci-omap3.c
ohci-omap.c
ohci-pci.c
ohci-platform.c
ohci-pnx8550.c
ohci-ppc-of.c
ohci-ppc-soc.c
ohci-ps3.c
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci-sh.c
ohci-sm501.c
ohci-spear.c
ohci-tmio.c
ohci-xls.c
ohci.h
oxu210hp-hcd.c
oxu210hp.h
pci-quirks.c
pci-quirks.h
r8a66597-hcd.c
r8a66597.h
sl811_cs.c
sl811-hcd.c
sl811.h
ssb-hcd.c
u132-hcd.c
uhci-debug.c
uhci-grlib.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-pci.c
uhci-q.c
xhci-dbg.c
xhci-ext-caps.h
xhci-hub.c
xhci-mem.c xhci: Don't free endpoints in xhci_mem_cleanup() 2012-06-13 16:37:30 -07:00
xhci-pci.c
xhci-plat.c
xhci-ring.c
xhci.c xHCI: Increase the timeout for controller save/restore state operation 2012-06-13 16:39:38 -07:00
xhci.h