diff options
author | 2018-03-22 02:25:07 +0000 | |
---|---|---|
committer | 2018-03-22 18:33:44 +0100 | |
commit | 7693b331d033ecda61097007330d3e7461ff7f27 (patch) | |
tree | acf56be46d8198fa780ad1774cd14db518749b0b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge 4.16-rc6 into tty-next (diff) | |
download | linux-dev-7693b331d033ecda61097007330d3e7461ff7f27.tar.xz linux-dev-7693b331d033ecda61097007330d3e7461ff7f27.zip |
tty: serial: msm_geni_serial: Fix return value check in qcom_geni_serial_probe()
In case of error, the function platform_get_resource() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Fixes: c4f528795d1a ("tty: serial: msm_geni_serial: Add serial driver support for GENI based QUP")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions