diff options
author | 2021-12-14 01:55:44 +0000 | |
---|---|---|
committer | 2021-12-16 06:34:07 -0600 | |
commit | 1bb0b8b195d821d009bae61248da14f2b17bd44a (patch) | |
tree | 89235269c10b24729133c5b23ef616a86c09b531 /scripts/generate_rust_analyzer.py | |
parent | soc: ti: k3-socinfo: Add entry for J721S2 SoC family (diff) | |
download | wireguard-linux-1bb0b8b195d821d009bae61248da14f2b17bd44a.tar.xz wireguard-linux-1bb0b8b195d821d009bae61248da14f2b17bd44a.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions