diff options
| author | Wei Yongjun <[email protected]> | 2017-04-25 03:14:54 +0000 |
|---|---|---|
| committer | Kishon Vijay Abraham I <[email protected]> | 2017-05-19 08:43:39 +0000 |
| commit | 53bf9590151e06e3f74212fea8da2eca2385db76 (patch) | |
| tree | cb9ec61dcb011d5d5e22dcb2096cbbc35fbd3e23 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Linux 4.12-rc1 (diff) | |
| download | kernel-53bf9590151e06e3f74212fea8da2eca2385db76.tar.gz kernel-53bf9590151e06e3f74212fea8da2eca2385db76.zip | |
phy: qcom-qmp: fix return value check in qcom_qmp_phy_create()
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.
Fixes: e78f3d15e115 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets")
Reviewed-by: Vivek Gautam <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
