[PATCH] spi: ep93xx: update kerneldoc comments for ep93xx_spi

Arnd Bergmann posted 1 patch 2 months, 2 weeks ago
drivers/spi/spi-ep93xx.c | 2 --
1 file changed, 2 deletions(-)
[PATCH] spi: ep93xx: update kerneldoc comments for ep93xx_spi
Posted by Arnd Bergmann 2 months, 2 weeks ago
From: Arnd Bergmann <arnd@arndb.de>

Two fields got removed but are still documented:

drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_rx_data' description in 'ep93xx_spi'
drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_tx_data' description in 'ep93xx_spi'

Fixes: 3cfe73256905 ("spi: ep93xx: add DT support for Cirrus EP93xx")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I've added this fixup in the ep93xx/dt-conversion branch

 drivers/spi/spi-ep93xx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
index ffbe0d522bce..dc6bdc74643d 100644
--- a/drivers/spi/spi-ep93xx.c
+++ b/drivers/spi/spi-ep93xx.c
@@ -76,8 +76,6 @@
  *              frame decreases this level and sending one frame increases it.
  * @dma_rx: RX DMA channel
  * @dma_tx: TX DMA channel
- * @dma_rx_data: RX parameters passed to the DMA engine
- * @dma_tx_data: TX parameters passed to the DMA engine
  * @rx_sgt: sg table for RX transfers
  * @tx_sgt: sg table for TX transfers
  * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by
-- 
2.39.2
Re: [PATCH] spi: ep93xx: update kerneldoc comments for ep93xx_spi
Posted by Alexander Sverdlin 2 months, 2 weeks ago
On Thu, 2024-09-12 at 13:21 +0000, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Two fields got removed but are still documented:
> 
> drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_rx_data' description in 'ep93xx_spi'
> drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_tx_data' description in 'ep93xx_spi'
> 
> Fixes: 3cfe73256905 ("spi: ep93xx: add DT support for Cirrus EP93xx")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>

> ---
> I've added this fixup in the ep93xx/dt-conversion branch
> 
>  drivers/spi/spi-ep93xx.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
> index ffbe0d522bce..dc6bdc74643d 100644
> --- a/drivers/spi/spi-ep93xx.c
> +++ b/drivers/spi/spi-ep93xx.c
> @@ -76,8 +76,6 @@
>   *              frame decreases this level and sending one frame increases it.
>   * @dma_rx: RX DMA channel
>   * @dma_tx: TX DMA channel
> - * @dma_rx_data: RX parameters passed to the DMA engine
> - * @dma_tx_data: TX parameters passed to the DMA engine
>   * @rx_sgt: sg table for RX transfers
>   * @tx_sgt: sg table for TX transfers
>   * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by

-- 
Alexander Sverdlin.