mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
@ 2025-05-22 16:32 Hans Zhang
  2025-05-22 16:35 ` Krzysztof Wilczyński
  2025-05-22 16:37 ` Hans Zhang
  0 siblings, 2 replies; 9+ messages in thread
From: Hans Zhang @ 2025-05-22 16:32 UTC (permalink / raw)
  To: bhelgaas, kwilczynski, manivannan.sadhasivam
  Cc: ajayagarwal, ilpo.jarvinen, linux-pci, linux-kernel, Hans Zhang

Fix the kernel-doc warning by describing the 'dma_dev' member in
the tegra_i2c_dev struct.  This resolves the compilation warning:

drivers/i2c/busses/i2c-tegra.c:297: warning: Function parameter or struct member 'dma_dev' not described in 'tegra_i2c_dev'

Fixes: cdbf26251d3b ("i2c: tegra: Allocate DMA memory for DMA engine")
Signed-off-by: Hans Zhang <18255117159@163.com>
---
 drivers/i2c/busses/i2c-tegra.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 87976e99e6d0..07bb1e7e84cc 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -253,6 +253,7 @@ struct tegra_i2c_hw_feature {
  * @dma_phys: handle to DMA resources
  * @dma_buf: pointer to allocated DMA buffer
  * @dma_buf_size: DMA buffer size
+ * @dma_dev: DMA device used for transfers
  * @dma_mode: indicates active DMA transfer
  * @dma_complete: DMA completion notifier
  * @atomic_mode: indicates active atomic transfer

base-commit: fee3e843b309444f48157e2188efa6818bae85cf
-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:32 [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member Hans Zhang
@ 2025-05-22 16:35 ` Krzysztof Wilczyński
  2025-05-22 16:39   ` Hans Zhang
  2025-05-22 16:37 ` Hans Zhang
  1 sibling, 1 reply; 9+ messages in thread
From: Krzysztof Wilczyński @ 2025-05-22 16:35 UTC (permalink / raw)
  To: Hans Zhang
  Cc: bhelgaas, manivannan.sadhasivam, ajayagarwal, ilpo.jarvinen,
	linux-pci, linux-kernel

Hello,

[...]
>  drivers/i2c/busses/i2c-tegra.c | 1 +

I think you got a wrong set of maintainers here. :)

Thank you!

	Krzysztof

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:32 [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member Hans Zhang
  2025-05-22 16:35 ` Krzysztof Wilczyński
@ 2025-05-22 16:37 ` Hans Zhang
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Zhang @ 2025-05-22 16:37 UTC (permalink / raw)
  To: bhelgaas, kwilczynski, manivannan.sadhasivam
  Cc: ajayagarwal, ilpo.jarvinen, linux-pci, linux-kernel

Dear all,

I'm very sorry for the warning that occurred during my local 
compilation. Then I made a patch on the spot. I sent the wrong email. 
Please ignore it.

Best regards,
Hans

On 2025/5/23 00:32, Hans Zhang wrote:
> Fix the kernel-doc warning by describing the 'dma_dev' member in
> the tegra_i2c_dev struct.  This resolves the compilation warning:
> 
> drivers/i2c/busses/i2c-tegra.c:297: warning: Function parameter or struct member 'dma_dev' not described in 'tegra_i2c_dev'
> 
> Fixes: cdbf26251d3b ("i2c: tegra: Allocate DMA memory for DMA engine")
> Signed-off-by: Hans Zhang <18255117159@163.com>
> ---
>   drivers/i2c/busses/i2c-tegra.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
> index 87976e99e6d0..07bb1e7e84cc 100644
> --- a/drivers/i2c/busses/i2c-tegra.c
> +++ b/drivers/i2c/busses/i2c-tegra.c
> @@ -253,6 +253,7 @@ struct tegra_i2c_hw_feature {
>    * @dma_phys: handle to DMA resources
>    * @dma_buf: pointer to allocated DMA buffer
>    * @dma_buf_size: DMA buffer size
> + * @dma_dev: DMA device used for transfers
>    * @dma_mode: indicates active DMA transfer
>    * @dma_complete: DMA completion notifier
>    * @atomic_mode: indicates active atomic transfer
> 
> base-commit: fee3e843b309444f48157e2188efa6818bae85cf


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:35 ` Krzysztof Wilczyński
@ 2025-05-22 16:39   ` Hans Zhang
  2025-05-22 16:40     ` Hans Zhang
  2025-05-22 16:42     ` Krzysztof Wilczyński
  0 siblings, 2 replies; 9+ messages in thread
From: Hans Zhang @ 2025-05-22 16:39 UTC (permalink / raw)
  To: Krzysztof Wilczyński
  Cc: bhelgaas, manivannan.sadhasivam, ajayagarwal, ilpo.jarvinen,
	linux-pci, linux-kernel



On 2025/5/23 00:35, Krzysztof Wilczyński wrote:
> Hello,
> 
> [...]
>>   drivers/i2c/busses/i2c-tegra.c | 1 +
> 
> I think you got a wrong set of maintainers here. :)
> 
> Thank you!
> 
> 	Krzysztof

Dear Krzysztof,

Yes, I just found out. I'm very sorry.

Best regards,
Hans


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:39   ` Hans Zhang
@ 2025-05-22 16:40     ` Hans Zhang
  2025-05-22 16:42     ` Krzysztof Wilczyński
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Zhang @ 2025-05-22 16:40 UTC (permalink / raw)
  To: Krzysztof Wilczyński
  Cc: bhelgaas, manivannan.sadhasivam, ajayagarwal, ilpo.jarvinen,
	linux-pci, linux-kernel



On 2025/5/23 00:39, Hans Zhang wrote:
> 
> 
> On 2025/5/23 00:35, Krzysztof Wilczyński wrote:
>> Hello,
>>
>> [...]
>>>   drivers/i2c/busses/i2c-tegra.c | 1 +
>>
>> I think you got a wrong set of maintainers here. :)
>>
>> Thank you!
>>
>>     Krzysztof
> 
> Dear Krzysztof,
> 
> Yes, I just found out. I'm very sorry.
> 

The notes made locally have been copied and sent to the previous email 
address. It has been resent to the corresponding Maintainer. :)

> Best regards,
> Hans


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:39   ` Hans Zhang
  2025-05-22 16:40     ` Hans Zhang
@ 2025-05-22 16:42     ` Krzysztof Wilczyński
  1 sibling, 0 replies; 9+ messages in thread
From: Krzysztof Wilczyński @ 2025-05-22 16:42 UTC (permalink / raw)
  To: Hans Zhang
  Cc: bhelgaas, manivannan.sadhasivam, ajayagarwal, ilpo.jarvinen,
	linux-pci, linux-kernel

> > I think you got a wrong set of maintainers here. :)
> > [...]
> 
> Yes, I just found out. I'm very sorry.

No worries.  Not a problem. :)

Thank you!

	Krzysztof

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:38 Hans Zhang
  2025-06-12 16:37 ` Hans Zhang
@ 2025-06-25 21:02 ` Andi Shyti
  1 sibling, 0 replies; 9+ messages in thread
From: Andi Shyti @ 2025-06-25 21:02 UTC (permalink / raw)
  To: Hans Zhang
  Cc: ldewangan, thierry.reding, jonathanh, digetx, linux-i2c,
	linux-tegra, linux-kernel, hans.zhang

Hi Hans,

On Fri, May 23, 2025 at 12:38:14AM +0800, Hans Zhang wrote:
> Fix the kernel-doc warning by describing the 'dma_dev' member in
> the tegra_i2c_dev struct.  This resolves the compilation warning:
> 
> drivers/i2c/busses/i2c-tegra.c:297: warning: Function parameter or struct member 'dma_dev' not described in 'tegra_i2c_dev'
> 
> Fixes: cdbf26251d3b ("i2c: tegra: Allocate DMA memory for DMA engine")
> Signed-off-by: Hans Zhang <18255117159@163.com>

Thanks for your patch. I merged it in i2c/i2c-host without the
Fixes tag as this is not a fix which deserves to be backported to
older kernels.

Thanks,
Andi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
  2025-05-22 16:38 Hans Zhang
@ 2025-06-12 16:37 ` Hans Zhang
  2025-06-25 21:02 ` Andi Shyti
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Zhang @ 2025-06-12 16:37 UTC (permalink / raw)
  To: ldewangan, andi.shyti, thierry.reding, jonathanh
  Cc: digetx, linux-i2c, linux-tegra, linux-kernel, hans.zhang

Hi all,

Gentle ping.

Best regards,
Hans

On 2025/5/23 00:38, Hans Zhang wrote:
> Fix the kernel-doc warning by describing the 'dma_dev' member in
> the tegra_i2c_dev struct.  This resolves the compilation warning:
> 
> drivers/i2c/busses/i2c-tegra.c:297: warning: Function parameter or struct member 'dma_dev' not described in 'tegra_i2c_dev'
> 
> Fixes: cdbf26251d3b ("i2c: tegra: Allocate DMA memory for DMA engine")
> Signed-off-by: Hans Zhang <18255117159@163.com>
> ---
>   drivers/i2c/busses/i2c-tegra.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
> index 87976e99e6d0..07bb1e7e84cc 100644
> --- a/drivers/i2c/busses/i2c-tegra.c
> +++ b/drivers/i2c/busses/i2c-tegra.c
> @@ -253,6 +253,7 @@ struct tegra_i2c_hw_feature {
>    * @dma_phys: handle to DMA resources
>    * @dma_buf: pointer to allocated DMA buffer
>    * @dma_buf_size: DMA buffer size
> + * @dma_dev: DMA device used for transfers
>    * @dma_mode: indicates active DMA transfer
>    * @dma_complete: DMA completion notifier
>    * @atomic_mode: indicates active atomic transfer
> 
> base-commit: fee3e843b309444f48157e2188efa6818bae85cf


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member
@ 2025-05-22 16:38 Hans Zhang
  2025-06-12 16:37 ` Hans Zhang
  2025-06-25 21:02 ` Andi Shyti
  0 siblings, 2 replies; 9+ messages in thread
From: Hans Zhang @ 2025-05-22 16:38 UTC (permalink / raw)
  To: ldewangan, andi.shyti, thierry.reding, jonathanh
  Cc: digetx, linux-i2c, linux-tegra, linux-kernel, hans.zhang, Hans Zhang

Fix the kernel-doc warning by describing the 'dma_dev' member in
the tegra_i2c_dev struct.  This resolves the compilation warning:

drivers/i2c/busses/i2c-tegra.c:297: warning: Function parameter or struct member 'dma_dev' not described in 'tegra_i2c_dev'

Fixes: cdbf26251d3b ("i2c: tegra: Allocate DMA memory for DMA engine")
Signed-off-by: Hans Zhang <18255117159@163.com>
---
 drivers/i2c/busses/i2c-tegra.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 87976e99e6d0..07bb1e7e84cc 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -253,6 +253,7 @@ struct tegra_i2c_hw_feature {
  * @dma_phys: handle to DMA resources
  * @dma_buf: pointer to allocated DMA buffer
  * @dma_buf_size: DMA buffer size
+ * @dma_dev: DMA device used for transfers
  * @dma_mode: indicates active DMA transfer
  * @dma_complete: DMA completion notifier
  * @atomic_mode: indicates active atomic transfer

base-commit: fee3e843b309444f48157e2188efa6818bae85cf
-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-06-25 21:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-22 16:32 [PATCH] i2c: tegra: Add missing kernel-doc for dma_dev member Hans Zhang
2025-05-22 16:35 ` Krzysztof Wilczyński
2025-05-22 16:39   ` Hans Zhang
2025-05-22 16:40     ` Hans Zhang
2025-05-22 16:42     ` Krzysztof Wilczyński
2025-05-22 16:37 ` Hans Zhang
2025-05-22 16:38 Hans Zhang
2025-06-12 16:37 ` Hans Zhang
2025-06-25 21:02 ` Andi Shyti

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®