tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: f46a8a36a32444b67e9b727c36d1262f609bd974
commit: 061136b03d873f64e4821a330aa0c50a60b0c756 [14/15] vlan: consolidate VLAN parsing
code and limit max parsing depth
config: x86_64-randconfig-a003-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.4
git checkout 061136b03d873f64e4821a330aa0c50a60b0c756
# 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 >>):
^~~~~~~~~
include/linux/compiler.h:182:42: note: expanded from macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:16:
include/linux/netdevice.h:3304:37: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if (debug_value < 0 || debug_value >= (sizeof(u32) * 8))
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:20:
In file included from include/linux/tcp.h:22:
In file included from include/net/sock.h:62:
In file included from include/linux/filter.h:16:
In file included from include/net/sch_generic.h:12:
In file included from include/net/rtnetlink.h:5:
include/net/netlink.h:337:18: warning: comparison of integers of different signs:
'const __u32' (aka 'const unsigned int') and 'int'
[-Wsign-compare]
nlh->nlmsg_len <= remaining);
~~~~~~~~~~~~~~ ^ ~~~~~~~~~
include/net/netlink.h:372:21: warning: comparison of integers of different signs:
'const __u32' (aka 'const unsigned int') and 'int'
[-Wsign-compare]
if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen))
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:405:21: warning: comparison of integers of different signs:
'const __u32' (aka 'const unsigned int') and 'int'
[-Wsign-compare]
if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen))
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:20:
In file included from include/linux/tcp.h:22:
In file included from include/net/sock.h:62:
In file included from include/linux/filter.h:16:
In file included from include/net/sch_generic.h:12:
include/net/rtnetlink.h:20:21: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if (nlmsg_len(nlh) >= sizeof(struct rtgenmsg))
~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:20:
In file included from include/linux/tcp.h:22:
In file included from include/net/sock.h:62:
In file included from include/linux/filter.h:16:
include/net/sch_generic.h:267:33: warning: comparison of integers of different signs:
'unsigned long' and 'int' [-Wsign-compare]
BUILD_BUG_ON(sizeof(qcb->data) < sz);
~~~~~~~~~~~~~~~~~ ^ ~~
include/linux/bug.h:74:19: note: expanded from macro 'BUILD_BUG_ON'
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^~~~~~~~~
include/linux/bug.h:50:58: note: expanded from macro 'BUILD_BUG_ON_MSG'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~
include/linux/compiler.h:511:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler.h:499:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler.h:491:19: note: expanded from macro
'__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:20:
In file included from include/linux/tcp.h:22:
In file included from include/net/sock.h:62:
include/linux/filter.h:517:16: warning: comparison of integers of different signs:
'const __u32' (aka 'const unsigned int') and 'int'
[-Wsign-compare]
if (first->k == SKF_AD_OFF + SKF_AD_ALU_XOR_X)
~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:20:
In file included from include/linux/tcp.h:22:
include/net/sock.h:1838:54: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (csum_and_copy_from_iter(to, copy, &csum, from) != copy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
include/net/sock.h:1842:46: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (copy_from_iter_nocache(to, copy, from) != copy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
include/net/sock.h:1844:44: warning: comparison of integers of different signs:
'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
} else if (copy_from_iter(to, copy, from) != copy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:8:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h:14:
In file included from drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:20:
In file included from include/linux/tcp.h:23:
include/net/inet_connection_sock.h:294:38: warning: comparison of integers of different
signs: 'int' and 'const u32' (aka 'const unsigned int')
[-Wsign-compare]
return inet_csk_reqsk_queue_len(sk) >= sk->sk_max_ack_backlog;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:312:14: warning: comparison of
integers of different signs: 'u64' (aka 'unsigned long long') and
'int' [-Wsign-compare]
if (seconds <= time_limit)
~~~~~~~ ^ ~~~~~~~~~~
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:1399:16: warning: comparison of
integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < fw->size / sizeof(u32); i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:1417:17: warning: comparison of
integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < (fw->size & 0xF); i++)
~ ^ ~~~~~~~~~~~~~~
30 warnings generated.
/tmp/qlcnic_83xx_init-385098.s: Assembler messages:
> /tmp/qlcnic_83xx_init-385098.s:10918: Warning: no instruction
mnemonic suffix given and no register operands; using default for `bts'
/tmp/qlcnic_83xx_init-385098.s:18421: 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