Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: dw-axi-dmac: fix Alignment should match open parenthesis

checkpatch.pl --strict reports a CHECK warning in dw-axi-dmac-platform.c:

CHECK: Alignment should match open parenthesis

This warning occurs when multi-line function calls or expressions have
continuation lines that don't properly align with the opening parenthesis
position.

This patch fixes all instances in dw-axi-dmac-platform.c where continuation
lines were indented with an inconsistent number of spaces/tabs that neither
matched the parenthesis column nor followed a standard indent pattern.
Proper alignment improves code readability and maintainability by making
parameter lists visually consistent across the kernel codebase.

Fixes: 1fe20f1b8454 ("dmaengine: Introduce DW AXI DMAC driver")
Fixes: e32634f466a9 ("dma: dw-axi-dmac: support per channel interrupt")
Signed-off-by: Khairul Anuar Romli <karom.9560@gmail.com>
Link: https://patch.msgid.link/20260202060224.12616-2-karom.9560@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Khairul Anuar Romli and committed by
Vinod Koul
6c5883a9 ff7cbcca

+7 -7
+7 -7
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
··· 342 342 kfree(desc); 343 343 atomic_sub(descs_put, &chan->descs_allocated); 344 344 dev_vdbg(chan2dev(chan), "%s: %d descs put, %d still allocated\n", 345 - axi_chan_name(chan), descs_put, 346 - atomic_read(&chan->descs_allocated)); 345 + axi_chan_name(chan), descs_put, 346 + atomic_read(&chan->descs_allocated)); 347 347 } 348 348 349 349 static void vchan_desc_put(struct virt_dma_desc *vdesc) ··· 353 353 354 354 static enum dma_status 355 355 dma_chan_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, 356 - struct dma_tx_state *txstate) 356 + struct dma_tx_state *txstate) 357 357 { 358 358 struct axi_dma_chan *chan = dchan_to_axi_dma_chan(dchan); 359 359 struct virt_dma_desc *vdesc; ··· 491 491 492 492 desc = vd_to_axi_desc(vd); 493 493 dev_vdbg(chan2dev(chan), "%s: started %u\n", axi_chan_name(chan), 494 - vd->tx.cookie); 494 + vd->tx.cookie); 495 495 axi_chan_block_xfer_start(chan, desc); 496 496 } 497 497 ··· 1162 1162 axi_chan_irq_clear(chan, status); 1163 1163 1164 1164 dev_vdbg(chip->dev, "%s %u IRQ status: 0x%08x\n", 1165 - axi_chan_name(chan), i, status); 1165 + axi_chan_name(chan), i, status); 1166 1166 1167 1167 if (status & DWAXIDMAC_IRQ_ALL_ERR) 1168 1168 axi_chan_handle_err(chan, status); ··· 1451 1451 if (chip->irq[i] < 0) 1452 1452 return chip->irq[i]; 1453 1453 ret = devm_request_irq(chip->dev, chip->irq[i], dw_axi_dma_interrupt, 1454 - IRQF_SHARED, KBUILD_MODNAME, chip); 1454 + IRQF_SHARED, KBUILD_MODNAME, chip); 1455 1455 if (ret < 0) 1456 1456 return ret; 1457 1457 } ··· 1645 1645 of_dma_controller_free(chip->dev->of_node); 1646 1646 1647 1647 list_for_each_entry_safe(chan, _chan, &dw->dma.channels, 1648 - vc.chan.device_node) { 1648 + vc.chan.device_node) { 1649 1649 list_del(&chan->vc.chan.device_node); 1650 1650 tasklet_kill(&chan->vc.task); 1651 1651 }