drivers/mtd/nand/raw/rockchip-nand-controller.c:109: warning: expecting prototype for struct rk_ecc_cnt_status. Prototype was for struct ecc_cnt_status instead
From: kernel test robot
Date: Sun Dec 10 2023 - 02:41:45 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c527f5606aa545233a4d2c6d5c636ed82b8633ef
commit: 058e0e847d54944c5dc9ec6d29727e1449feb131 mtd: rawnand: rockchip: NFC driver for RK3308, RK2928 and others
date: 3 years ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231210/202312101522.stseR1ez-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/202312101522.stseR1ez-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/202312101522.stseR1ez-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/mtd/nand/raw/rockchip-nand-controller.c:109: warning: expecting prototype for struct rk_ecc_cnt_status. Prototype was for struct ecc_cnt_status instead
drivers/mtd/nand/raw/rockchip-nand-controller.c:112: warning: Cannot understand * @type: NFC version
on line 112 - I thought it was a doc line
vim +109 drivers/mtd/nand/raw/rockchip-nand-controller.c
92
93 /**
94 * struct rk_ecc_cnt_status: represent a ecc status data.
95 * @err_flag_bit: error flag bit index at register.
96 * @low: ECC count low bit index at register.
97 * @low_mask: mask bit.
98 * @low_bn: ECC count low bit number.
99 * @high: ECC count high bit index at register.
100 * @high_mask: mask bit
101 */
102 struct ecc_cnt_status {
103 u8 err_flag_bit;
104 u8 low;
105 u8 low_mask;
106 u8 low_bn;
107 u8 high;
108 u8 high_mask;
> 109 };
110
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki