[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <089e25bb-805d-81ac-2f91-69f03c716b0d@gmx.de>
Date: Sat, 19 Mar 2022 13:12:54 +0100
From: Helge Deller <deller@....de>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: Re: [deller-parisc:for-next 23/24] include/linux/jump_label.h:266:16:
error: implicit declaration of function 'atomic_read'
On 3/19/22 04:38, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next
> head: ca3ee5ad86cc1b9553d5bd6878957ad8c79dfb4a
> commit: 0acfd47aee46a4dc7aedcc6470d52c35bf0a836c [23/24] parisc: Convert parisc_requires_coherency() to static branch
> config: parisc-defconfig (https://download.01.org/0day-ci/archive/20220319/202203191125.4vT2F6La-lkp@intel.com/config)
> compiler: hppa-linux-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/deller/parisc-linux.git/commit/?id=0acfd47aee46a4dc7aedcc6470d52c35bf0a836c
> git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
> git fetch --no-tags deller-parisc for-next
> git checkout 0acfd47aee46a4dc7aedcc6470d52c35bf0a836c
> # 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=parisc prepare
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All error/warnings (new ones prefixed by >>):
>
> In file included from arch/parisc/include/asm/processor.h:14,
> from arch/parisc/include/asm/spinlock.h:7,
> from arch/parisc/include/asm/atomic.h:22,
> from include/linux/atomic.h:7,
> from arch/parisc/include/asm/bitops.h:13,
> from include/linux/bitops.h:33,
> from include/linux/kernel.h:22,
> from arch/parisc/include/asm/bug.h:5,
> from include/linux/bug.h:5,
> from include/linux/page-flags.h:10,
> from kernel/bounds.c:10:
> include/linux/jump_label.h: In function 'static_key_count':
>>> include/linux/jump_label.h:266:16: error: implicit declaration of function 'atomic_read' [-Werror=implicit-function-declaration]
> 266 | return atomic_read(&key->enabled);
Thanks, fixed now in for-next.
Helge
Powered by blists - more mailing lists