2023-07-22 08:08:15

by Zhang Jianhua

[permalink] [raw]
Subject: [PATCH -next] dmaengine: owl-dma: Modify mismatched function name

No functional modification involved.

drivers/dma/owl-dma.c:208: warning: expecting prototype for struct owl_dma_pchan. Prototype was for struct owl_dma_vchan instead HDRTEST usr/include/sound/asequencer.h

Fixes: 47e20577c24d ("dmaengine: Add Actions Semi Owl family S900 DMA driver")
Signed-off-by: Zhang Jianhua <[email protected]>
---
drivers/dma/owl-dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/owl-dma.c b/drivers/dma/owl-dma.c
index 95a462a1f511..b6e0ac8314e5 100644
--- a/drivers/dma/owl-dma.c
+++ b/drivers/dma/owl-dma.c
@@ -192,7 +192,7 @@ struct owl_dma_pchan {
};

/**
- * struct owl_dma_pchan - Wrapper for DMA ENGINE channel
+ * struct owl_dma_vchan - Wrapper for DMA ENGINE channel
* @vc: wrapped virtual channel
* @pchan: the physical channel utilized by this channel
* @txd: active transaction on this channel
--
2.34.1



2023-07-22 14:50:17

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH -next] dmaengine: owl-dma: Modify mismatched function name



On 7/22/23 08:32, Zhang Jianhua wrote:
> No functional modification involved.
>
> drivers/dma/owl-dma.c:208: warning: expecting prototype for struct owl_dma_pchan. Prototype was for struct owl_dma_vchan instead HDRTEST usr/include/sound/asequencer.h
>
> Fixes: 47e20577c24d ("dmaengine: Add Actions Semi Owl family S900 DMA driver")
> Signed-off-by: Zhang Jianhua <[email protected]>

Reviewed-by: Randy Dunlap <[email protected]>
Thanks.

> ---
> drivers/dma/owl-dma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/owl-dma.c b/drivers/dma/owl-dma.c
> index 95a462a1f511..b6e0ac8314e5 100644
> --- a/drivers/dma/owl-dma.c
> +++ b/drivers/dma/owl-dma.c
> @@ -192,7 +192,7 @@ struct owl_dma_pchan {
> };
>
> /**
> - * struct owl_dma_pchan - Wrapper for DMA ENGINE channel
> + * struct owl_dma_vchan - Wrapper for DMA ENGINE channel
> * @vc: wrapped virtual channel
> * @pchan: the physical channel utilized by this channel
> * @txd: active transaction on this channel

--
~Randy

2023-08-01 19:05:11

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH -next] dmaengine: owl-dma: Modify mismatched function name


On Sat, 22 Jul 2023 15:32:44 +0000, Zhang Jianhua wrote:
> No functional modification involved.
>
> drivers/dma/owl-dma.c:208: warning: expecting prototype for struct owl_dma_pchan. Prototype was for struct owl_dma_vchan instead HDRTEST usr/include/sound/asequencer.h
>
>

Applied, thanks!

[1/1] dmaengine: owl-dma: Modify mismatched function name
commit: b4b349f73efae39b6646d82cc1ee081b85645f7b

Best regards,
--
~Vinod