Skip to content
Commit 3896d810 authored by Minjie Du's avatar Minjie Du Committed by Greg Kroah-Hartman
Browse files

dmaengine: xilinx: xdma: Fix Judgment of the return value

commit a68b48af upstream.

Fix: make IS_ERR() judge the devm_ioremap_resource() function return.

Fixes: 17ce2522

 ("dmaengine: xilinx: xdma: Add xilinx xdma driver")
Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Acked-by: default avatarMichal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230705113912.16247-1-duminjie@vivo.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 65b88401
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment