drivers/mtd/nand/raw/pl35x-nand-controller.c:147: warning: Function parameter or member 'chips' not described in 'pl35x_nandc'

From: kernel test robot
Date: Sun Dec 10 2023 - 08:39:19 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c527f5606aa545233a4d2c6d5c636ed82b8633ef
commit: 08d8c62164a322eb923034acacf25246b775593a mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller
date: 2 years, 6 months ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231210/202312102130.geZ4dqyN-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231210/202312102130.geZ4dqyN-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/202312102130.geZ4dqyN-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/mtd/nand/raw/pl35x-nand-controller.c:147: warning: Function parameter or member 'chips' not described in 'pl35x_nandc'


vim +147 drivers/mtd/nand/raw/pl35x-nand-controller.c

126
127 /**
128 * struct pl35x_nandc - NAND flash controller driver structure
129 * @dev: Kernel device
130 * @conf_regs: SMC configuration registers for command phase
131 * @io_regs: NAND data registers for data phase
132 * @controller: Core NAND controller structure
133 * @chip: NAND chip information structure
134 * @selected_chip: NAND chip currently selected by the controller
135 * @assigned_cs: List of assigned CS
136 * @ecc_buf: Temporary buffer to extract ECC bytes
137 */
138 struct pl35x_nandc {
139 struct device *dev;
140 void __iomem *conf_regs;
141 void __iomem *io_regs;
142 struct nand_controller controller;
143 struct list_head chips;
144 struct nand_chip *selected_chip;
145 unsigned long assigned_cs;
146 u8 *ecc_buf;
> 147 };
148

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