[soc:starfive/jh7100 9/16] drivers/reset/reset-starfive-jh7100.c:81:17: error: implicit declaration of function 'readq'; did you mean 'readb'?

Andy Shevchenko andy.shevchenko at gmail.com
Fri Dec 17 01:37:57 PST 2021


On Fri, Dec 17, 2021 at 1:08 AM kernel test robot <lkp at intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git starfive/jh7100
> head:   a43676272a6e0b398781bc5337ca4cc187ba923d
> commit: 0be3a1595bf8c7f39153be02c9aae61dd2108576 [9/16] reset: starfive-jh7100: Add StarFive JH7100 reset driver
> config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211217/202112170604.7G6suhnh-lkp@intel.com/config)
> compiler: arceb-elf-gcc (GCC) 11.2.0
> 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/soc/soc.git/commit/?id=0be3a1595bf8c7f39153be02c9aae61dd2108576
>         git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
>         git fetch --no-tags soc starfive/jh7100
>         git checkout 0be3a1595bf8c7f39153be02c9aae61dd2108576
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
>
> All errors (new ones prefixed by >>):
>
>    drivers/reset/reset-starfive-jh7100.c: In function 'jh7100_reset_update':
> >> drivers/reset/reset-starfive-jh7100.c:81:17: error: implicit declaration of function 'readq'; did you mean 'readb'? [-Werror=implicit-function-declaration]

I believe include <linux/io-64-nonatomic-lo-hi.h> should fix this.

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list