From: Vinod Koul <vkoul@kernel.org>
To: Hemanth Selam <hemanth.selam@gmail.com>
Cc: Frank Li <Frank.Li@kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Michal Simek <michal.simek@amd.com>,
dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] dmaengine: fix typos in comments
Date: Mon, 5 Oct 2026 15:58:42 +0200 [thread overview]
Message-ID: <asOtEhjOMXc9SVNP@parshuram> (raw)
In-Reply-To: <20260907063343.22255-1-hemanth.selam@gmail.com>
On 07-09-26, 12:03, Hemanth Selam wrote:
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt. Only touches comments, no code
> changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
> drivers/dma/bcm-sba-raid.c | 8 ++++----
> drivers/dma/ppc4xx/xor.h | 2 +-
> drivers/dma/xilinx/xilinx_dpdma.c | 2 +-
> 3 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/dma/bcm-sba-raid.c b/drivers/dma/bcm-sba-raid.c
> index 0de03611252e..485fcde390dd 100644
> --- a/drivers/dma/bcm-sba-raid.c
> +++ b/drivers/dma/bcm-sba-raid.c
> @@ -734,7 +734,7 @@ sba_prep_dma_memcpy(struct dma_chan *dchan, dma_addr_t dst, dma_addr_t src,
> struct sba_device *sba = to_sba_device(dchan);
> struct sba_request *first = NULL, *req;
>
> - /* Create chained requests where each request is upto hw_buf_size */
> + /* Create chained requests where each request is up to hw_buf_size */
This is bogus, pls drop these... If there are real typos pls fix those
instead! This is not a language book, it is code, upto should be just
fine!
> while (len) {
> req_len = (len < sba->hw_buf_size) ? len : sba->hw_buf_size;
>
> @@ -877,7 +877,7 @@ sba_prep_dma_xor(struct dma_chan *dchan, dma_addr_t dst, dma_addr_t *src,
> if (unlikely(src_cnt > sba->max_xor_srcs))
> return NULL;
>
> - /* Create chained requests where each request is upto hw_buf_size */
> + /* Create chained requests where each request is up to hw_buf_size */
> while (len) {
> req_len = (len < sba->hw_buf_size) ? len : sba->hw_buf_size;
>
> @@ -1356,7 +1356,7 @@ sba_prep_dma_pq(struct dma_chan *dchan, dma_addr_t *dst, dma_addr_t *src,
> if (!(flags & DMA_PREP_PQ_DISABLE_Q))
> dst_q = &dst[1];
>
> - /* Create chained requests where each request is upto hw_buf_size */
> + /* Create chained requests where each request is up to hw_buf_size */
> while (len) {
> req_len = (len < sba->hw_buf_size) ? len : sba->hw_buf_size;
>
> @@ -1626,7 +1626,7 @@ static int sba_probe(struct platform_device *pdev)
> sba->dev = &pdev->dev;
> platform_set_drvdata(pdev, sba);
>
> - /* Number of mailbox channels should be atleast 1 */
> + /* Number of mailbox channels should be at least 1 */
> ret = of_count_phandle_with_args(pdev->dev.of_node,
> "mboxes", "#mbox-cells");
> if (ret <= 0)
> diff --git a/drivers/dma/ppc4xx/xor.h b/drivers/dma/ppc4xx/xor.h
> index da1230df2817..0931e18cd0d3 100644
> --- a/drivers/dma/ppc4xx/xor.h
> +++ b/drivers/dma/ppc4xx/xor.h
> @@ -12,7 +12,7 @@
>
> #include <linux/types.h>
>
> -/* Number of XOR engines available on the contoller */
> +/* Number of XOR engines available on the controller */
> #define XOR_ENGINES_NUM 1
>
> /* Number of operands supported in the h/w */
> diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c
> index d9a3542c4531..bcc188e70441 100644
> --- a/drivers/dma/xilinx/xilinx_dpdma.c
> +++ b/drivers/dma/xilinx/xilinx_dpdma.c
> @@ -1032,7 +1032,7 @@ static int xilinx_dpdma_chan_wait_no_ostand(struct xilinx_dpdma_chan *chan)
> {
> int ret;
>
> - /* Wait for a no outstanding transaction interrupt upto 50msec */
> + /* Wait for a no outstanding transaction interrupt up to 50msec */
> ret = wait_event_interruptible_timeout(chan->wait_to_stop,
> !xilinx_dpdma_chan_ostand(chan),
> msecs_to_jiffies(50));
> --
> 2.48.1
--
~Vinod
next prev parent reply other threads:[~2026-10-05 13:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 6:33 Hemanth Selam
2026-09-30 20:22 ` Frank Li
2026-10-05 13:58 ` Vinod Koul [this message]
2026-10-06 6:02 ` Hemanth Selam
2026-10-06 8:36 ` Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2022-05-21 11:11 Julia Lawall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=asOtEhjOMXc9SVNP@parshuram \
--to=vkoul@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=hemanth.selam@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®