All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] bitops: Move test_bit() into bitops/atomic.h
Date: Fri, 22 May 2020 19:10:26 +0800	[thread overview]
Message-ID: <202005221913.pOfNTIBx%lkp@intel.com> (raw)
In-Reply-To: <20200521143129.7526-1-will@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 3150 bytes --]

Hi Will,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on asm-generic/master linux/master v5.7-rc6 next-20200521]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Will-Deacon/bitops-Move-test_bit-into-bitops-atomic-h/20200521-224744
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b85051e755b0e9d6dd8f17ef1da083851b83287d
config: arm-randconfig-r021-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from kernel/bounds.c:10:
In file included from include/linux/page-flags.h:10:
In file included from include/linux/bug.h:5:
In file included from arch/arm/include/asm/bug.h:60:
In file included from include/asm-generic/bug.h:19:
In file included from include/linux/kernel.h:12:
In file included from include/linux/bitops.h:29:
In file included from arch/arm/include/asm/bitops.h:268:
>> include/asm-generic/bitops/le.h:55:9: error: implicit declaration of function 'test_bit' [-Werror,-Wimplicit-function-declaration]
return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
^
1 error generated.
make[2]: *** [scripts/Makefile.build:100: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1148: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2

vim +/test_bit +55 include/asm-generic/bitops/le.h

63ab595fb6b342 Akinobu Mita 2011-03-23  52  
a56560b3b23323 Akinobu Mita 2011-03-23  53  static inline int test_bit_le(int nr, const void *addr)
a56560b3b23323 Akinobu Mita 2011-03-23  54  {
a56560b3b23323 Akinobu Mita 2011-03-23 @55  	return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
a56560b3b23323 Akinobu Mita 2011-03-23  56  }
a56560b3b23323 Akinobu Mita 2011-03-23  57  

:::::: The code at line 55 was first introduced by commit
:::::: a56560b3b233238e85205d4e8d7bded904ac2306 asm-generic: change little-endian bitops to take any pointer types

:::::: TO: Akinobu Mita <akinobu.mita@gmail.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33750 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Will Deacon <will@kernel.org>, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	kernel-team@android.com, Will Deacon <will@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>
Subject: Re: [PATCH] bitops: Move test_bit() into bitops/atomic.h
Date: Fri, 22 May 2020 19:10:26 +0800	[thread overview]
Message-ID: <202005221913.pOfNTIBx%lkp@intel.com> (raw)
In-Reply-To: <20200521143129.7526-1-will@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 3085 bytes --]

Hi Will,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on asm-generic/master linux/master v5.7-rc6 next-20200521]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Will-Deacon/bitops-Move-test_bit-into-bitops-atomic-h/20200521-224744
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b85051e755b0e9d6dd8f17ef1da083851b83287d
config: arm-randconfig-r021-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from kernel/bounds.c:10:
In file included from include/linux/page-flags.h:10:
In file included from include/linux/bug.h:5:
In file included from arch/arm/include/asm/bug.h:60:
In file included from include/asm-generic/bug.h:19:
In file included from include/linux/kernel.h:12:
In file included from include/linux/bitops.h:29:
In file included from arch/arm/include/asm/bitops.h:268:
>> include/asm-generic/bitops/le.h:55:9: error: implicit declaration of function 'test_bit' [-Werror,-Wimplicit-function-declaration]
return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
^
1 error generated.
make[2]: *** [scripts/Makefile.build:100: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1148: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2

vim +/test_bit +55 include/asm-generic/bitops/le.h

63ab595fb6b342 Akinobu Mita 2011-03-23  52  
a56560b3b23323 Akinobu Mita 2011-03-23  53  static inline int test_bit_le(int nr, const void *addr)
a56560b3b23323 Akinobu Mita 2011-03-23  54  {
a56560b3b23323 Akinobu Mita 2011-03-23 @55  	return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
a56560b3b23323 Akinobu Mita 2011-03-23  56  }
a56560b3b23323 Akinobu Mita 2011-03-23  57  

:::::: The code at line 55 was first introduced by commit
:::::: a56560b3b233238e85205d4e8d7bded904ac2306 asm-generic: change little-endian bitops to take any pointer types

:::::: TO: Akinobu Mita <akinobu.mita@gmail.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33750 bytes --]

  reply	other threads:[~2020-05-22 11:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 14:31 [PATCH] bitops: Move test_bit() into bitops/atomic.h Will Deacon
2020-05-22 11:10 ` kbuild test robot [this message]
2020-05-22 11:10   ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005221913.pOfNTIBx%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.