WSL2-Linux-Kernel/drivers/usb/phy
LABBE Corentin 928c75fbeb usb: phy: msm: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer
dereference later.
Even if the probability of this case is very low, fixing it made
static analyzers happy.
Solving this with of_device_get_match_data made also code simplier.

Reported-by: coverity (CID 1324133)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-12-08 08:13:28 -06:00
..
Kconfig usb: kconfig: fix warning of select USB_OTG 2015-11-19 14:48:48 -06:00
Makefile usb: phy: qcom: New APQ8016/MSM8916 USB transceiver driver 2015-07-29 09:59:19 -05:00
am35x-phy-control.h
of.c usb: phy: fixed comment typo 2015-03-11 10:19:36 -05:00
phy-ab8500-usb.c Merge 4.1-rc7 into usb-next 2015-06-08 10:57:51 -07:00
phy-am335x-control.c usb: phy: am335x-control: check return value of bus_find_device 2015-03-10 16:28:44 -05:00
phy-am335x.c
phy-fsl-usb.c
phy-fsl-usb.h
phy-generic.c usb: phy: phy-generic: Fix reset behaviour on legacy boot 2015-09-14 10:15:08 -05:00
phy-generic.h
phy-gpio-vbus-usb.c
phy-isp1301-omap.c usb: phy: isp1301: work around tps65010 dependency 2015-04-27 14:45:14 -05:00
phy-isp1301.c usb: phy: isp1301: Export I2C module alias information 2015-09-21 14:42:36 -05:00
phy-keystone.c usb: phy: phy-keystone: Simplify return statement 2015-08-04 11:02:05 -05:00
phy-msm-usb.c usb: phy: msm: fix a possible NULL dereference 2015-12-08 08:13:28 -06:00
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: add "fsl,imx6ul-usbphy" compatible string 2015-11-19 14:48:50 -06:00
phy-omap-otg.c usb: phy: omap-otg: fix uninitialized pointer 2015-11-16 10:17:40 -06:00
phy-qcom-8x16-usb.c usb: phy: qcom: Switch to new extcon framework API 2015-09-27 10:54:31 -05:00
phy-rcar-usb.c
phy-tahvo.c usb: phy: tahvo: Use devm_extcon_dev_[allocate|register]() and replace deprecated API 2015-07-29 09:59:18 -05:00
phy-tegra-usb.c usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
phy-twl6030-usb.c
phy-ulpi-viewport.c
phy-ulpi.c
phy.c usb: phy: Add interface to get phy give of device_node. 2015-05-26 10:42:28 -05:00