Thread (2 messages) flat view 2 messages, 2 authors, 2021-12-17

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

From: Andy Shevchenko <hidden>
Date: 2021-12-17 09:41:24
Also in: oe-kbuild-all

On Fri, Dec 17, 2021 at 1:08 AM kernel test robot [off-list ref] 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 <redacted>

All errors (new ones prefixed by >>):

   drivers/reset/reset-starfive-jh7100.c: In function 'jh7100_reset_update':
quoted
quoted
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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help