drivers/mmc/host/atmel-mci.c:238: warning: Function parameter or member 'dma_filter' not described in 'mci_platform_data'

From: kernel test robot
Date: Fri Sep 01 2023 - 21:26:29 EST


Hi Balamanikandan,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0468be89b3fa5b9249cee1097f1d50314950a2df
commit: d2c6d518c21d73d96616e08a19eccd4642f4bafa mmc: atmel-mci: move atmel MCI header file
date: 8 days ago
config: arm-defconfig (https://download.01.org/0day-ci/archive/20230902/202309020937.C5S2sRnr-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309020937.C5S2sRnr-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/202309020937.C5S2sRnr-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/mmc/host/atmel-mci.c:238: warning: Function parameter or member 'dma_filter' not described in 'mci_platform_data'


vim +238 drivers/mmc/host/atmel-mci.c

228
229 /**
230 * struct mci_platform_data - board-specific MMC/SDcard configuration
231 * @dma_slave: DMA slave interface to use in data transfers.
232 * @slot: Per-slot configuration data.
233 */
234 struct mci_platform_data {
235 void *dma_slave;
236 dma_filter_fn dma_filter;
237 struct mci_slot_pdata slot[ATMCI_MAX_NR_SLOTS];
> 238 };
239

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