Messages in this thread | | | Date | Wed, 21 Sep 2022 10:40:02 +0200 | From | Miquel Raynal <> | Subject | Re: [mtd:nand/next 11/31] drivers/mtd/nand/raw/cadence-nand-controller.c:1893:4: error: implicit declaration of function 'ioread64_rep' is invalid in C99 |
| |
Hi Valentin,
lkp@intel.com wrote on Wed, 21 Sep 2022 06:31:23 +0800:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next > head: 63de24fccb6b831be1abfe07292449105b467731 > commit: 7e7dc04774b18c0e42ce74aa3357021cda979674 [11/31] mtd: rawnand: cadence: support 64-bit slave dma interface > config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220921/202209210641.MziHAbW7-lkp@intel.com/config) > compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?id=7e7dc04774b18c0e42ce74aa3357021cda979674 > git remote add mtd https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git > git fetch --no-tags mtd nand/next > git checkout 7e7dc04774b18c0e42ce74aa3357021cda979674 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mtd/nand/raw/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>): > > >> drivers/mtd/nand/raw/cadence-nand-controller.c:1893:4: error: implicit declaration of function 'ioread64_rep' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > ioread64_rep(cdns_ctrl->io.virt, buf, len_in_words); > ^ > >> drivers/mtd/nand/raw/cadence-nand-controller.c:1962:4: error: implicit declaration of function 'iowrite64_rep' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > iowrite64_rep(cdns_ctrl->io.virt, buf, len_in_words); > ^ > 2 errors generated.
I've dropped your patch from nand/next, here you can check what's missing in the configuration, should not be too hard to solve. Once done, you can send a new version of the patch.
Thanks, Miquèl
| |