diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2023-11-29 17:00:00 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-12-11 17:36:54 +0530 |
commit | bffa7218dcddb80e7f18dfa545dd4b359b11dd93 (patch) | |
tree | d248b6e105630558fb161daecb4e7fff9e20f8af /scripts/gdb/linux/device.py | |
parent | 0c154698a0fc32957d00c6009d5389e086dc8acf (diff) |
dmaengine: fsl-edma: fix wrong pointer check in fsl_edma3_attach_pd()
device_link_add() returns NULL pointer not PTR_ERR() when it fails,
so replace the IS_ERR() check with NULL pointer check.
Fixes: 72f5801a4e2b ("dmaengine: fsl-edma: integrate v3 support")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20231129090000.841440-1-yangyingliang@huaweicloud.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions