提交 72cce7dd 编写于 作者: M Michal Simek 提交者: Vinod Koul

dmaengine: xilinx: dpdma: Fix spacing around addr[i-1]

Use proper spacing for array calculation. Issue is reported by
checkpatch.pl --strict.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/ef7cde6f793bfa6f3dd0a8898bad13b6407479b0.1624446456.git.michal.simek@xilinx.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 536bc5e6
......@@ -530,7 +530,7 @@ static void xilinx_dpdma_sw_desc_set_dma_addrs(struct xilinx_dpdma_device *xdev,
for (i = 1; i < num_src_addr; i++) {
u32 *addr = &hw_desc->src_addr2;
addr[i-1] = lower_32_bits(dma_addr[i]);
addr[i - 1] = lower_32_bits(dma_addr[i]);
if (xdev->ext_addr) {
u32 *addr_ext = &hw_desc->addr_ext_23;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册