tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 210f388d2ecd2c6aa08e0c97d0abb9f50a98e143
commit: 71a989418474b1d1b25bc898b3880ac63d6e57e9 [37/52] UPSTREAM: ACPI: properties: Align
return codes of __acpi_node_get_property_reference()
config: x86_64-randconfig-a003-20200820 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b587ca93be114d07ec3bf654add97d7872325281)
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 71a989418474b1d1b25bc898b3880ac63d6e57e9
# 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 >>):
((val) == 1 || (val) == -1)) ? \
~~~ ^ ~~
In file included from drivers/media/pci/ngene/ngene-core.c:36:
In file included from include/linux/pci.h:32:
In file included from include/linux/resource_ext.h:19:
In file included from include/linux/slab.h:113:
In file included from include/linux/kasan.h:4:
In file included from include/linux/sched.h:62:
In file included from include/linux/cgroup-defs.h:16:
include/linux/percpu-refcount.h:276:3: warning: comparison of integers of different
signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:536:33: note: expanded from macro 'this_cpu_sub'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:526:33: note: expanded from macro 'this_cpu_add'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:397:11: note: expanded from macro
'__pcpu_size_call'
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:154:1: note: expanded from here
this_cpu_add_8
^
arch/x86/include/asm/percpu.h:478:35: note: expanded from macro
'this_cpu_add_8'
#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/media/pci/ngene/ngene-core.c:42:
In file included from drivers/media/pci/ngene/ngene.h:42:
In file included from drivers/media/dvb-core/dvb_net.h:26:
In file included from include/linux/netdevice.h:42:
In file included from include/linux/ethtool.h:16:
In file included from include/uapi/linux/ethtool.h:17:
In file included from include/linux/if_ether.h:23:
include/linux/skbuff.h:2675:23: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
&csum, from) == copy) {
~~~~~~~~~~~~ ^ ~~~~
include/linux/skbuff.h:2679:60: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
} else if (copy_from_iter(skb_put(skb, copy), copy, from) == copy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
include/linux/skbuff.h:2693:14: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
off == frag->page_offset + skb_frag_size(frag);
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/skbuff.h:2921:51: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
return copy_from_iter(data, len, &msg->msg_iter) == len ? 0 : -EFAULT;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
include/linux/skbuff.h:2926:49: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
return copy_to_iter(data, len, &msg->msg_iter) == len ? 0 : -EFAULT;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
In file included from drivers/media/pci/ngene/ngene-core.c:42:
In file included from drivers/media/pci/ngene/ngene.h:42:
In file included from drivers/media/dvb-core/dvb_net.h:26:
In file included from include/linux/netdevice.h:43:
In file included from include/net/net_namespace.h:17:
In file included from include/net/netns/ipv4.h:9:
In file included from include/net/inet_frag.h:4:
include/linux/rhashtable.h:264:34: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
include/linux/rhashtable.h:277:34: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~
include/linux/rhashtable.h:289:34: warning: comparison of integers of different signs:
'int' and 'const unsigned int' [-Wsign-compare]
return atomic_read(&ht->nelems) > tbl->size &&
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
include/linux/rhashtable.h:302:34: warning: comparison of integers of different signs:
'int' and 'const unsigned int' [-Wsign-compare]
atomic_read(&ht->nelems) >= ht->p.insecure_max_entries;
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/media/pci/ngene/ngene-core.c:42:
In file included from drivers/media/pci/ngene/ngene.h:42:
In file included from drivers/media/dvb-core/dvb_net.h:26:
include/linux/netdevice.h:2413:34: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
skb_checksum_start_offset(skb) <
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
include/linux/netdevice.h:3051:15: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
BUG_ON(index >= dev->num_rx_queues);
~~~~~ ^ ~~~~~~~~~~~~~~~~~~
include/asm-generic/bug.h:58:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:182:42: note: expanded from macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from drivers/media/pci/ngene/ngene-core.c:42:
In file included from drivers/media/pci/ngene/ngene.h:42:
In file included from drivers/media/dvb-core/dvb_net.h:26:
include/linux/netdevice.h:3325:37: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if (debug_value < 0 || debug_value >= (sizeof(u32) * 8))
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
drivers/media/pci/ngene/ngene-core.c:816:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (j = 0; j < tb->NumBuffers; j++, Cur = Cur->Next) {
~ ^ ~~~~~~~~~~~~~~
drivers/media/pci/ngene/ngene-core.c:1026:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < n; i++) {
~ ^ ~
19 warnings generated.
/tmp/ngene-core-232503.s: Assembler messages:
> /tmp/ngene-core-232503.s:14009: Warning: no instruction mnemonic
suffix given and no register operands; using default for `bts'
/tmp/ngene-core-232503.s:14126: 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