diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-03 11:32:35 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-10-04 19:27:51 +0530 |
commit | 90a6c030f506585f484a9804aafe29cb42b93697 (patch) | |
tree | 9c94b12e9a25669a797d0fb73499cb9161376803 /drivers/cdx/controller/cdx_controller.c | |
parent | a1cb2ffe5fe59b0f5612e5e9148c5311c32f311c (diff) |
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: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230803033235.3049137-1-lizetao1@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions