drivers/mtd/nand/raw/s3c2410.c:169: warning: Excess struct member 'freq_transition' description in 's3c2410_nand_info'
From: kernel test robot
Date: Thu Dec 14 2023 - 18:18:00 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c7402612e2e61b76177f22e6e7f705adcbecc6fe
commit: 1ea35b355722675b3b654475a37898742731d016 ARM: s3c: remove s3c24xx specific hacks
date: 11 months ago
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20231215/202312150611.EZBAQYqf-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/20231215/202312150611.EZBAQYqf-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/202312150611.EZBAQYqf-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/mtd/nand/raw/s3c2410.c:118: warning: Excess struct member 'mtd' description in 's3c2410_nand_mtd'
>> drivers/mtd/nand/raw/s3c2410.c:169: warning: Excess struct member 'freq_transition' description in 's3c2410_nand_info'
vim +169 drivers/mtd/nand/raw/s3c2410.c
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 133
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 134 /**
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 135 * struct s3c2410_nand_info - NAND controller state.
5a933b0dae2ee7 drivers/mtd/nand/raw/s3c2410.c Lee Jones 2020-11-09 136 * @controller: Base controller structure.
5a933b0dae2ee7 drivers/mtd/nand/raw/s3c2410.c Lee Jones 2020-11-09 137 * @mtds: An array of MTD instances on this controller.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 138 * @platform: The platform data for this board.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 139 * @device: The platform device we bound to.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 140 * @clk: The clock resource for this controller.
6f32a3e2853da1 drivers/mtd/nand/s3c2410.c Sachin Kamat 2012-08-21 141 * @regs: The area mapped for the hardware registers.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 142 * @sel_reg: Pointer to the register controlling the NAND selection.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 143 * @sel_bit: The bit in @sel_reg to select the NAND chip.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 144 * @mtd_count: The number of MTDs created from this controller.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 145 * @save_sel: The contents of @sel_reg to be saved over suspend.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 146 * @clk_rate: The clock rate from @clk.
ac497c1602555c drivers/mtd/nand/s3c2410.c Jiri Pinkava 2011-04-13 147 * @clk_state: The current clock state.
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 148 * @cpu_type: The exact type of this controller.
5a933b0dae2ee7 drivers/mtd/nand/raw/s3c2410.c Lee Jones 2020-11-09 149 * @freq_transition: CPUFreq notifier block
3db72151aa4c24 drivers/mtd/nand/s3c2410.c Ben Dooks 2009-05-30 150 */
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 151 struct s3c2410_nand_info {
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 152 /* mtd info */
7da45139d264f3 drivers/mtd/nand/raw/s3c2410.c Miquel Raynal 2018-07-17 153 struct nand_controller controller;
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 154 struct s3c2410_nand_mtd *mtds;
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 155 struct s3c2410_platform_nand *platform;
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 156
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 157 /* device info */
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 158 struct device *device;
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 159 struct clk *clk;
fdf2fd52746bbf drivers/mtd/nand/s3c2410.c Ben Dooks 2005-02-18 160 void __iomem *regs;
2c06a0821711a5 drivers/mtd/nand/s3c2410.c Ben Dooks 2006-06-27 161 void __iomem *sel_reg;
2c06a0821711a5 drivers/mtd/nand/s3c2410.c Ben Dooks 2006-06-27 162 int sel_bit;
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 163 int mtd_count;
0916083210039b drivers/mtd/nand/s3c2410.c Ben Dooks 2008-04-15 164 unsigned long save_sel;
30821fee4f0cb3 drivers/mtd/nand/s3c2410.c Ben Dooks 2008-07-15 165 unsigned long clk_rate;
ac497c1602555c drivers/mtd/nand/s3c2410.c Jiri Pinkava 2011-04-13 166 enum s3c_nand_clk_state clk_state;
03680b1e00d146 drivers/mtd/nand/s3c2410.c Ben Dooks 2007-11-19 167
2c06a0821711a5 drivers/mtd/nand/s3c2410.c Ben Dooks 2006-06-27 168 enum s3c_cpu_type cpu_type;
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 @169 };
^1da177e4c3f41 drivers/mtd/nand/s3c2410.c Linus Torvalds 2005-04-16 170
:::::: The code at line 169 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki