lkml.org 
[lkml]   [2022]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [deller-parisc:for-next 23/24] include/linux/jump_label.h:266:16: error: implicit declaration of function 'atomic_read'
From
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@intel.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

\
 
 \ /
  Last update: 2022-03-19 13:15    [W:0.062 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site