tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 2c1ef593f46d417333817c90745e671197c06958
commit: 03b3e0a6e4cb138069de51cdd49d233f9da24159 [8/9] FROMLIST: lib/string.c: implement
stpcpy
config: x86_64-randconfig-a006-20200913 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
3170d54842655d6d936aae32b7d0bc92fce7f22e)
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 checkout 03b3e0a6e4cb138069de51cdd49d233f9da24159
# 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 >>):
In file included from include/linux/highmem.h:8:
In file included from include/linux/uaccess.h:8:
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))
^
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~
include/linux/compiler.h:174:16: note: expanded from macro '__trace_if'
______r = !!(cond); \
^~~~
In file included from fs/ntfs/logfile.c:26:
In file included from include/linux/highmem.h:8:
In file included from include/linux/uaccess.h:8:
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))
^
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~
include/linux/compiler.h:163:30: note: expanded from macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
In file included from fs/ntfs/logfile.c:26:
In file included from include/linux/highmem.h:8:
In file included from include/linux/uaccess.h:8:
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))
^
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~
include/linux/compiler.h:163:30: note: expanded from macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
fs/ntfs/logfile.c:385:11: warning: comparison of integers of different signs:
'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]
if (size >= le32_to_cpu(rp->system_page_size)) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:174:16: note: expanded from macro '__trace_if'
______r = !!(cond); \
^~~~
fs/ntfs/logfile.c:385:11: warning: comparison of integers of different signs:
'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]
if (size >= le32_to_cpu(rp->system_page_size)) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:163:30: note: expanded from macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
fs/ntfs/logfile.c:385:11: warning: comparison of integers of different signs:
'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]
if (size >= le32_to_cpu(rp->system_page_size)) {
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:163:42: note: expanded from macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
fs/ntfs/logfile.c:504:11: warning: comparison of integers of different signs:
's64' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (size > MaxLogFileSize)
~~~~ ^ ~~~~~~~~~~~~~~
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~
include/linux/compiler.h:174:16: note: expanded from macro '__trace_if'
______r = !!(cond); \
^~~~
fs/ntfs/logfile.c:504:11: warning: comparison of integers of different signs:
's64' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (size > MaxLogFileSize)
~~~~ ^ ~~~~~~~~~~~~~~
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~
include/linux/compiler.h:163:30: note: expanded from macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
fs/ntfs/logfile.c:504:11: warning: comparison of integers of different signs:
's64' (aka 'long long') and 'unsigned long long' [-Wsign-compare]
if (size > MaxLogFileSize)
~~~~ ^ ~~~~~~~~~~~~~~
include/linux/compiler.h:161:36: note: expanded from macro 'if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^~~~
include/linux/compiler.h:163:42: note: expanded from macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
22 warnings generated.
/tmp/logfile-611928.s: Assembler messages:
> /tmp/logfile-611928.s:23743: 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