]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dmaengine: dw-axi-dmac: Add blank line after function
authorKhairul Anuar Romli <karom.9560@gmail.com>
Mon, 2 Feb 2026 06:02:18 +0000 (14:02 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 26 Feb 2026 15:29:22 +0000 (20:59 +0530)
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>
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c

index b9fbfeb873e76ec205b79e777a17b02c66158ca2..1e536cb979c4040bd66df783ffbdd88de17dfb1b 100644 (file)
@@ -419,6 +419,7 @@ static void dw_axi_dma_set_byte_halfword(struct axi_dma_chan *chan, bool set)
 
        iowrite32(val, chan->chip->apb_regs + offset);
 }
+
 /* Called in chan locked context */
 static void axi_chan_block_xfer_start(struct axi_dma_chan *chan,
                                      struct axi_dma_desc *first)