mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
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: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/ef7cde6f793bfa6f3dd0a8898bad13b6407479b0.1624446456.git.michal.simek@xilinx.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
536bc5e6fd
commit
72cce7dd9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user