From: kernel test robot <lkp@intel.com>
To: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Miquel Raynal <miquel.raynal@bootlin.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
Date: Sun, 10 Dec 2023 15:40:46 +0800 [thread overview]
Message-ID: <202312101522.stseR1ez-lkp@intel.com> (raw)
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
reply other threads:[~2023-12-10 7:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312101522.stseR1ez-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=yifeng.zhao@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox