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: Tue Aug 29 2023 - 23:04:16 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d68b4b6f307d155475cce541f2aee938032ed22e
commit: d2c6d518c21d73d96616e08a19eccd4642f4bafa mmc: atmel-mci: move atmel MCI header file
date: 5 days ago
config: arm-multi_v5_defconfig (https://download.01.org/0day-ci/archive/20230830/202308301033.QNkvRXYc-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308301033.QNkvRXYc-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/202308301033.QNkvRXYc-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