diff options
author | 2016-07-14 12:06:45 +0000 | |
---|---|---|
committer | 2016-07-15 17:10:46 -0700 | |
commit | de3bfc4a16165cfc5f1504981f836d39a5f39a64 (patch) | |
tree | 4becaa2b92e9a7082029480765ea40c9b5da478d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'nand/for-4.8' of github.com:linux-nand/linux into mtd (diff) | |
download | wireguard-linux-de3bfc4a16165cfc5f1504981f836d39a5f39a64.tar.xz wireguard-linux-de3bfc4a16165cfc5f1504981f836d39a5f39a64.zip |
mtd: nand: omap2: fix return value check in omap_nand_probe()
In case of error, the function dma_request_chan() returns ERR_PTR() and
never returns NULL. The NULL test in the return value check should be
replaced with IS_ERR().
Fixes: aa7abd312c11 ('mtd: nand: omap2: Support parsing dma channel
information from DT')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions