Skip to content
Commit 90a6c030 authored by Li Zetao's avatar Li Zetao Committed by Vinod Koul
Browse files

dmaengine: xilinx: xdma: Use resource_size() in xdma_probe()



There is a warning reported by coccinelle:

./drivers/dma/xilinx/xdma.c:888:22-25: ERROR:
	Missing resource_size with   res

Use resource_size() on resource object instead of explicit computation.

Signed-off-by: default avatarLi Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230803033235.3049137-1-lizetao1@huawei.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent a1cb2ffe
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