public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 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
@ 2023-12-10  7:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-10  7:40 UTC (permalink / raw)
  To: Yifeng Zhao; +Cc: oe-kbuild-all, linux-kernel, Miquel Raynal

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312101522.stseR1ez-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-10  7:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-10  7:40 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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox