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

From: Randy Dunlap
Date: Sat Jul 22 2023 - 10:31:41 EST




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 <chris.zjh@xxxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
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