tree:
https://github.com/miquelraynal/linux-0day.git perso/nand-next/flags
head: c5212e24213cba25bcc57e3bbe0781f3e9d83611
commit: 239f1a097e7517b69e4ddd6f12b972d046ec38ad [84/102] fixup! use field get instead of
defining obscure values
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 239f1a097e7517b69e4ddd6f12b972d046ec38ad
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/mtd/nand/raw/nand_base.c: In function 'nand_get_bits_per_cell':
> drivers/mtd/nand/raw/nand_base.c:4654:9: error: implicit
declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'?
[-Werror=implicit-function-declaration]
return FIELD_GET(GENMASK(3, 2), cellinfo) +
1;
^~~~~~~~~
FOLL_GET
cc1: some warnings being treated as errors
vim +4654 drivers/mtd/nand/raw/nand_base.c
4650
4651 /* Extract the bits of per cell from the 3rd byte of the extended ID */
4652 static int nand_get_bits_per_cell(u8 cellinfo)
4653 {
4654 return FIELD_GET(GENMASK(3, 2), cellinfo) + 1;
4655 }
4656
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org