diff options
| author | Miaoqian Lin <[email protected]> | 2021-12-14 01:55:44 +0000 |
|---|---|---|
| committer | Nishanth Menon <[email protected]> | 2021-12-16 06:34:07 -0600 |
| commit | 1bb0b8b195d821d009bae61248da14f2b17bd44a (patch) | |
| tree | 89235269c10b24729133c5b23ef616a86c09b531 /Documentation/filesystems/caching/netfs-api.rst | |
| parent | a34ff76a161583d24d29816a6cce85232ea7d9d0 (diff) | |
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 <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions