1
linux/drivers/phy
Himangi Saraogi 3df9fcd59f phy: omap-usb2: fix devm_ioremap_resource error detection code
devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure.

A simplified version of the semantic match that finds this problem is as
follows:

// <smpl>
@@
expression e,e1;
statement S;
@@

*e = devm_ioremap_resource(...);
if (!e1) S

// </smpl>

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-11 18:23:49 -07:00
..
Kconfig phy: sun4i: depend on RESET_CONTROLLER 2014-07-11 18:23:49 -07:00
Makefile phy: Add new Exynos5 USB 3.0 PHY driver 2014-05-13 18:07:08 +05:30
phy-bcm-kona-usb2.c usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO 2014-03-02 00:26:26 +05:30
phy-core.c phy: fix kernel oops in phy_lookup() 2014-04-24 12:53:38 -07:00
phy-exynos4x12-usb2.c phy: Add new Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos5-usbdrd.c phy: exynos5-usbdrd: Add facility for VBUS supply 2014-05-13 18:07:08 +05:30
phy-exynos4210-usb2.c phy: Add new Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos5250-sata.c PHY: Exynos: fix SATA phy license typo 2014-05-08 19:24:35 +05:30
phy-exynos5250-usb2.c phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-exynos-dp-video.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-exynos-mipi-video.c phy: exynos-mipi-video: fix check on array index 2014-05-12 19:02:02 +05:30
phy-mvebu-sata.c phy: let phy_provider_register be the last step in registering PHY 2014-02-18 12:13:16 -08:00
phy-omap-control.c phy: omap-control: update dra7 and am437 usb2 bindings 2014-03-09 12:45:09 +05:30
phy-omap-usb2.c phy: omap-usb2: fix devm_ioremap_resource error detection code 2014-07-11 18:23:49 -07:00
phy-samsung-usb2.c phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-samsung-usb2.h phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver 2014-03-08 12:39:44 +05:30
phy-sun4i-usb.c phy: usb: sunxi: Introduce Allwinner A31 USB PHY support 2014-05-14 19:41:13 +05:30
phy-ti-pipe3.c phy: ti-pipe3: Fix suspend/resume and module reload 2014-03-09 12:45:11 +05:30
phy-twl4030-usb.c usb: phy: twl4030-usb: Remove redundant semicolon 2014-03-02 00:26:26 +05:30
phy-xgene.c PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver 2014-03-09 12:45:13 +05:30