diff options
author | 2018-03-22 02:09:39 +0000 | |
---|---|---|
committer | 2018-03-22 18:31:04 +0100 | |
commit | 960526d5970f80497ae500441adc2554c72dcf7e (patch) | |
tree | 73261ef0cf2f4c622bf2494b9029425d28c2d20f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: mt7621-gpio: mt7621: make symbol gc_map static (diff) | |
download | linux-dev-960526d5970f80497ae500441adc2554c72dcf7e.tar.xz linux-dev-960526d5970f80497ae500441adc2554c72dcf7e.zip |
staging: mt7621-eth: fix return value check in mtk_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions