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: h8300-randconfig-r004-20200512 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 239f1a097e7517b69e4ddd6f12b972d046ec38ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=h8300
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]
4654 | 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