tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: 468d91b8a8759ba935302dc08716f4d3242a73a7
commit: 414ad9babd329c871dcf804bb9b828bd4b59f28e [7/10] xfs: initialize the shortform attr
header padding entry
config: x86_64-randconfig-a002-20200913 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b2c32c90bab09a6e2c1f370429db26017a182143)
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 414ad9babd329c871dcf804bb9b828bd4b59f28e
# 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 fs/dlm/lowcomms.c:48:
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 fs/dlm/lowcomms.c:48:
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 fs/dlm/lowcomms.c:48:
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:505:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler.h:493:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler.h:485:19: note: expanded from macro
'__compiletime_assert'
bool __cond = !(condition); \
^~~~~~~~~
In file included from fs/dlm/lowcomms.c:48:
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 fs/dlm/lowcomms.c:48:
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 fs/dlm/lowcomms.c:49:
In file included from include/net/tcp.h:24:
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;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/dlm/lowcomms.c:49:
include/net/tcp.h:321:25: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if (sk->sk_wmem_queued > SOCK_MIN_SNDBUF &&
~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
include/net/tcp.h:1201:12: warning: comparison of integers of different signs:
's32' (aka 'int') and '__u32' (aka 'unsigned int')
[-Wsign-compare]
if (delta > inet_csk(sk)->icsk_rto)
~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
include/net/tcp.h:1276:29: warning: comparison of integers of different signs:
'unsigned long' and 'long' [-Wsign-compare]
if (unlikely(get_seconds() >= rx_opt->ts_recent_stamp +
TCP_PAWS_24DAYS))
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:182:42: note: expanded from macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from fs/dlm/lowcomms.c:49:
include/net/tcp.h:1306:27: warning: comparison of integers of different signs:
'unsigned long' and 'long' [-Wsign-compare]
if (rst && get_seconds() >= rx_opt->ts_recent_stamp +
TCP_PAWS_MSL)
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/dlm/lowcomms.c:55:
In file included from include/net/sctp/sctp.h:76:
In file included from include/net/sctp/structs.h:88:
include/net/sctp/ulpevent.h:147:13: warning: comparison of integers of different signs:
'int' and 'unsigned long' [-Wsign-compare]
if (offset >= sizeof(struct sctp_event_subscribe))
~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/dlm/lowcomms.c:185:19: warning: comparison of integers of different signs:
'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare]
if (con->nodeid == nodeid)
~~~~~~~~~~~ ^ ~~~~~~
fs/dlm/lowcomms.c:614:26: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
if (cbuf_data(&con->cb) >= con->cb.base) {
~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
fs/dlm/lowcomms.c:626:15: warning: comparison of integers of different signs:
'int' and 'unsigned int' [-Wsign-compare]
else if (ret == len)
~~~ ^ ~~~
fs/dlm/lowcomms.c:1369:32: warning: comparison of integers of different signs:
'unsigned long' and 'int' [-Wsign-compare]
(PAGE_CACHE_SIZE - e->end < len)) {
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
35 warnings generated.
/tmp/lowcomms-373448.s: Assembler messages:
> /tmp/lowcomms-373448.s:137: Warning: no instruction mnemonic
suffix given and no register operands; using default for `bts'
/tmp/lowcomms-373448.s:453: Warning: no instruction mnemonic suffix given and no register
operands; using default for `bts'
> /tmp/lowcomms-373448.s:1267: Warning: no instruction mnemonic
suffix given and no register operands; using default for `btr'
/tmp/lowcomms-373448.s:1273: Warning: no instruction mnemonic suffix given and no register
operands; using default for `btr'
/tmp/lowcomms-373448.s:1288: Warning: no instruction mnemonic suffix given and no
register operands; using default for `btr'
/tmp/lowcomms-373448.s:1429: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:1454: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:1473: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:1778: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:2039: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:2282: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:2421: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:2452: Warning: no instruction mnemonic suffix given and no
register operands; using default for `btr'
/tmp/lowcomms-373448.s:2458: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:2481: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:2845: Warning: no instruction mnemonic suffix given and no
register operands; using default for `bts'
/tmp/lowcomms-373448.s:3061: 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