diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2021-12-14 04:55:44 +0300 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2021-12-16 15:34:07 +0300 |
commit | 1bb0b8b195d821d009bae61248da14f2b17bd44a (patch) | |
tree | 89235269c10b24729133c5b23ef616a86c09b531 /tools/perf/scripts/python/stackcollapse.py | |
parent | a34ff76a161583d24d29816a6cce85232ea7d9d0 (diff) | |
download | linux-1bb0b8b195d821d009bae61248da14f2b17bd44a.tar.xz |
soc: ti: knav_dma: Fix NULL vs IS_ERR() checking in dma_init
Since devm_ioremap_resource() function return error pointers.
The pktdma_get_regs() function does not return NULL, It return error
pointers too. Using IS_ERR() to check the return value to fix this.
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20211214015544.7270-1-linmq006@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions