Skip to contentSkip to conversation

Fix typo in drivers/dma/qcom/bam_dma.c

PATCH In review [email protected] 2 participants 2 messages Sep 11, 2024 – Sep 12, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in drivers/dma/qcom/bam_dma.c

From: Kendra Moore <[email protected]>

This patch corrects two spelling errors in this file.

---
 drivers/dma/qcom/bam_dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma/qcom/bam_dma.c +2 -2
index 5e7d332731e0..2d7550b8e03e 100644
@@ -440,7 +440,7 @@ static void bam_reset(struct bam_device *bdev)
 	val |= BAM_EN;
 	writel_relaxed(val, bam_addr(bdev, 0, BAM_CTRL));
 
-	/* set descriptor threshhold, start with 4 bytes */
+	/* set descriptor threshold, start with 4 bytes */
 	writel_relaxed(DEFAULT_CNT_THRSHLD,
 			bam_addr(bdev, 0, BAM_DESC_CNT_TRSHLD));
 
@@ -667,7 +667,7 @@ static struct dma_async_tx_descriptor *bam_prep_slave_sg(struct dma_chan *chan,
 	for_each_sg(sgl, sg, sg_len, i)
 		num_alloc += DIV_ROUND_UP(sg_dma_len(sg), BAM_FIFO_SIZE);
 
-	/* allocate enough room to accomodate the number of entries */
+	/* allocate enough room to accommodate the number of entries */
 	async_desc = kzalloc(struct_size(async_desc, desc, num_alloc),
 			     GFP_NOWAIT);
 
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On 11/09/24 13:56, [email protected] wrote:

From: Kendra Moore <[email protected]>

This patch corrects two spelling errors in this file.

Not sure why this was sent to me and not to the maintainers of this code, but it looks correct, so here you go:

To get the list of people and mailing lists your patches should be sent to, run the following command on your patches:

scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback <path-to-your-patch>

In this case, I ran:

$ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback -f drivers/dma/qcom/bam_dma.c
Vinod Koul <[email protected]> (maintainer:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM)
[email protected] (open list:ARM/QUALCOMM MAILING LIST)
[email protected] (open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM)
[email protected] (open list)

These are all the people and lists you have to send this changes to.

You can also create an alias to avoid typing the script name and options every time.

I hope this helps.
--
Gustavo

Quoted 26 lines
---
  drivers/dma/qcom/bam_dma.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma/qcom/bam_dma.c +2 -2
index 5e7d332731e0..2d7550b8e03e 100644
@@ -440,7 +440,7 @@ static void bam_reset(struct bam_device *bdev)
  	val |= BAM_EN;
  	writel_relaxed(val, bam_addr(bdev, 0, BAM_CTRL));
 
-	/* set descriptor threshhold, start with 4 bytes */
+	/* set descriptor threshold, start with 4 bytes */
  	writel_relaxed(DEFAULT_CNT_THRSHLD,
  			bam_addr(bdev, 0, BAM_DESC_CNT_TRSHLD));
 
@@ -667,7 +667,7 @@ static struct dma_async_tx_descriptor *bam_prep_slave_sg(struct dma_chan *chan,
  	for_each_sg(sgl, sg, sg_len, i)
  		num_alloc += DIV_ROUND_UP(sg_dma_len(sg), BAM_FIFO_SIZE);
 
-	/* allocate enough room to accomodate the number of entries */
+	/* allocate enough room to accommodate the number of entries */
  	async_desc = kzalloc(struct_size(async_desc, desc, num_alloc),
  			     GFP_NOWAIT);