diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-03-02 09:10:54 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-03-12 06:31:16 +0100 |
commit | 1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e (patch) | |
tree | e16009bb682b20f6e4db74d1df62d7067666ea09 /drivers/phy/phy-qcom-apq8064-sata.c | |
parent | phy: exynos-dp-video: Kill exynos_dp_video_phy_pwr_isol function (diff) | |
download | linux-1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e.tar.xz linux-1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e.zip |
phy: hix5hd2-sata: Check return value of platform_get_resource
This prevent NULL pointer dereference if res is NULL.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-qcom-apq8064-sata.c')
0 files changed, 0 insertions, 0 deletions