tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: 2f0d6ab78bfe46b225a4e29a8caff75b1833348d
commit: 910f35afd3c63b32145b82d55016a61d82e54c8a [27/28] usb: Fix out of sync data toggle
if a configured device is reconfigured
config: x86_64-randconfig-a003-20200917 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1321160a26e7e489baf9b10d6de90a342f898960)
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 910f35afd3c63b32145b82d55016a61d82e54c8a
# 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 >>):
if (mac_addr == FAILURE)
~~~~~~~~ ^ ~~~~~~~
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); \
^~~~
drivers/net/ethernet/neterion/s2io.c:5110:16: warning: comparison of integers of
different signs: 'u64' (aka 'unsigned long long') and 'int'
[-Wsign-compare]
if (mac_addr == FAILURE)
~~~~~~~~ ^ ~~~~~~~
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) : \
^~~~
drivers/net/ethernet/neterion/s2io.c:5110:16: warning: comparison of integers of
different signs: 'u64' (aka 'unsigned long long') and 'int'
[-Wsign-compare]
if (mac_addr == FAILURE)
~~~~~~~~ ^ ~~~~~~~
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) : \
^~~~
drivers/net/ethernet/neterion/s2io.c:5419:16: warning: comparison of integers of
different signs: 'int' and '__u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < regs->len; i += 8) {
~ ^ ~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:5519:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < sp->config.rx_ring_num; i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:5524:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < sp->config.tx_fifo_num; i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:5852:20: warning: comparison of integers of
different signs: '__u32' (aka 'unsigned int') and 'int'
[-Wsign-compare]
if (eeprom->magic != (sp->pdev->vendor | (sp->pdev->device
<< 16))) {
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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); \
^~~~
drivers/net/ethernet/neterion/s2io.c:5852:20: warning: comparison of integers of
different signs: '__u32' (aka 'unsigned int') and 'int'
[-Wsign-compare]
if (eeprom->magic != (sp->pdev->vendor | (sp->pdev->device
<< 16))) {
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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) : \
^~~~
drivers/net/ethernet/neterion/s2io.c:5852:20: warning: comparison of integers of
different signs: '__u32' (aka 'unsigned int') and 'int'
[-Wsign-compare]
if (eeprom->magic != (sp->pdev->vendor | (sp->pdev->device
<< 16))) {
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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) : \
^~~~
drivers/net/ethernet/neterion/s2io.c:6933:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->rx_ring_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7088:15: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (; off < sp->config.rx_ring_num; off++)
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7172:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->rx_ring_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7192:18: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < sp->config.rx_ring_num; i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7830:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->tx_fifo_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7842:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->tx_fifo_num; i++)
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7847:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->tx_fifo_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7861:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->rx_ring_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7874:16: warning: comparison of integers of
different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (i = 0; i < rx_ring_num; i++) {
~ ^ ~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:7973:17: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < config->rx_ring_num ; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:8049:16: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < sp->config.tx_fifo_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/neterion/s2io.c:8127:17: warning: comparison of integers of
different signs: 'int' and 'u32' (aka 'unsigned int')
[-Wsign-compare]
for (i = 0; i < sp->config.tx_fifo_num; i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~
142 warnings generated.
/tmp/s2io-409947.s: Assembler messages:
> /tmp/s2io-409947.s:10698: Warning: no instruction mnemonic suffix
given and no register operands; using default for `bts'
/tmp/s2io-409947.s:42767: Warning: no instruction mnemonic suffix given and no register
operands; using default for `bts'
/tmp/s2io-409947.s:43443: Warning: no instruction mnemonic suffix given and no register
operands; using default for `bts'
/tmp/s2io-409947.s:51771: Warning: no instruction mnemonic suffix given and no register
operands; using default for `bts'
/tmp/s2io-409947.s:56262: 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