tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 877b088a3eb47ffa001089d703784629d97b4e72
commit: dee8dc25486a6fe7c54614090e359ab5a611e4be [29993/30000] CHROMIUM: Merge
'v4.4.242' into chromeos-4.4
config: x86_64-randconfig-a005-20201113 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
9a85643cd357e412cff69067bb5c4840e228c2ab)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout dee8dc25486a6fe7c54614090e359ab5a611e4be
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/percpu.h:130:31: note: expanded from macro
'percpu_add_op'
((val) == 1 || (val) == -1)) ? \
~~~ ^ ~~
In file included from drivers/dma-buf/dma-fence.c:27:
In file included from include/trace/events/dma_fence.h:128:
In file included from include/trace/define_trace.h:90:
In file included from include/trace/trace_events.h:19:
In file included from include/linux/trace_events.h:5:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different
signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
~~ ^ ~
include/linux/compiler.h:150:73: note: expanded from macro 'likely'
# define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
^
include/linux/compiler.h:139:29: note: expanded from macro '__branch_check__'
______r = likely_notrace(x); \
^
include/linux/compiler.h:126:47: note: expanded from macro 'likely_notrace'
#define likely_notrace(x) __builtin_expect(!!(x), 1)
^
In file included from drivers/dma-buf/dma-fence.c:27:
In file included from include/trace/events/dma_fence.h:128:
In file included from include/trace/define_trace.h:90:
In file included from include/trace/trace_events.h:19:
In file included from include/linux/trace_events.h:5:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different
signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
~~ ^ ~
include/linux/compiler.h:150:43: note: expanded from macro 'likely'
# define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
^
In file included from drivers/dma-buf/dma-fence.c:27:
In file included from include/trace/events/dma_fence.h:128:
In file included from include/trace/define_trace.h:90:
In file included from include/trace/trace_events.h:19:
In file included from include/linux/trace_events.h:5:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different
signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
~~ ^ ~
include/linux/compiler.h:150:51: note: expanded from macro 'likely'
# define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
^
In file included from drivers/dma-buf/dma-fence.c:27:
In file included from include/trace/events/dma_fence.h:128:
In file included from include/trace/define_trace.h:90:
In file included from include/trace/trace_events.h:19:
In file included from include/linux/trace_events.h:5:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
arch/x86/include/asm/uaccess.h:773:26: warning: comparison of integers of different
signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
~~ ^ ~
include/linux/compiler.h:150:73: note: expanded from macro 'likely'
# define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
^
include/linux/compiler.h:139:29: note: expanded from macro '__branch_check__'
______r = likely_notrace(x); \
^
include/linux/compiler.h:126:47: note: expanded from macro 'likely_notrace'
#define likely_notrace(x) __builtin_expect(!!(x), 1)
^
In file included from drivers/dma-buf/dma-fence.c:27:
In file included from include/trace/events/dma_fence.h:128:
In file included from include/trace/define_trace.h:90:
In file included from include/trace/trace_events.h:19:
In file included from include/linux/trace_events.h:5:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
arch/x86/include/asm/uaccess.h:773:26: warning: comparison of integers of different
signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
~~ ^ ~
include/linux/compiler.h:150:43: note: expanded from macro 'likely'
# define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
^
In file included from drivers/dma-buf/dma-fence.c:27:
In file included from include/trace/events/dma_fence.h:128:
In file included from include/trace/define_trace.h:90:
In file included from include/trace/trace_events.h:19:
In file included from include/linux/trace_events.h:5:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
arch/x86/include/asm/uaccess.h:773:26: warning: comparison of integers of different
signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n)) {
~~ ^ ~
include/linux/compiler.h:150:51: note: expanded from macro 'likely'
# define likely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
^
drivers/dma-buf/dma-fence.c:438:16: warning: comparison of integers of different signs:
'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (i = 0; i < count; ++i) {
~ ^ ~~~~~
9 warnings generated.
/tmp/dma-fence-007772.s: Assembler messages:
> /tmp/dma-fence-007772.s:7570: Warning: no instruction mnemonic
suffix given and no register operands; using default for `bts'
/tmp/dma-fence-007772.s:8190: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/dma-fence-007772.s:10168: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/dma-fence-007772.s:10823: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/dma-fence-007772.s:12383: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org