[linux-next:master 11150/11623] drivers/spi/spi-ep93xx.c:98: warning: Excess struct member 'dma_rx_data' description in 'ep93xx_spi'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   57f962b956f1d116cd64d5c406776c4975de549d
commit: 03710ea649d402dda88ec49560bff25d94a62f6c [11150/11623] spi: ep93xx: add DT support for Cirrus EP93xx
config: mips-randconfig-r062-20231226 (https://download.01.org/0day-ci/archive/20240912/202409122047.KiYAnPfk-lkp@xxxxxxxxx/config)
compiler: mips-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240912/202409122047.KiYAnPfk-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409122047.KiYAnPfk-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> 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'


vim +98 drivers/spi/spi-ep93xx.c

011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  67  
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  68  /**
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  69   * struct ep93xx_spi - EP93xx SPI controller structure
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  70   * @clk: clock for the controller
1232978a0dff2d drivers/spi/spi-ep93xx.c H Hartley Sweeten 2017-08-09  71   * @mmio: pointer to ioremap()'d registers
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  72   * @sspdr_phys: physical address of the SSPDR register
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  73   * @tx: current byte in transfer to transmit
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  74   * @rx: current byte in transfer to receive
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  75   * @fifo_level: how full is FIFO (%0..%SPI_FIFO_SIZE - %1). Receiving one
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  76   *              frame decreases this level and sending one frame increases it.
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  77   * @dma_rx: RX DMA channel
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  78   * @dma_tx: TX DMA channel
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  79   * @dma_rx_data: RX parameters passed to the DMA engine
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  80   * @dma_tx_data: TX parameters passed to the DMA engine
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  81   * @rx_sgt: sg table for RX transfers
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  82   * @tx_sgt: sg table for TX transfers
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  83   * @zeropage: dummy page used as RX buffer when only TX buffer is passed in by
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  84   *            the client
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  85   */
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  86  struct ep93xx_spi {
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  87  	struct clk			*clk;
1232978a0dff2d drivers/spi/spi-ep93xx.c H Hartley Sweeten 2017-08-09  88  	void __iomem			*mmio;
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  89  	unsigned long			sspdr_phys;
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  90  	size_t				tx;
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  91  	size_t				rx;
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  92  	size_t				fifo_level;
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  93  	struct dma_chan			*dma_rx;
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  94  	struct dma_chan			*dma_tx;
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  95  	struct sg_table			rx_sgt;
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  96  	struct sg_table			tx_sgt;
626a96db116981 drivers/spi/ep93xx_spi.c Mika Westerberg   2011-05-29  97  	void				*zeropage;
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06 @98  };
011f23a3c2f20a drivers/spi/ep93xx_spi.c Mika Westerberg   2010-05-06  99  

:::::: The code at line 98 was first introduced by commit
:::::: 011f23a3c2f20ae15b7664d3942493af107fe39b spi/ep93xx: implemented driver for Cirrus EP93xx SPI controller

:::::: TO: Mika Westerberg <mika.westerberg@xxxxxx>
:::::: CC: Grant Likely <grant.likely@xxxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux