* [PATCH] Fix typo in drivers/dma/qcom/bam_dma.c
@ 2024-09-11 19:56 kendra.j.moore3443
2024-09-12 6:46 ` Gustavo A. R. Silva
0 siblings, 1 reply; 2+ messages in thread
From: kendra.j.moore3443 @ 2024-09-11 19:56 UTC (permalink / raw)
To: gustavoars; +Cc: dmaengine, Kendra Moore
From: Kendra Moore <kendra.j.moore3443@gmail.com>
This patch corrects two spelling errors in this file.
Signed-off-by: Kendra Moore <kendra.j.moore3443@gmail.com>
---
drivers/dma/qcom/bam_dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom/bam_dma.c
index 5e7d332731e0..2d7550b8e03e 100644
--- a/drivers/dma/qcom/bam_dma.c
+++ b/drivers/dma/qcom/bam_dma.c
@@ -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);
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix typo in drivers/dma/qcom/bam_dma.c
2024-09-11 19:56 [PATCH] Fix typo in drivers/dma/qcom/bam_dma.c kendra.j.moore3443
@ 2024-09-12 6:46 ` Gustavo A. R. Silva
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo A. R. Silva @ 2024-09-12 6:46 UTC (permalink / raw)
To: kendra.j.moore3443, gustavoars; +Cc: dmaengine
On 11/09/24 13:56, kendra.j.moore3443@gmail.com wrote:
> From: Kendra Moore <kendra.j.moore3443@gmail.com>
>
> This patch corrects two spelling errors in this file.
>
> Signed-off-by: Kendra Moore <kendra.j.moore3443@gmail.com>
Not sure why this was sent to me and not to the maintainers of this
code, but it looks correct, so here you go:
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
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 <vkoul@kernel.org> (maintainer:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM)
linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING LIST)
dmaengine@vger.kernel.org (open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM)
linux-kernel@vger.kernel.org (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
> ---
> drivers/dma/qcom/bam_dma.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom/bam_dma.c
> index 5e7d332731e0..2d7550b8e03e 100644
> --- a/drivers/dma/qcom/bam_dma.c
> +++ b/drivers/dma/qcom/bam_dma.c
> @@ -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);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-12 6:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11 19:56 [PATCH] Fix typo in drivers/dma/qcom/bam_dma.c kendra.j.moore3443
2024-09-12 6:46 ` Gustavo A. R. Silva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox