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: Add blank line after function

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

CHECK: Please use a blank line after function/struct/union/enum
declarations
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c:

The Linux kernel coding style [Documentation/process/coding-style.rst]
requires a blank line after function definitions to provide visual
separation between distinct code elements.

This patch inserts the required blank line after the closing brace of the
function definition after dw_axi_dma_set_byte_halfword(), placing it
before the contextual comment that describes the locking requirements.

Signed-off-by: Khairul Anuar Romli <karom.9560@gmail.com>
Link: https://patch.msgid.link/20260202060224.12616-3-karom.9560@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Khairul Anuar Romli and committed by
Vinod Koul
b6f1d1b0 6c5883a9

+1
+1
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c
··· 419 419 420 420 iowrite32(val, chan->chip->apb_regs + offset); 421 421 } 422 + 422 423 /* Called in chan locked context */ 423 424 static void axi_chan_block_xfer_start(struct axi_dma_chan *chan, 424 425 struct axi_dma_desc *first)