From nobody Sat Feb 7 21:15:52 2026 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6ECC12F3C07 for ; Mon, 2 Feb 2026 06:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770012153; cv=none; b=Z0bl9OTZ8goEdZ13TR2cMbr26fbBYjKrc7TSb/wn1bt2yDdX9HnvzSVZgWelOPl8sm+Kfz75EtT3kwC6Zpu5DkLVw4cfEoe/KZ23TaQXL2Xcxhj3pBQJQDsz1slQ2KsOL4KW09X0L44THU9qav3WotdxSsUZ7yM4ctyWBnFgb/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770012153; c=relaxed/simple; bh=I5B7AJbCH7As2yEWsbVpfdFdE5fOiK/B2fNAmT3r6kM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=m4Avnnaa+r14S901+D9COqcnDiOEGWsMhJ85rz6FMchTRkTGcBiX4cD7tf8xJz6xoUkToQw+qwln+W+tk/8gmUNyH5YwVBfhAmprMDVDDq08PpQnMUfHfWSsC2EK3L14PGTTiee+tDZsAfkZq/9pfTlvhmrfTlUmne5fLy/d57g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=E3fdE3vS; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="E3fdE3vS" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-3545d66bb3aso463934a91.0 for ; Sun, 01 Feb 2026 22:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770012152; x=1770616952; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=UaSd5xHb0x3sp927EpfrEVbqVinwErLxbtJRKDKA/uQ=; b=E3fdE3vSmi5Tgx+0GGgNake8qSv2pd+rIBr2/wS9H7ruPKUYXZ5TgBtgyTXTiI7CtW 1NCi5iY40LvMpFi59Ts9l/PH3NqIFhF9KBfiK62HzsBomZnLHLsiw/VxMWx+WusUOT2V wG4ac5+JxnN5NEJPHyUb3z3Q1jrw3GkDuGKY/76Pxq4jIEkmoVW+rPaICrkZ2N9qmWD5 UhDyIGC6ymvCYGj5Z4gU50MlFSgwENXF7hxtarIHbaWkfiBoRbhEW133tmhjUJ3HfaLR XaBOgIPbAvoer3lldvIAD/lJFk4nyyyz2DUVJUglkaJ/LqSZHSJacLFd9rMhXS90FL/U 7I3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770012152; x=1770616952; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=UaSd5xHb0x3sp927EpfrEVbqVinwErLxbtJRKDKA/uQ=; b=c9UmHwUIWc6/I1keziYr6f/bLxHyouqW7bUZB769wef9CIu3WiSkJsW/SagECuq7YE 4g85Uh7WP0w+zgyB+zr7hxdznTQTcyEuX87JAwQwy+Bo9kJbSMTPkTZIwuscbzCmC4Jg 7JRsi33mVAgOEs9fKU7WKxhOJJOaievHpafYeDFLmP81ZPfrlyLVxLa8XDthvJ2Wf7Xa Ai61A6/Pv/FoDP5Ux6hCsd6iwzA5H+hn/9Tp41IHTUaigc+11aD2qA5uhLZkKWM7sCJs aPtksuSJWBo1g92FYbJUxTZqlrhJsCBQX7q+sHsbkJXSoEudsCBauLPrcd3WPhhkBxCg MRCA== X-Forwarded-Encrypted: i=1; AJvYcCUfkdgeYgFZIfQEEkMLjpMIgCCQ54IqK1gPe66fvs1Nex3G3UwjZ7HMQ2f9f8n+diPZYO3OMfBxgWbzosw=@vger.kernel.org X-Gm-Message-State: AOJu0YxfY8JpwxpLnGUBGJWPsEGnQRZfJhHqllVOB++VBsPujG4qr7da YqdMHm5WC+ueO70nhZ5dsQ2EyZrwkLLAfcuWjZMs7Z95+JvXlrRtZnfg X-Gm-Gg: AZuq6aK9b8ADXngVFLgbovt9tQ8Nm0N2N3C+EbApwD6MfWc/rJMWXVL/2IUmTALD3WK ckUwdQTRF6AUMcqWbQhglkjTnKjia8c7m6r1rd+OOj395/fQAFT54dU3IfZHcUcDfg3aB2RzsZe ZXOX1Dv2bvbRcppDfh3x9c2dpqmgYu9b+P5wKHlcfU9gswRCZGOH+sXqXJ6tikL/xFiE1wHEwI/ hyB1oTi7tDFcERzUsp1v+Kbu5objKIA7OkVm2YOCexPSJ67kz1OCE1dF5NYBq4RMTJ+7II+8Y2s mv25zvyUBy2FIzSWHHuUetEpcum8C/SaGqyhv8wpUblMfAVL5AJxCfuOfUP/4DX1DrcsK4PDKo6 uOmTSy9KXV9ULGmlk5q5xJ3cTRKpsseiquNS2b3WfQUdeBu5/EhZfITE7WURlEDP3HTfoHuqGX5 HDOojV/BEh6KwOzgPDTDM6ax/fSE07rwuMnvc= X-Received: by 2002:a17:90b:264c:b0:34c:75d1:6f90 with SMTP id 98e67ed59e1d1-3543b395b8fmr10327607a91.17.1770012151621; Sun, 01 Feb 2026 22:02:31 -0800 (PST) Received: from localhost.localdomain ([60.51.11.72]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3540f17955asm14212294a91.0.2026.02.01.22.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 22:02:31 -0800 (PST) From: Khairul Anuar Romli To: Eugeniy Paltsev , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Markus.Elfring@web.de, Khairul Anuar Romli Subject: [PATCH v7 1/3] dmaengine: dw-axi-dmac: fix Alignment should match open parenthesis Date: Mon, 2 Feb 2026 14:02:17 +0800 Message-ID: <20260202060224.12616-2-karom.9560@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260202060224.12616-1-karom.9560@gmail.com> References: <20260202060224.12616-1-karom.9560@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- v6 -> v7: - Add more details in the commit message. - Moves the fixes from v6 to Fixes: - Remove quote. Reference to v6: https://lore.kernel.org/all/20260201000500.11882-2-karom.9560@gmail.com/ Reference to v1: https://lore.kernel.org/all/20260104093529.40913-1-karom.9560@gmail.com/ --- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c b/drivers/dma/d= w-axi-dmac/dw-axi-dmac-platform.c index 493c2a32b0fe..8bb97fb8fd4c 100644 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c @@ -342,8 +342,8 @@ static void axi_desc_put(struct axi_dma_desc *desc) kfree(desc); atomic_sub(descs_put, &chan->descs_allocated); dev_vdbg(chan2dev(chan), "%s: %d descs put, %d still allocated\n", - axi_chan_name(chan), descs_put, - atomic_read(&chan->descs_allocated)); + axi_chan_name(chan), descs_put, + atomic_read(&chan->descs_allocated)); } =20 static void vchan_desc_put(struct virt_dma_desc *vdesc) @@ -353,7 +353,7 @@ static void vchan_desc_put(struct virt_dma_desc *vdesc) =20 static enum dma_status dma_chan_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, - struct dma_tx_state *txstate) + struct dma_tx_state *txstate) { struct axi_dma_chan *chan =3D dchan_to_axi_dma_chan(dchan); struct virt_dma_desc *vdesc; @@ -491,7 +491,7 @@ static void axi_chan_start_first_queued(struct axi_dma_= chan *chan) =20 desc =3D vd_to_axi_desc(vd); dev_vdbg(chan2dev(chan), "%s: started %u\n", axi_chan_name(chan), - vd->tx.cookie); + vd->tx.cookie); axi_chan_block_xfer_start(chan, desc); } =20 @@ -1162,7 +1162,7 @@ static irqreturn_t dw_axi_dma_interrupt(int irq, void= *dev_id) axi_chan_irq_clear(chan, status); =20 dev_vdbg(chip->dev, "%s %u IRQ status: 0x%08x\n", - axi_chan_name(chan), i, status); + axi_chan_name(chan), i, status); =20 if (status & DWAXIDMAC_IRQ_ALL_ERR) axi_chan_handle_err(chan, status); @@ -1451,7 +1451,7 @@ static int axi_req_irqs(struct platform_device *pdev,= struct axi_dma_chip *chip) if (chip->irq[i] < 0) return chip->irq[i]; ret =3D devm_request_irq(chip->dev, chip->irq[i], dw_axi_dma_interrupt, - IRQF_SHARED, KBUILD_MODNAME, chip); + IRQF_SHARED, KBUILD_MODNAME, chip); if (ret < 0) return ret; } @@ -1645,7 +1645,7 @@ static void dw_remove(struct platform_device *pdev) of_dma_controller_free(chip->dev->of_node); =20 list_for_each_entry_safe(chan, _chan, &dw->dma.channels, - vc.chan.device_node) { + vc.chan.device_node) { list_del(&chan->vc.chan.device_node); tasklet_kill(&chan->vc.task); } --=20 2.43.0 From nobody Sat Feb 7 21:15:52 2026 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5A7B194AD7 for ; Mon, 2 Feb 2026 06:02:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770012156; cv=none; b=B6VmL0cKVgj8Y3Mw2QH8mv8NkaMWGnoS89niCUok6ryOL1aLGq7kan09tYXKbq0/fTrUX9eSoihRXbtCPIoZ1XY2WpUKcNNTXLcZK4QVrrpvqC0pvxHVtOjkpfpe9yK9qReSwK3qaPQFErqdd83vSnkkmAI5sNihSJX0c1JoCK0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770012156; c=relaxed/simple; bh=t/R2UaNXcS31oB2v+9aA9x+KjXAVXVSekUlsLcapVVE=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YUkW3koqkn0Y8Oj1khB+0NTWsZxj33egbUfQlTrRHWrJ/69OznzR65NaBV4SIZUo2UMzPEqqql1tUWRWAFzc7bOeoKVS2u9vgZSAQI+6FE6TEp3DFnvZkBaxdNYDQYlqBVcz9VKzwml4SWvEPEBtvf7XOpyPF/pwAADyQP2gIcY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nBxZXvnC; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nBxZXvnC" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-82310b74496so2313041b3a.3 for ; Sun, 01 Feb 2026 22:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770012154; x=1770616954; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=VBAZZg6DWx3jZgd0edGfy3lxQmykPlUP+fMCaeAJK54=; b=nBxZXvnCB0GVzmCf1t+/yWdsexGj/mFbvdCPCz3hPLC2+JE6wzBkW3cWri3OEsObjD Jp3Q94mij6mA22f2kHl6TRP77bNnTQD6oxVBV7mLKX1uZ6aUZIAJBvn7tHyeQ30q34Aw FoESoNxi2SpRzTz32FF0ckDeqMkKB8JXhYYvexnemSIg7eEuWs1+vO6HBHE6Iw0zU48N fokQGcm7Dge9r2f56nkwKGWwOujg0X/PWh9EUnj25ra5JXAq3uuwwf/M2UqwTgu8f9mY D4Sel09tS/UPKFZ4aweG84lCGEO6K2DTntPfgUoPr3vjde77Gxm8DAkXkw7hZMourYcv Y5uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770012154; x=1770616954; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VBAZZg6DWx3jZgd0edGfy3lxQmykPlUP+fMCaeAJK54=; b=Qmun2/qFAfDCT/N0Vj71WlZEjMsKFDPEQ6IrboN4WZ34pFOxJWNE1X71na4oWz45rq dThZvpT3DWJGPIS4OeYm6DDSN8VDYBpVERdO1gmjygXr/m49oMT0dXWCxeyJtwmk1cnI 0A3v3A6LuBHpgZccEuQ7uVRciBLRxe5hGfC8vibj2YdT6rfbqlwcZSX/0JRj5H7KTrFM yQWVcej8YVwRQWR1BiwgSbY0nVwcKWqleW9nZBLz9DVJZuRNPQ3/79NcRmKKjBgRNws6 opKN33iBab4r+RraiuhSglh0Fe47w4ifRAuvnAexaSK91bb/37Zx2fT2ktgPcNxbKeWN AqZA== X-Forwarded-Encrypted: i=1; AJvYcCVPF9M1usUdlAIImjSzsjQPbCkf38P7+PaZ7gaihESwYEo7Zjseqbl6KBkGbs8r4iGvjALcV6Ha4QyVLs8=@vger.kernel.org X-Gm-Message-State: AOJu0YxBq4ulnzlL6Vd8xGrw+5x9tiKR26VB7zW2LNt3ZoZwKD9zo/M/ BpAX010kIMuzM37zwmw1/V0vvqjBSXqi3NAJjfbwYqcqwjzrwAFd4PzZ X-Gm-Gg: AZuq6aKpA01hnwQ8192dYIiWD7gYRAJv4wfylJqu/VETJczc/2iTNYi1+ON8Hbv/TV9 z+CVCPIMBO9pFbwME1yxcTgZS24Y9HLRTkvEJTuTwhY0p9o4YsNIIdLokCUT5N9nJLtyWzJheMM atvDYDAhbCtKpNQXuuHtUZZmIVrtgeiZQ2mEOM3uZnytawu010DyRhBiNMS7iqxRiZ8jkOqcwz4 H71kJSu2VjCrrrgAtlPvg8W6Pj7h/PCOQv07VM2eQcN0q6r+z700/jaxm9922/CwStAVpknJMP+ 1L8HIwgDQ9XHJ8tbBLTKdHDBAKwUC/9r9t+pfGa3KJkD4hYcLSvFLe/W1OAWa2pggZ5YqQOXbMA 0elZQViSHEccBOkDUozMDVJtw7pzu6Ynacc3DAuA/bRLfjGI2rpzZ9lERHYMUGXw/684WnKapDc ae8cQT7V4bJyzqY2eguudydkFxdH8SGYgwOqs= X-Received: by 2002:a17:90b:4a8b:b0:340:2a16:94be with SMTP id 98e67ed59e1d1-3543b313144mr10089523a91.4.1770012154139; Sun, 01 Feb 2026 22:02:34 -0800 (PST) Received: from localhost.localdomain ([60.51.11.72]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3540f17955asm14212294a91.0.2026.02.01.22.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 22:02:33 -0800 (PST) From: Khairul Anuar Romli To: Eugeniy Paltsev , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Markus.Elfring@web.de, Khairul Anuar Romli Subject: [PATCH v7 2/3] dmaengine: dw-axi-dmac: Add blank line after function Date: Mon, 2 Feb 2026 14:02:18 +0800 Message-ID: <20260202060224.12616-3-karom.9560@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260202060224.12616-1-karom.9560@gmail.com> References: <20260202060224.12616-1-karom.9560@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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. Fixes: 82b5c9d6d4de ("dmaengine: dw-axi-dmac: Add Intel KeemBay AxiDMA BYTE= and HALFWORD registers") Signed-off-by: Khairul Anuar Romli --- v6 -> v7: - Refine the details that was not included in v6. - Add Fixes that was not mentioned earlier. Reference to v6: https://lore.kernel.org/all/20260201000500.11882-3-karom.9560@gmail.com/ --- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c b/drivers/dma/d= w-axi-dmac/dw-axi-dmac-platform.c index 8bb97fb8fd4c..e59725376f8e 100644 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c @@ -419,6 +419,7 @@ static void dw_axi_dma_set_byte_halfword(struct axi_dma= _chan *chan, bool set) =20 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) --=20 2.43.0 From nobody Sat Feb 7 21:15:52 2026 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 232402F2914 for ; Mon, 2 Feb 2026 06:02:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770012158; cv=none; b=QpUJtFlst9dFbDPdGYwnCrCuhg/6T8PIymk8g1ZKhWaT255K2VGI/BnSCEpB4HsPQI0LdkTUzQZAAPbwmes0W8fhxNR8CikOzQgOXdB2LnSWJALvmXJkqvCYUx6GCenVRsO9ne1t8MEfk71WKO4bbVFex//ZRD59hlLl2kL7gyw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770012158; c=relaxed/simple; bh=AIZS6XquM3KKQ8mi4ZynCct+A3jH5Hynpx/Q4V5V/jI=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QwtXdD5H8eoiDOUPnlfx8wsF22diXRDKn0klvpgLeoqW7gL8MsDFDRJHNTqQaZkFtcnt4BZFiZzRCBKhcXlJcsa4fEgdw4WYHInaolIbqq5yaqKyfizRPolZSE52M/lygta+XhrcQrIWaTIBSeleWoAvPLTM3ber3+kxiIAD7fY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QKU7T6d7; arc=none smtp.client-ip=209.85.216.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QKU7T6d7" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-3530e7b3dc2so3255163a91.3 for ; Sun, 01 Feb 2026 22:02:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770012156; x=1770616956; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ggf2OvTgnHedycWgHUYuocKKN0MUpXmXtMRSz135Nzw=; b=QKU7T6d7MqgeWraHC6A7ZGSspA/sgbRxSV5WnRDooKXl7TMPGrEkGB3jx0DaoMekM/ 1+VAwEvysEJPe4U+aW8pohB3VjCmjpahD2QhfFv+9QT4zeEyKaeMH0Rxy+VYHLmiECOl buq8p3r2PaI3Ehy3pZVuz4vJ75wNA86qU+w5hYFvB/SP/CnD/4my5eVvqUesIOib9XOV 1LI2xQnZb033SAWoKl49VifoDJf006HXXQDEUCx1e9hsn8gxUlWz7T6e5AZ7UfqjE4GX +QmtDQlf+FXx/m/JOkB9DB2+EPcr/U+4PrWiB60rZb+VFmaf+P6kGNNjeliySlBAZcAi YvSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770012156; x=1770616956; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ggf2OvTgnHedycWgHUYuocKKN0MUpXmXtMRSz135Nzw=; b=EV2TJd57FUFCYLkPAlDmT+OYhw8abFbypEnHNDisT06Hh/40Ggh8xIZqa8TkCGz3g7 hYLi6jHRd20esNHr6yp+uVXsd0FZnweAs245lK+pZUkQpp147qxcmVn/FQvuI8p1lwBC t4DwWRl+yxvSHSfqJOm2FjY7F6qTjlIMhVHVYIsFBTZcs84LEzD9xtO7O8tEX+hBBrbp feoBmeQLLbWjMVYqkMypEsM1E2u+pzWroLTKhdYuOYiYAH8nref1aPBanzdJfNZ9t9hh 5og+JPV7I2ik+/LfU1JitxCvIDQ5mkiRqZK+4UYIDcZXAYyFVoWm7cZdACAqbIJSkzQ+ rjAA== X-Forwarded-Encrypted: i=1; AJvYcCWkEBbBgpvLVlzn0F8d1AEYy2Lc87x/G3iNruaMwYVj+CNKOvN9ia4kyVFux5r8q0IWlJmWoCrrged3pSA=@vger.kernel.org X-Gm-Message-State: AOJu0Yz54gpA4F5BFBE+7f0K5vY83OqZ/9yU/Hee4Qw79fSEIyXbxApG XOVdWGLz+Moe+fbAWah5iZ3ECcFi9yr/6w1zOpBRb1hfG+wRGawPUqnT X-Gm-Gg: AZuq6aIob0zagy96i7xd3ZocnWW54dGLCx8o20IIgCrSglItscQl+5Eizzvijjz8HTu SOY1/cXac80B5OCV7IKWJehUepFsgAm7f/7BJIOEvZm6wd44dyiGK8Ut3wvL556I5p+/oT4/qd8 Gr3IlSLJtoTJbJTKHnwwP7H6eVWU7gvka0idEUVK5uG60JA9JtpP+hxYjgp8BDKx+LWNtaFPNdD rceytjm7ap04Ksh2hDAmQ0N7+1nx9SfEyOm3myBF9QGyR7DzCJmfQ2SQfIKs+yNxxLEPbf3V8sB Jyc1VFyy5YSy5DXu0CuzNMTmnwvl+qMY+RFXNbZbP9YMhFxx0S8BjXce+Ac/NlKPmXFBgYOtKkb NQbRx4e5MzY7HIRcu7ZOrEcPUEKQ6S2INAKXgLe6mDc469El5ofLWyH0x0NrIMBJ9hkNxB2E82F KueD4HDs1Uxp5VoodfuRHO0tQW7dMgZ4ggw9h9he0BTBUMEg== X-Received: by 2002:a17:90b:3bc6:b0:34c:99d6:175d with SMTP id 98e67ed59e1d1-3543b2e0022mr10257933a91.2.1770012156586; Sun, 01 Feb 2026 22:02:36 -0800 (PST) Received: from localhost.localdomain ([60.51.11.72]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3540f17955asm14212294a91.0.2026.02.01.22.02.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Feb 2026 22:02:36 -0800 (PST) From: Khairul Anuar Romli To: Eugeniy Paltsev , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Markus.Elfring@web.de, Khairul Anuar Romli Subject: [PATCH 3/3] dmaengine: dw-axi-dmac: Remove unnecessary return statement from void function Date: Mon, 2 Feb 2026 14:02:19 +0800 Message-ID: <20260202060224.12616-4-karom.9560@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260202060224.12616-1-karom.9560@gmail.com> References: <20260202060224.12616-1-karom.9560@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" checkpatch.pl --strict reports a WARNING in dw-axi-dmac-platform.c: WARNING: void function return statements are not generally useful FILE: drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c According to Linux kernel coding style [Documentation/process/ coding-style.rst], explicit "return;" statements at the end of void functions are redundant and should be omitted. The function will automatically return upon reaching the closing brace, so the extra statement adds unnecessary clutter without functional benefit. This patch removes the superfluous "return;" statement in dw_axi_dma_set_hw_channel() to comply with kernel coding standards and eliminate the checkpatch warning. Fixes: 32286e279385 ("dmaengine: dw-axi-dmac: Remove free slot check algori= thm in dw_axi_dma_set_hw_channel") Signed-off-by: Khairul Anuar Romli --- v6 -> v7: - Make slightly adjustment to the commit title to reflect exactly to what the patch is address. - Refine the details in the patch summary. - Move the commit that the patch try to fix to Fixes. Reference to v6: https://lore.kernel.org/all/20260201000500.11882-4-karom.9560@gmail.com/ --- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c b/drivers/dma/d= w-axi-dmac/dw-axi-dmac-platform.c index e59725376f8e..c124ac6c8df6 100644 --- a/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +++ b/drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c @@ -593,8 +593,6 @@ static void dw_axi_dma_set_hw_channel(struct axi_dma_ch= an *chan, bool set) (chan->id * DMA_APB_HS_SEL_BIT_SIZE)); reg_value |=3D (val << (chan->id * DMA_APB_HS_SEL_BIT_SIZE)); lo_hi_writeq(reg_value, chip->apb_regs + DMAC_APB_HW_HS_SEL_0); - - return; } =20 /* --=20 2.43.0