lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 10 Dec 2023 15:40:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yifeng Zhao <yifeng.zhao@...k-chips.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Miquel Raynal <miquel.raynal@...tlin.com>
Subject: 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

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ