drivers/net/macsec.c:430:22: sparse: expected restricted ssci_t [usertype] ssci

2020-06-09 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: a21ecf0e033807b976967286e6c392f48ee2049f macsec: Support XPN frame 
handling - IEEE 802.1AEbw
date:   3 months ago
:: branch date: 3 hours ago
:: commit date: 3 months ago
config: nios2-randconfig-s032-20200602 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout a21ecf0e033807b976967286e6c392f48ee2049f
# save the attached .config to linux build tree
make W=1 C=1 ARCH=nios2 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/net/macsec.c:430:24: sparse: sparse: restricted ssci_t degrades to 
integer
   drivers/net/macsec.c:430:22: sparse: sparse: incorrect type in assignment 
(different base types) @@ expected restricted ssci_t [usertype] ssci @@ 
got unsigned int @@
>> drivers/net/macsec.c:430:22: sparse: expected restricted ssci_t 
>> [usertype] ssci
>> drivers/net/macsec.c:430:22: sparse: got unsigned int
   drivers/net/macsec.c:431:22: sparse: sparse: restricted __be64 degrades to 
integer
   drivers/net/macsec.c:431:20: sparse: sparse: incorrect type in assignment 
(different base types) @@ expected restricted __be64 [usertype] pn @@ 
got unsigned long long @@
>> drivers/net/macsec.c:431:20: sparse: expected restricted __be64 
>> [usertype] pn
>> drivers/net/macsec.c:431:20: sparse: got unsigned long long
   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: undefined 
identifier '__builtin_rdctl'
   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: undefined identifier 
'__builtin_wrctl'
   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:12:16: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/nios2/include/asm/irqflags.h:21:9: sparse: sparse: not a function 

   arch/

Re: [PATCH 1/3] dma-direct: provide the ability to reserve per-numa CMA

2020-06-03 Thread kbuild test robot
Hi Barry,

I love your patch! Perhaps something to improve:

[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on linus/master v5.7]
[cannot apply to next-20200602]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Barry-Song/support-per-numa-CMA-for-ARM-server/20200603-104821
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 
for-next/core
config: i386-randconfig-s002-20200602 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-244-g0ee050a8-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> kernel/dma/contiguous.c:40:12: sparse: sparse: symbol 
>> 'dma_contiguous_pernuma_area' was not declared. Should it be static?
>> kernel/dma/contiguous.c:278:50: sparse: sparse: invalid access below 
>> 'dma_contiguous_pernuma_area' (-4 4)

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[RFC PATCH] dma-direct: dma_contiguous_pernuma_area[] can be static

2020-06-03 Thread kbuild test robot


Signed-off-by: kbuild test robot 
---
 contiguous.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c
index 4b10d0ca0456d..2094c8e0590ac 100644
--- a/kernel/dma/contiguous.c
+++ b/kernel/dma/contiguous.c
@@ -37,7 +37,7 @@
 #endif
 
 struct cma *dma_contiguous_default_area;
-struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES];
+static struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES];
 
 /*
  * Default global CMA area size can be defined in kernel's .config.


Re: [PATCH 1/3] dma-direct: provide the ability to reserve per-numa CMA

2020-06-03 Thread kbuild test robot
Hi Barry,

I love your patch! Perhaps something to improve:

[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on linus/master v5.7]
[cannot apply to hch-configfs/for-next next-20200602]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Barry-Song/support-per-numa-CMA-for-ARM-server/20200603-104821
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git 
for-next/core
config: i386-randconfig-r033-20200602 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/linux/kernel.h:15,
from include/asm-generic/bug.h:19,
from arch/x86/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from include/linux/memblock.h:13,
from kernel/dma/contiguous.c:21:
kernel/dma/contiguous.c: In function 'dma_pernuma_cma_reserve':
>> include/linux/kern_levels.h:5:18: warning: format '%llu' expects argument of 
>> type 'long long unsigned int', but argument 3 has type 'unsigned int' 
>> [-Wformat=]
5 | #define KERN_SOH "001"  /* ASCII Start Of Header */
|  ^~
include/linux/printk.h:137:10: note: in definition of macro 'no_printk'
137 |   printk(fmt, ##__VA_ARGS__);   |  ^~~
include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
|^~~~
include/linux/printk.h:336:12: note: in expansion of macro 'KERN_DEBUG'
336 |  no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
|^~
kernel/dma/contiguous.c:128:3: note: in expansion of macro 'pr_debug'
128 |   pr_debug("%s: reserved %llu MiB on node %dn", __func__,
|   ^~~~
kernel/dma/contiguous.c:128:29: note: format string is defined here
128 |   pr_debug("%s: reserved %llu MiB on node %dn", __func__,
|  ~~~^
| |
| long long unsigned int
|  %u

vim +5 include/linux/kern_levels.h

314ba3520e513a Joe Perches 2012-07-30  4  
04d2c8c83d0e3a Joe Perches 2012-07-30 @5  #define KERN_SOH  "\001"  
/* ASCII Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30  6  #define KERN_SOH_ASCII'\001'
04d2c8c83d0e3a Joe Perches 2012-07-30  7  

:: The code at line 5 was first introduced by commit
:: 04d2c8c83d0e3ac5f78aeede51babb3236200112 printk: convert the format for 
KERN_ to a 2 byte pattern

:: TO: Joe Perches 
:: CC: Linus Torvalds 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH 3/6] arm64/vdso: Add time namespace page

2020-06-03 Thread kbuild test robot
Hi Andrei,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on soc/for-next]
[also build test WARNING on arm/for-next xlnx/master kvmarm/next v5.7]
[cannot apply to arm64/for-next/core next-20200602]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Andrei-Vagin/arm64-add-the-time-namespace-support/20200603-020504
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm64-allnoconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> arch/arm64/kernel/vdso.c:93:19: warning: no previous prototype for 
>> 'arch_get_vdso_data' [-Wmissing-prototypes]
93 | struct vdso_data *arch_get_vdso_data(void *vvar_page)
|   ^~

vim +/arch_get_vdso_data +93 arch/arm64/kernel/vdso.c

91  
92  
  > 93  struct vdso_data *arch_get_vdso_data(void *vvar_page)
94  {
95  return (struct vdso_data *)(vvar_page);
96  }
97  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


arch/powerpc/boot/decompress.c:133: undefined reference to `__decompress'

2020-06-02 Thread kbuild test robot
Hi Nathan,

It's probably a bug fix that unveils the link errors.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   d9afbb3509900a953f5cf90bc57e793ee80c1108
commit: 5990cdee689c6885b27c6d969a3d58b09002b0bc lib/mpi: Fix building for 
powerpc with clang
date:   6 weeks ago
config: powerpc-randconfig-r032-20200602 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git checkout 5990cdee689c6885b27c6d969a3d58b09002b0bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

powerpc-linux-gnu-ld: arch/powerpc/boot/wrapper.a(decompress.o): in function 
`partial_decompress':
>> arch/powerpc/boot/decompress.c:133: undefined reference to `__decompress'

vim +133 arch/powerpc/boot/decompress.c

1b7898ee276b39 Oliver O'Halloran 2016-09-22   98  
1b7898ee276b39 Oliver O'Halloran 2016-09-22   99  /**
1b7898ee276b39 Oliver O'Halloran 2016-09-22  100   * partial_decompress - 
decompresses part or all of a compressed buffer
1b7898ee276b39 Oliver O'Halloran 2016-09-22  101   * @inbuf:   input buffer
1b7898ee276b39 Oliver O'Halloran 2016-09-22  102   * @input_size:  length of 
the input buffer
1b7898ee276b39 Oliver O'Halloran 2016-09-22  103   * @outbuf:  input buffer
1b7898ee276b39 Oliver O'Halloran 2016-09-22  104   * @output_size: length of 
the input buffer
1b7898ee276b39 Oliver O'Halloran 2016-09-22  105   * @skip number of 
output bytes to ignore
1b7898ee276b39 Oliver O'Halloran 2016-09-22  106   *
1b7898ee276b39 Oliver O'Halloran 2016-09-22  107   * This function takes 
compressed data from inbuf, decompresses and write it to
1b7898ee276b39 Oliver O'Halloran 2016-09-22  108   * outbuf. Once output_size 
bytes are written to the output buffer, or the
1b7898ee276b39 Oliver O'Halloran 2016-09-22  109   * stream is exhausted the 
function will return the number of bytes that were
1b7898ee276b39 Oliver O'Halloran 2016-09-22  110   * decompressed. Otherwise it 
will return whatever error code the decompressor
1b7898ee276b39 Oliver O'Halloran 2016-09-22  111   * reported (NB: This is 
specific to each decompressor type).
1b7898ee276b39 Oliver O'Halloran 2016-09-22  112   *
1b7898ee276b39 Oliver O'Halloran 2016-09-22  113   * The skip functionality is 
mainly there so the program and discover
1b7898ee276b39 Oliver O'Halloran 2016-09-22  114   * the size of the compressed 
image so that it can ask firmware (if present)
1b7898ee276b39 Oliver O'Halloran 2016-09-22  115   * for an appropriately sized 
buffer.
1b7898ee276b39 Oliver O'Halloran 2016-09-22  116   */
1b7898ee276b39 Oliver O'Halloran 2016-09-22  117  long partial_decompress(void 
*inbuf, unsigned long input_size,
1b7898ee276b39 Oliver O'Halloran 2016-09-22  118void *outbuf, unsigned 
long output_size, unsigned long _skip)
1b7898ee276b39 Oliver O'Halloran 2016-09-22  119  {
1b7898ee276b39 Oliver O'Halloran 2016-09-22  120int ret;
1b7898ee276b39 Oliver O'Halloran 2016-09-22  121  
1b7898ee276b39 Oliver O'Halloran 2016-09-22  122/*
1b7898ee276b39 Oliver O'Halloran 2016-09-22  123 * The skipped bytes 
needs to be included in the size of data we want
1b7898ee276b39 Oliver O'Halloran 2016-09-22  124 * to decompress.
1b7898ee276b39 Oliver O'Halloran 2016-09-22  125 */
1b7898ee276b39 Oliver O'Halloran 2016-09-22  126output_size += _skip;
1b7898ee276b39 Oliver O'Halloran 2016-09-22  127  
1b7898ee276b39 Oliver O'Halloran 2016-09-22  128decompressed_bytes = 0;
1b7898ee276b39 Oliver O'Halloran 2016-09-22  129output_buffer = outbuf;
1b7898ee276b39 Oliver O'Halloran 2016-09-22  130limit = output_size;
1b7898ee276b39 Oliver O'Halloran 2016-09-22  131skip = _skip;
1b7898ee276b39 Oliver O'Halloran 2016-09-22  132  
1b7898ee276b39 Oliver O'Halloran 2016-09-22 @133ret = 
__decompress(inbuf, input_size, NULL, flush, outbuf,

:: The code at line 133 was first introduced by commit
:: 1b7898ee276b39e54d870dc4ef3374f663d0b426 powerpc/boot: Use the pre-boot 
decompression API

:: TO: Oliver O'Halloran 
:: CC: Michael Ellerman 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[rcu:dev.2020.06.01b] BUILD SUCCESS 9c814827af953f2e109feef5272154c00a8f4541

2020-06-02 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.06.01b
branch HEAD: 9c814827af953f2e109feef5272154c00a8f4541  refperf: Add test for 
RCU Tasks Trace readers.

i386-tinyconfig vmlinux size:


 TOTAL  TEXT  built-in.*  arch/x86/events/zhaoxin/built-in.*


  -233  -233  8747b07d1944 
Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0  03e8e094dad9 
Merge branch 'lkmm-dev.2020.05.16a' into HEAD
 0 0  17e0ee2a3ec9 
torture:  Remove qemu dependency on EFI firmware 
 0 0  c58148777978 
torture: Add script to smoke-test commits in a branch
   +38   +38  396a79cc6818 
fork: Annotate a data race in vm_area_dup()  
 0 0  8035e0fc710a 
x86/mm/pat: Mark an intentional data race
 0 0  d7a51c24ee4b 
rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0  e5efa2f1b7b6 
locktorture: Use true and false to assign to bool variables  
 0 0  7514d7f181ab 
srcu: Fix a typo in comment "amoritized"->"amortized"
 0 0  9dbd776542e3 rcu: 
Simplify the calculation of rcu_state.ncpus 
 0 0  df12d657bcc0 
docs: RCU: Convert checklist.txt to ReST 
 0 0  fdfeb779e1bd 
docs: RCU: Convert lockdep-splat.txt to ReST 
 0 0  68b5951f7eb2 
docs: RCU: Convert lockdep.txt to ReST   
 0 0  ce9edc0c8a82 
docs: RCU: Convert rculist_nulls.txt to ReST 
 0 0  1bee818b03c7 
docs: RCU: Convert torture.txt to ReST   
 0 0  9100131711bc 
docs: RCU: Convert rcuref.txt to ReST
 0 0  080f194cfa87 
docs: RCU: Convert stallwarn.txt to ReST 
 0 0  6999f47d8456 
docs: RCU: Don't duplicate chapter names in rculist_nulls.rs 
 0 0  55ce2e8178f2 
rcutorture: Add races with task-exit processing  
 0 0  1c60a5e52538 
torture: Set configfile variable to current scenario 
 0 0  9969401f1706 
rcutorture: Handle non-statistic bang-string error messages  
 0 0  6f099e1b362b 
rcutorture: NULL rcu_torture_current earlier in cleanup code 
 0 0  6816417616c4 
kcsan: Add test suite
 0 0  848d16e04f52 doc: 
Timer problems can cause RCU CPU stall warnings 
 0 0  2364a9f967ec rcu: 
Add callbacks-invoked counters  
 0 0  2775724beeef rcu: 
Add comment documenting rcu_callback_map's purpose  
 0 0 +138684  bfd78bca7bdf 
Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom o 
+1 0 -138684  8903088434e7 
rcu/tree: Add better tracing for dyntick-idle
-1 0  c0601bb42994 
rcu/tree: Clean up dynticks counter usage
 0 0  3f3baaf3ac07 
rcu/tree: Remove dynticks_nmi_nesting counter
+1 0  725e4ad9e020 
trace: events: rcu: Change description of rcu_dyntick trace  
 0 0  

[rcu:urgent-for-mingo] BUILD SUCCESS b3e2d20973db3ec87a6dd2fee0c88d3c2e7c2f61

2020-06-02 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
urgent-for-mingo
branch HEAD: b3e2d20973db3ec87a6dd2fee0c88d3c2e7c2f61  rcuperf: Fix printk 
format warning

elapsed time: 485m

configs tested: 99
configs skipped: 7

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm   imx_v4_v5_defconfig
h8300 edosk2674_defconfig
pariscgeneric-64bit_defconfig
m68k amcore_defconfig
arm  moxart_defconfig
sh   j2_defconfig
sparc64  allyesconfig
armmps2_defconfig
arm  prima2_defconfig
s390  allnoconfig
mips  allnoconfig
mipsgpr_defconfig
sh sh7710voipgw_defconfig
powerpc  storcenter_defconfig
mips  decstation_64_defconfig
sh   rts7751r2dplus_defconfig
sh magicpanelr2_defconfig
ia64 allmodconfig
s390 alldefconfig
c6xevmc6472_defconfig
sh  rsk7203_defconfig
arm   netwinder_defconfig
arm  badge4_defconfig
arcnsimosci_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
i386  allnoconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allmodconfig
um   allmodconfig
umallnoconfig
um  defconfig
um   allyesconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test Service, Intel Corporation

[tip:master] BUILD SUCCESS 16fc229652f8188dd898584c946293ea576abbbb

2020-06-02 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 16fc229652f8188dd898584c946293ea576a  Merge branch 'sched/core'

elapsed time: 726m

configs tested: 102
configs skipped: 3

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mips loongson1b_defconfig
shsh7763rdp_defconfig
sh   se7619_defconfig
h8300   h8s-sim_defconfig
m68k   m5475evb_defconfig
arm  pxa255-idp_defconfig
arm am200epdkit_defconfig
shhp6xx_defconfig
mips  maltaaprp_defconfig
alphaalldefconfig
mips  maltasmvp_eva_defconfig
shdreamcast_defconfig
sh  lboxre2_defconfig
arm lpc18xx_defconfig
arm  zx_defconfig
alpha   defconfig
ia64 alldefconfig
mipsnlm_xlp_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a001-20200602
i386 randconfig-a006-20200602
i386 randconfig-a002-20200602
i386 randconfig-a005-20200602
i386 randconfig-a003-20200602
i386 randconfig-a004-20200602
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
um   allmodconfig
umallnoconfig
um   allyesconfig
um  defconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64

Re: [PATCH 3/6] arm64/vdso: Add time namespace page

2020-06-02 Thread kbuild test robot
Hi Andrei,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on soc/for-next]
[also build test WARNING on arm/for-next kvmarm/next v5.7]
[cannot apply to arm64/for-next/core next-20200602]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Andrei-Vagin/arm64-add-the-time-namespace-support/20200603-020504
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm64-randconfig-r004-20200602 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> arch/arm64/kernel/vdso.c:93:19: warning: no previous prototype for function 
>> 'arch_get_vdso_data' [-Wmissing-prototypes]
struct vdso_data *arch_get_vdso_data(void *vvar_page)
^
arch/arm64/kernel/vdso.c:93:1: note: declare 'static' if the function is not 
intended to be used outside of this translation unit
struct vdso_data *arch_get_vdso_data(void *vvar_page)
^
static
1 warning generated.

vim +/arch_get_vdso_data +93 arch/arm64/kernel/vdso.c

91  
92  
  > 93  struct vdso_data *arch_get_vdso_data(void *vvar_page)
94  {
95  return (struct vdso_data *)(vvar_page);
96  }
97  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH bpf-next 2/4] bpf: Implement bpf_local_storage for inodes

2020-06-02 Thread kbuild test robot
Hi KP,

I love your patch! Yet something to improve:

[auto build test ERROR on bpf-next/master]
[cannot apply to bpf/master linus/master linux/master v5.7 next-20200602]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/KP-Singh/Generalizing-bpf_local_storage/20200527-011230
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: c6x-randconfig-r016-20200602 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from net/core/sock.c:133:
>> include/linux/bpf_local_storage.h:41:20: error: two or more data types in 
>> declaration specifiers
41 | static inline void void bpf_inode_storage_free(struct inode *inode)
|^~~~
--
In file included from net/core/filter.c:75:
>> include/linux/bpf_local_storage.h:41:20: error: two or more data types in 
>> declaration specifiers
41 | static inline void void bpf_inode_storage_free(struct inode *inode)
|^~~~
In file included from include/asm-generic/atomic.h:12,
from ./arch/c6x/include/generated/asm/atomic.h:1,
from include/linux/atomic.h:7,
from include/asm-generic/bitops/lock.h:5,
from arch/c6x/include/asm/bitops.h:87,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from include/linux/list.h:9,
from include/linux/module.h:12,
from net/core/filter.c:20:
net/core/filter.c: In function 'bpf_clear_redirect_map':
arch/c6x/include/asm/cmpxchg.h:55:3: warning: value computed is not used 
[-Wunused-value]
55 |  ((__typeof__(*(ptr)))__cmpxchg_local_generic((ptr),   |  
~^
56 |(unsigned long)(o),  |~
57 |(unsigned long)(n),  |~
58 |sizeof(*(ptr
|
include/asm-generic/cmpxchg.h:106:28: note: in expansion of macro 
'cmpxchg_local'
106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n))
|^
net/core/filter.c:3529:4: note: in expansion of macro 'cmpxchg'
3529 |cmpxchg(>map, map, NULL);
|^~~

vim +41 include/linux/bpf_local_storage.h

19  
20  #ifdef CONFIG_BPF_SYSCALL
21  void bpf_inode_storage_free(struct inode *inode);
22  int bpf_sk_storage_clone(const struct sock *sk, struct sock *newsk);
23  struct bpf_sk_storage_diag *
24  bpf_sk_storage_diag_alloc(const struct nlattr *nla_stgs);
25  void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag);
26  int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag,
27  struct sock *sk, struct sk_buff *skb,
28  int stg_array_type,
29  unsigned int *res_diag_size);
30  #else
31  static inline int bpf_sk_storage_clone(const struct sock *sk,
32 struct sock *newsk)
33  {
34  return 0;
35  }
36  static inline struct bpf_sk_storage_diag *
37  bpf_sk_storage_diag_alloc(const struct nlattr *nla)
38  {
39  return NULL;
40  }
  > 41  static inline void void bpf_inode_storage_free(struct inode *inode)
42  {
43  }
44  static inline void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag 
*diag)
45  {
46  }
47  static inline int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag 
*diag,
48struct sock *sk, struct 
sk_buff *skb,
49int stg_array_type,
50unsigned int *res_diag_size)
51  {
52  return 0;
53  }
54  #endif
55  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/firmware/stratix10-rsu.c:293:21: sparse: sparse: Using plain integer as NULL pointer

2020-06-02 Thread kbuild test robot
Hi Richard,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: 231d901d1e368c47c4786e826195520ea5ea firmware: 
intel_stratix10_service: add depend on agilex
date:   3 months ago
config: arm64-randconfig-s032-20200602 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-244-g0ee050a8-dirty
git checkout 231d901d1e368c47c4786e826195520ea5ea
# save the attached .config to linux build tree
make W=1 C=1 ARCH=arm64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> drivers/firmware/stratix10-rsu.c:293:21: sparse: sparse: Using plain integer 
>> as NULL pointer
   drivers/firmware/stratix10-rsu.c:318:21: sparse: sparse: Using plain integer 
as NULL pointer

vim +293 drivers/firmware/stratix10-rsu.c

4526ebbc77732b Richard Gong 2019-09-03  284  
4526ebbc77732b Richard Gong 2019-09-03  285  static ssize_t 
reboot_image_store(struct device *dev,
4526ebbc77732b Richard Gong 2019-09-03  286   
struct device_attribute *attr,
4526ebbc77732b Richard Gong 2019-09-03  287   const 
char *buf, size_t count)
4526ebbc77732b Richard Gong 2019-09-03  288  {
4526ebbc77732b Richard Gong 2019-09-03  289 struct stratix10_rsu_priv *priv 
= dev_get_drvdata(dev);
4526ebbc77732b Richard Gong 2019-09-03  290 unsigned long address;
4526ebbc77732b Richard Gong 2019-09-03  291 int ret;
4526ebbc77732b Richard Gong 2019-09-03  292  
4526ebbc77732b Richard Gong 2019-09-03 @293 if (priv == 0)
4526ebbc77732b Richard Gong 2019-09-03  294 return -ENODEV;
4526ebbc77732b Richard Gong 2019-09-03  295  
4526ebbc77732b Richard Gong 2019-09-03  296 ret = kstrtoul(buf, 0, 
);
4526ebbc77732b Richard Gong 2019-09-03  297 if (ret)
4526ebbc77732b Richard Gong 2019-09-03  298 return ret;
4526ebbc77732b Richard Gong 2019-09-03  299  
4526ebbc77732b Richard Gong 2019-09-03  300 ret = rsu_send_msg(priv, 
COMMAND_RSU_UPDATE,
4526ebbc77732b Richard Gong 2019-09-03  301address, 
rsu_command_callback);
4526ebbc77732b Richard Gong 2019-09-03  302 if (ret) {
4526ebbc77732b Richard Gong 2019-09-03  303 dev_err(dev, "Error, 
RSU update returned %i\n", ret);
4526ebbc77732b Richard Gong 2019-09-03  304 return ret;
4526ebbc77732b Richard Gong 2019-09-03  305 }
4526ebbc77732b Richard Gong 2019-09-03  306  
4526ebbc77732b Richard Gong 2019-09-03  307 return count;
4526ebbc77732b Richard Gong 2019-09-03  308  }
4526ebbc77732b Richard Gong 2019-09-03  309  

:: The code at line 293 was first introduced by commit
:: 4526ebbc77732bcae965ee374cf3e8d86436b2ad firmware: add Intel Stratix10 
remote system update driver

:: TO: Richard Gong 
:: CC: Greg Kroah-Hartman 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/usb/dwc3/drd.c:508: undefined reference to `usb_role_switch_get_drvdata'

2020-06-02 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   194098915ac74daddca9d6ed46fd11be57f45e16
commit: 0339f7fbc82efb66504ededc49502856dccbfccf usb: dwc3: fix up for role 
switch API change
date:   3 months ago
config: ia64-randconfig-r013-20200602 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
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
git checkout 0339f7fbc82efb66504ededc49502856dccbfccf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function 
`elf_core_write_extra_phdrs':
arch/ia64/kernel/elfcore.c:38: undefined reference to `dump_emit'
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function 
`elf_core_write_extra_data':
arch/ia64/kernel/elfcore.c:55: undefined reference to `dump_emit'
ia64-linux-ld: drivers/usb/dwc3/drd.o: in function `dwc3_usb_role_switch_get':
>> drivers/usb/dwc3/drd.c:508: undefined reference to 
>> `usb_role_switch_get_drvdata'
ia64-linux-ld: drivers/usb/dwc3/drd.o: in function `dwc3_usb_role_switch_set':
drivers/usb/dwc3/drd.c:484: undefined reference to `usb_role_switch_get_drvdata'
ia64-linux-ld: drivers/usb/dwc3/drd.o: in function `dwc3_setup_role_switch':
>> drivers/usb/dwc3/drd.c:555: undefined reference to `usb_role_switch_register'
ia64-linux-ld: drivers/usb/dwc3/drd.o: in function `dwc3_drd_exit':
>> drivers/usb/dwc3/drd.c:628: undefined reference to 
>> `usb_role_switch_unregister'

vim +508 drivers/usb/dwc3/drd.c

   505  
   506  static enum usb_role dwc3_usb_role_switch_get(struct usb_role_switch 
*sw)
   507  {
 > 508  struct dwc3 *dwc = usb_role_switch_get_drvdata(sw);
   509  unsigned long flags;
   510  enum usb_role role;
   511  
   512  spin_lock_irqsave(>lock, flags);
   513  switch (dwc->current_dr_role) {
   514  case DWC3_GCTL_PRTCAP_HOST:
   515  role = USB_ROLE_HOST;
   516  break;
   517  case DWC3_GCTL_PRTCAP_DEVICE:
   518  role = USB_ROLE_DEVICE;
   519  break;
   520  case DWC3_GCTL_PRTCAP_OTG:
   521  role = dwc->current_otg_role;
   522  break;
   523  default:
   524  if (dwc->role_switch_default_mode == USB_DR_MODE_HOST)
   525  role = USB_ROLE_HOST;
   526  else
   527  role = USB_ROLE_DEVICE;
   528  break;
   529  }
   530  spin_unlock_irqrestore(>lock, flags);
   531  return role;
   532  }
   533  
   534  static int dwc3_setup_role_switch(struct dwc3 *dwc)
   535  {
   536  struct usb_role_switch_desc dwc3_role_switch = {NULL};
   537  const char *str;
   538  u32 mode;
   539  int ret;
   540  
   541  ret = device_property_read_string(dwc->dev, 
"role-switch-default-mode",
   542);
   543  if (ret >= 0  && !strncmp(str, "host", strlen("host"))) {
   544  dwc->role_switch_default_mode = USB_DR_MODE_HOST;
   545  mode = DWC3_GCTL_PRTCAP_HOST;
   546  } else {
   547  dwc->role_switch_default_mode = USB_DR_MODE_PERIPHERAL;
   548  mode = DWC3_GCTL_PRTCAP_DEVICE;
   549  }
   550  
   551  dwc3_role_switch.fwnode = dev_fwnode(dwc->dev);
   552  dwc3_role_switch.set = dwc3_usb_role_switch_set;
   553  dwc3_role_switch.get = dwc3_usb_role_switch_get;
   554  dwc3_role_switch.driver_data = dwc;
 > 555  dwc->role_sw = usb_role_switch_register(dwc->dev, 
 > _role_switch);
   556  if (IS_ERR(dwc->role_sw))
   557  return PTR_ERR(dwc->role_sw);
   558  
   559  dwc3_set_mode(dwc, mode);
   560  return 0;
   561  }
   562  #else
   563  #define ROLE_SWITCH 0
   564  #define dwc3_setup_role_switch(x) 0
   565  #endif
   566  
   567  int dwc3_drd_init(struct dwc3 *dwc)
   568  {
   569  int ret, irq;
   570  
   571  dwc->edev = dwc3_get_extcon(dwc);
   572  if (IS_ERR(dwc->edev))
   573  return PTR_ERR(dwc->edev);
   574  
   575  if (ROLE_SWITCH &&
   576  device_property_read_bool(dwc->dev, "usb-role-switch")) {
   577  ret = dwc3_setup_role_switch(dwc);
   578  if (ret < 0

[tip:perf/urgent] BUILD SUCCESS 16accae3d97f97d7f61c4ee5d0002bccdef59088

2020-06-02 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
perf/urgent
branch HEAD: 16accae3d97f97d7f61c4ee5d0002bccdef59088  perf/x86/rapl: Fix RAPL 
config variable bug

elapsed time: 534m

configs tested: 47
configs skipped: 103

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
um   allmodconfig
umallnoconfig
um   allyesconfig
um  defconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


[tip:sched/core] BUILD SUCCESS 25de110d148666752dc0e0da7a0b69de31cd7098

2020-06-02 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
sched/core
branch HEAD: 25de110d148666752dc0e0da7a0b69de31cd7098  irq_work: Define 
irq_work_single() on !CONFIG_IRQ_WORK too

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  try_invoke_on_locked_down_task()  
arch/x86/events/zhaoxin/built-in.*  
  
==
-1 0  
-136  c6e7bd7afaeb sched/core: Optimize ttwu() spinning on p->on_cpu
 0 0  
+136  2ebb17717550 sched/core: Offload wakee task activation if it the wakee is 
 0 0  
-136  498bdcdb949e Merge branch 'sched/urgent' into sched/core, to pick up fix  
  +172  +172   +76  
58ef57b16d9e Merge branch 'core/rcu' into sched/core, to pick up dependen 
 0 0 0  
19a1f5ec6999 sched: Fix smp_call_function_single_async() usage for ILB
 0 0 0  
52103be07d8b smp: Optimize flush_smp_call_function_queue()
 0 0 0  
afaa653c564d smp: Move irq_work_run() out of flush_smp_call_function_queu 
 0 0 0  
b2a02fc43a1f smp: Optimize send_call_function_single_ipi()
+1+1 0  
4b44a21dd640 irq_work, smp: Allow irq_work on call_single_queue   
   -31 0 0  
126c2092e5c8 sched: Add rq::ttwu_pending  
 0 0 0  
a148866489fb sched: Replace rq::wake_list 
 0 0 0
+136  1f8db4150536 sched/headers: Split out open-coded prototypes into kernel/s 
-1 0 0  
 0  25de110d1486 irq_work: Define irq_work_single() on !CONFIG_IRQ_WORK too   
  +140  +173   +76  
 0  d505b8af5891..25de110d1486 (ALL COMMITS)  
==

elapsed time: 485m

configs tested: 111
configs skipped: 10

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm   allnoconfig
arc haps_hs_defconfig
sparc64 defconfig
arm  pxa255-idp_defconfig
sh shx3_defconfig
arm  alldefconfig
mips   ip28_defconfig
xtensageneric_kc705_defconfig
arc nps_defconfig
armkeystone_defconfig
armmulti_v5_defconfig
nios2   defconfig
armshmobile_defconfig
mips   xway_defconfig
arm  ixp4xx_defconfig
sh   se7780_defconfig
arm  moxart_defconfig
sh   j2_defconfig
sparc64  allyesconfig
armmps2_defconfig
powerpc pseries_defconfig
arm   netwinder_defconfig
xtensa   common_defconfig
mips  ath79_defconfig
armvt8500_v6_v7_defconfig
arm hackkit_defconfig
mips cu1000-neo_defconfig
x86_64  defconfig
ia64 allmodconfig
powerpc  storcenter_defconfig
mips  

[rcu:rcu/test] BUILD SUCCESS 0c1b20be12a0b937b76c34fb481b2e881c01fa10

2020-06-02 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  rcu/test
branch HEAD: 0c1b20be12a0b937b76c34fb481b2e881c01fa10  torture:  Remove qemu 
dependency on EFI firmware

elapsed time: 911m

configs tested: 115
configs skipped: 7

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm cm_x300_defconfig
arm64alldefconfig
arm   milbeaut_m10v_defconfig
arm  ep93xx_defconfig
mips loongson1b_defconfig
shsh7763rdp_defconfig
ia64  allnoconfig
sh   se7619_defconfig
armqcom_defconfig
sh  kfr2r09_defconfig
sh  r7780mp_defconfig
riscvnommu_virt_defconfig
sparc   sparc32_defconfig
sh  urquell_defconfig
mips  pic32mzda_defconfig
mips   bmips_be_defconfig
alphaalldefconfig
mips  maltasmvp_eva_defconfig
shdreamcast_defconfig
sh  lboxre2_defconfig
arm   corgi_defconfig
arm bcm2835_defconfig
sh microdev_defconfig
powerpcmpc7448_hpc2_defconfig
armu300_defconfig
arm  simpad_defconfig
arm  moxart_defconfig
sh   j2_defconfig
sparc64  allyesconfig
armmps2_defconfig
armvt8500_v6_v7_defconfig
arm hackkit_defconfig
mips cu1000-neo_defconfig
x86_64  defconfig
ia64 allmodconfig
powerpc  storcenter_defconfig
mips  decstation_64_defconfig
sh   rts7751r2dplus_defconfig
sh magicpanelr2_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
i386  allnoconfig
ia64defconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   

Re: [PATCH] staging: rtl8712: switch to common ieee80211 headers

2020-06-02 Thread kbuild test robot
Hi Pascal,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20200602]
[cannot apply to v5.7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Pascal-Terjan/staging-rtl8712-switch-to-common-ieee80211-headers/20200602-042517
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
77f55d1305c11fb729b88f2c3f7881ba0831fa6f
config: i386-randconfig-a011-20200602 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

ld: drivers/staging/rtl8712/rtl8712_recv.o: in function `amsdu_to_msdu':
>> drivers/staging/rtl8712/rtl8712_recv.c:377: undefined reference to 
>> `bridge_tunnel_header'
>> ld: drivers/staging/rtl8712/rtl8712_recv.c:375: undefined reference to 
>> `rfc1042_header'
>> ld: drivers/staging/rtl8712/rtl8712_recv.c:377: undefined reference to 
>> `bridge_tunnel_header'
>> ld: drivers/staging/rtl8712/rtl8712_recv.c:375: undefined reference to 
>> `rfc1042_header'
ld: drivers/staging/rtl8712/rtl871x_recv.o: in function 
`r8712_wlanhdr_to_ethhdr':
>> drivers/staging/rtl8712/rtl871x_recv.c:603: undefined reference to 
>> `rfc1042_header'
>> ld: drivers/staging/rtl8712/rtl871x_recv.c:606: undefined reference to 
>> `bridge_tunnel_header'
>> ld: drivers/staging/rtl8712/rtl871x_recv.c:603: undefined reference to 
>> `rfc1042_header'
>> ld: drivers/staging/rtl8712/rtl871x_recv.c:606: undefined reference to 
>> `bridge_tunnel_header'

vim +377 drivers/staging/rtl8712/rtl8712_recv.c

2865d42c78a912 Larry Finger2010-08-20  314  
fc898688aa37c0 Nishka Dasgupta 2019-08-08  315  static void 
amsdu_to_msdu(struct _adapter *padapter, union recv_frame *prframe)
2865d42c78a912 Larry Finger2010-08-20  316  {
2865d42c78a912 Larry Finger2010-08-20  317  int a_len, 
padding_len;
2865d42c78a912 Larry Finger2010-08-20  318  u16 eth_type, 
nSubframe_Length;
2865d42c78a912 Larry Finger2010-08-20  319  u8  nr_subframes, i;
b952f4dff27512 yuan linyu  2017-06-18  320  unsigned char *pdata;
2865d42c78a912 Larry Finger2010-08-20  321  struct rx_pkt_attrib 
*pattrib;
2865d42c78a912 Larry Finger2010-08-20  322  _pkt *sub_skb, 
*subframes[MAX_SUBFRAME_COUNT];
2865d42c78a912 Larry Finger2010-08-20  323  struct recv_priv 
*precvpriv = >recvpriv;
2865d42c78a912 Larry Finger2010-08-20  324  struct  __queue 
*pfree_recv_queue = &(precvpriv->free_recv_queue);
2865d42c78a912 Larry Finger2010-08-20  325  
2865d42c78a912 Larry Finger2010-08-20  326  nr_subframes = 0;
2865d42c78a912 Larry Finger2010-08-20  327  pattrib = 
>u.hdr.attrib;
2865d42c78a912 Larry Finger2010-08-20  328  recvframe_pull(prframe, 
prframe->u.hdr.attrib.hdrlen);
2865d42c78a912 Larry Finger2010-08-20  329  if 
(prframe->u.hdr.attrib.iv_len > 0)
2865d42c78a912 Larry Finger2010-08-20  330  
recvframe_pull(prframe, prframe->u.hdr.attrib.iv_len);
2865d42c78a912 Larry Finger2010-08-20  331  a_len = 
prframe->u.hdr.len;
2865d42c78a912 Larry Finger2010-08-20  332  pdata = 
prframe->u.hdr.rx_data;
2865d42c78a912 Larry Finger2010-08-20  333  while (a_len > 
ETH_HLEN) {
2865d42c78a912 Larry Finger2010-08-20  334  /* Offset 12 
denote 2 mac address */
2865d42c78a912 Larry Finger2010-08-20  335  
nSubframe_Length = *((u16 *)(pdata + 12));
2865d42c78a912 Larry Finger2010-08-20  336  /*==m==>change 
the length order*/
2865d42c78a912 Larry Finger2010-08-20  337  
nSubframe_Length = (nSubframe_Length >> 8) +
2865d42c78a912 Larry Finger2010-08-20  338  
   (nSubframe_Length << 8);
2865d42c78a912 Larry Finger2010-08-20  339  if (a_len < 
(ETHERNET_HEADER_SIZE + nSubframe_Length)) {
87a573ada017b4 Przemo Firszt   2012-12-10  340  
netdev_warn(padapter->pnetdev, "r8712u: nRemain_Length is %d and 
nSubframe_Length is: %d\n",
2865d42c78a912 Larry Finger2010-08-20  341  
a_len, nSubframe_Length);
2865d42c78a912 Larry Finger2010-08-20  342  goto 
ex

sound/core/pcm_native.c:3412:24: error: implicit declaration of function 'pgprot_writecombine'; did you mean 'dma_free_writecombine'?

2020-06-02 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: b0310c2f09bbe8aebefb97ed67949a3a7092aca6 USB: use genalloc for USB HCs 
with local memory
config: m68k-randconfig-r002-20200602 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
git checkout b0310c2f09bbe8aebefb97ed67949a3a7092aca6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

sound/core/pcm_native.c: In function 'snd_pcm_lib_default_mmap':
<<  from sound/core/pcm_native.c:45:
>> sound/core/pcm_native.c:3412:24: error: implicit declaration of function 
>> 'pgprot_writecombine'; did you mean 'dma_free_writecombine'? 
>> [-Werror=implicit-function-declaration]
3412 |   area->vm_page_prot = pgprot_writecombine(area->vm_page_prot);
|^~~
|dma_free_writecombine
sound/core/pcm_native.c:3412:24: error: incompatible types when assigning to 
type 'pgprot_t' {aka 'struct '} from type 'int'
cc1: some warnings being treated as errors

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b0310c2f09bbe8aebefb97ed67949a3a7092aca6
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout b0310c2f09bbe8aebefb97ed67949a3a7092aca6
vim +3412 sound/core/pcm_native.c

^1da177e4c3f41 Linus Torvalds2005-04-16  3393  
^1da177e4c3f41 Linus Torvalds2005-04-16  3394  /*
^1da177e4c3f41 Linus Torvalds2005-04-16  3395   * mmap the DMA buffer 
on RAM
^1da177e4c3f41 Linus Torvalds2005-04-16  3396   */
30b771cf8c3120 Takashi Iwai  2014-10-30  3397  
30b771cf8c3120 Takashi Iwai  2014-10-30  3398  /**
30b771cf8c3120 Takashi Iwai  2014-10-30  3399   * 
snd_pcm_lib_default_mmap - Default PCM data mmap function
30b771cf8c3120 Takashi Iwai  2014-10-30  3400   * @substream: PCM 
substream
30b771cf8c3120 Takashi Iwai  2014-10-30  3401   * @area: VMA
30b771cf8c3120 Takashi Iwai  2014-10-30  3402   *
30b771cf8c3120 Takashi Iwai  2014-10-30  3403   * This is the default 
mmap handler for PCM data.  When mmap pcm_ops is NULL,
30b771cf8c3120 Takashi Iwai  2014-10-30  3404   * this function is 
invoked implicitly.
30b771cf8c3120 Takashi Iwai  2014-10-30  3405   */
18a2b962337047 Takashi Iwai  2011-09-28  3406  int 
snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream,
877211f5e1b119 Takashi Iwai  2005-11-17  3407
struct vm_area_struct *area)
^1da177e4c3f41 Linus Torvalds2005-04-16  3408  {
314e51b9851b4f Konstantin Khlebnikov 2012-10-08  3409   area->vm_flags |= 
VM_DONTEXPAND | VM_DONTDUMP;
a5606f85611267 Takashi Iwai  2013-10-24  3410  #ifdef 
CONFIG_GENERIC_ALLOCATOR
055032142c42d2 Nicolin Chen  2013-10-23  3411   if 
(substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV_IRAM) {
055032142c42d2 Nicolin Chen  2013-10-23 @3412   
area->vm_page_prot = pgprot_writecombine(area->vm_page_prot);
055032142c42d2 Nicolin Chen  2013-10-23  3413   return 
remap_pfn_range(area, area->vm_start,
055032142c42d2 Nicolin Chen  2013-10-23  3414   
substream->dma_buffer.addr >> PAGE_SHIFT,
055032142c42d2 Nicolin Chen  2013-10-23  3415   
area->vm_end - area->vm_start, area->vm_page_prot);
055032142c42d2 Nicolin Chen  2013-10-23  3416   }
a5606f85611267 Takashi Iwai  2013-10-24  3417  #endif /* 
CONFIG_GENERIC_ALLOCATOR */
49d776ffb50f2e Takashi Iwai  2014-10-24  3418  #ifndef CONFIG_X86 /* 
for avoiding warnings arch/x86/mm/pat.c */
abe594c2cf55b4 Geert Uytterhoeven2017-07-09  3419   if 
(IS_ENABLED(CONFIG_HAS_DMA) && !substream->ops->page &&
657b1989dacf58 Takashi Iwai  2009-11-26  3420   
substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV)
657b1989dacf58 Takashi Iwai  2009-11-26  3421   return 
dma_mmap_coherent(substream->dma_buffer.dev.dev,
657b1989dacf58 Takashi Iwai  2009-11-26  3422   
 area,
657b1989dacf58 Takashi Iwai  2009-11-26  3423   
 substream->runtime->dma_area,
657b1989dacf58 Takashi Iwai  2009-11-26  3424   
 substream->runtime->dma_addr,
9066

[tip:x86/entry] BUILD SUCCESS 4b1f63084d3ebd14c3ef2cd4e8732c25bcd8381d

2020-06-02 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/entry
branch HEAD: 4b1f63084d3ebd14c3ef2cd4e8732c25bcd8381d  x86/xen: Unbreak 
hypervisor callback on 32bit

i386-tinyconfig vmlinux size:

+---+++
| DELTA |   SYMBOL   |   COMMIT 
  |
+---+++
|  +170 | TOTAL  | 5a7462b1f9c1..4b1f63084d3e (ALL 
COMMITS)   |
|  +167 | TEXT   | 5a7462b1f9c1..4b1f63084d3e (ALL 
COMMITS)   |
| +2048 | idt_table  | 5a7462b1f9c1..4b1f63084d3e (ALL 
COMMITS)   |
|  +154 | init.text  | 5a7462b1f9c1..4b1f63084d3e (ALL 
COMMITS)   |
|  +136 | arch/x86/events/zhaoxin/built-in.* | 4b1f63084d3e x86/xen: Unbreak 
hypervisor callback on 32bit |
|   +85 | idt_setup_apic_and_irq_gates() | 5a7462b1f9c1..4b1f63084d3e (ALL 
COMMITS)   |
| -2048 | idt_table  | 5a7462b1f9c1..4b1f63084d3e (ALL 
COMMITS)   |
+---+++

elapsed time: 792m

configs tested: 83
configs skipped: 2

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
xtensageneric_kc705_defconfig
openrisc alldefconfig
armneponset_defconfig
arm  jornada720_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
i386  allnoconfig
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
microblazeallnoconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
um   allmodconfig
umallnoconfig
um  

arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address space '' of expression

2020-06-02 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 57d563c8292569f2849569853e846bf740df5032 x86: ia32_setup_rt_frame(): 
consolidate uaccess areas
date:   10 weeks ago
:: branch date: 9 hours ago
:: commit date: 10 weeks ago
config: x86_64-randconfig-s021-20200601 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 57d563c8292569f2849569853e846bf740df5032
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
   arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: incorrect type in 
argument 1 (different address spaces) @@ expected void const volatile 
[noderef]  * @@ got unsigned long long [usertype] * @@
   arch/x86/ia32/ia32_signal.c:350:9: sparse: expected void const volatile 
[noderef]  *
   arch/x86/ia32/ia32_signal.c:350:9: sparse: got unsigned long long 
[usertype] *
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression
>> arch/x86/ia32/ia32_signal.c:350:9: sparse: sparse: cast removes address 
>> space '' of expression

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=57d563c8292569f2849569853e846bf740df5032
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 57d563c8292569f2849569853e846bf740df5032
vim +350 arch/x86/ia32/ia32_signal.c

^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds2005-04-16  299 
 
235b80226b986d arch/x86/ia32/ia32_signal.cAl Viro   2012-11-09  300 
 int ia32_setup_rt_frame(int sig, struct ksignal *ksig,
^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds2005-04-16  301 
compat_sigset_t *set, struct pt_regs *regs)
^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds2005-04-16  302 
 {
3b0d29ee1c73b6 arch/x86/ia32/ia32_signal.cHiroshi Shimamoto 2008-12-17  303 
struct rt_sigframe_ia32 __user *frame;
af65d64845a90c arch/x86/ia32/ia32_signal.cRoland McGrath2008-01-30  304 
void __user *restorer;
44a1d996325982 arch/x86/ia32/ia32_signal.cAl Viro   2020-02-15  305 
void __user *fp = NULL;
^1da177e4c3f41 arch/x86_64/ia32/ia32_signal.c Linus Torvalds2005-04-16  306 
 
57d563c8292569 arch/x86/ia32/ia32_signal.cAl Viro   2020-02-15  307 
/* unsafe_put_user optimizes that into a single 8 byte store */
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  308 
static const struct {
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  309 
u8 movl;
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  310 
u32 val;
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  311 
u16 int80;
9cc3c49ed1b1db arch/x86/ia32/ia32_signal.cHiroshi Shimamoto 2008-11-11  312 
u8  pad;
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  313 
} __attribute__((packed)) code = {
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  314 
0xb8,
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  315 
__NR_ia32_rt_sigreturn,
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  316 
0x80cd,
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  317 
0,
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThomas Gleixner   2008-01-30  318 
};
99b9cdf758af70 arch/x86/ia32/ia32_signal.cThoma

drivers/net/ethernet/intel/e1000/e1000_osdep.h:13: warning: "CONFIG_RAM_BASE" redefined

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: 5b49c82dadfe0f3741778f57385f964ec1514863 csky: Add PCI support
date:   3 months ago
config: csky-randconfig-r024-20200602 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.0
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
git checkout 5b49c82dadfe0f3741778f57385f964ec1514863
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=csky 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/net/ethernet/intel/e1000/e1000.h:10,
from drivers/net/ethernet/intel/e1000/e1000_main.c:4:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression 
>= 0 is always true [-Wtype-limits]
32 |  BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
|   ^~
include/linux/compiler.h:330:9: note: in definition of macro 
'__compiletime_assert'
330 |   if (!(condition))  | ^
include/linux/compiler.h:350:2: note: in expansion of macro 
'_compiletime_assert'
350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
|  ^~~
include/linux/build_bug.h:39:37: note: in expansion of macro 
'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|  ^~~~
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
32 |  BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
|  ^~~~
In file included from drivers/net/ethernet/intel/e1000/e1000_hw.h:11,
from drivers/net/ethernet/intel/e1000/e1000.h:54,
from drivers/net/ethernet/intel/e1000/e1000_main.c:4:
drivers/net/ethernet/intel/e1000/e1000_osdep.h: At top level:
>> drivers/net/ethernet/intel/e1000/e1000_osdep.h:13: warning: 
>> "CONFIG_RAM_BASE" redefined
13 | #define CONFIG_RAM_BASE 0x6
|
In file included from include/linux/kconfig.h:5,
from :
./include/generated/autoconf.h:1690: note: this is the location of the previous 
definition
1690 | #define CONFIG_RAM_BASE 0x0
|
--
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/net/ethernet/intel/e1000/e1000.h:10,
from drivers/net/ethernet/intel/e1000/e1000_hw.c:8:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression 
>= 0 is always true [-Wtype-limits]
32 |  BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
|   ^~
include/linux/compiler.h:330:9: note: in definition of macro 
'__compiletime_assert'
330 |   if (!(condition))  | ^
include/linux/compiler.h:350:2: note: in expansion of macro 
'_compiletime_assert'
350 |  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
|  ^~~
include/linux/build_bug.h:39:37: note: in expansion of macro 
'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 |  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|  ^~~~
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
32 |  BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
|  ^~~~
In file included from drivers/net/ethernet/intel/e1000/e1000_hw.h:11,
from drivers/net/ethernet/intel/e1000/e1000.h:54,
from drivers/net/ethernet/intel/e1000/e1000_hw.c:8:
drivers/net/ethernet/intel/e1000/e1000_osdep.h: At top level:
>> drivers/net/ethernet/intel/e1000/e1000_osdep.h:13: warning: 
>> "CONFIG_RAM_BASE" redefined
13 | #define CONFIG_RAM_BASE 0x6
|
In file included from include/linux/kconfig.h:5,
from :
./include/generated/autoconf.h:1690: note: this is the location of the previous 
definition
1690 | #define CONFIG_RAM_BASE 0x0
|
drivers/net/ethernet/intel/e1000/e1000_hw.c: In function 
'e1000_phy_init_script':
drivers/net/ethernet/intel/e1000/e1000_hw.c:132:6: warning: variable 'ret_val' 
set but not used [-Wunused-but-set-variable]
132 |  u32 ret_val;
|  ^~~
drivers/net/ethernet/intel/e1000/e1000_

drivers/ptp/ptp_ines.c:837:34: warning: unused variable 'ines_ptp_ctrl_of_match'

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: bad1eaa6ac312ffd7aa46dd5a4d9843b824aa023 ptp: Add a driver for InES 
time stamping IP core.
date:   5 months ago
config: x86_64-randconfig-r036-20200602 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 bad1eaa6ac312ffd7aa46dd5a4d9843b824aa023
# 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: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/ptp/ptp_ines.c:481:37: warning: format specifies type 'unsigned char' 
but the argument has type 'int' [-Wformat]
tag_to_msgtype(ts->tag & 0x7), *msgtype & 0xf);
^~
include/linux/device.h:1784:39: note: expanded from macro 'dev_dbg'
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
~~~ ^~~
include/linux/dynamic_debug.h:158:19: note: expanded from macro 
'dynamic_dev_dbg'
dev, fmt, ##__VA_ARGS__)
~~~^~~
include/linux/dynamic_debug.h:143:56: note: expanded from macro 
'_dynamic_func_call'
__dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
^~~
include/linux/dynamic_debug.h:125:15: note: expanded from macro 
'__dynamic_func_call'
func(, ##__VA_ARGS__);  
^~~
drivers/ptp/ptp_ines.c:491:19: warning: format specifies type 'unsigned short' 
but the argument has type 'int' [-Wformat]
ts->portnum, ntohs(*portn));
^
include/linux/device.h:1784:39: note: expanded from macro 'dev_dbg'
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
~~~ ^~~
include/linux/dynamic_debug.h:158:19: note: expanded from macro 
'dynamic_dev_dbg'
dev, fmt, ##__VA_ARGS__)
~~~^~~
include/linux/dynamic_debug.h:143:56: note: expanded from macro 
'_dynamic_func_call'
__dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
^~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see 
all)
include/linux/byteorder/generic.h:137:21: note: expanded from macro '___ntohs'
#define ___ntohs(x) __be16_to_cpu(x)
^~~~
include/uapi/linux/byteorder/little_endian.h:42:26: note: expanded from macro 
'__be16_to_cpu'
#define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
^~~~
include/uapi/linux/swab.h:104:2: note: expanded from macro '__swab16'
(__builtin_constant_p((__u16)(x)) ?
^
drivers/ptp/ptp_ines.c:496:17: warning: format specifies type 'unsigned short' 
but the argument has type 'int' [-Wformat]
ts->seqid, ntohs(*seqid));
^
include/linux/device.h:1784:39: note: expanded from macro 'dev_dbg'
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
~~~ ^~~
include/linux/dynamic_debug.h:158:19: note: expanded from macro 
'dynamic_dev_dbg'
dev, fmt, ##__VA_ARGS__)
~~~^~~
include/linux/dynamic_debug.h:143:56: note: expanded from macro 
'_dynamic_func_call'
__dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
^~~
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see 
all)
include/linux/byteorder/generic.h:137:21: note: expanded from macro '___ntohs'
#define ___ntohs(x) __be16_to_cpu(x)
^~~~
include/uapi/linux/byteorder/little_endian.h:42:26: note: expanded from macro 
'__be16_to_cpu'
#define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
^~~~
include/uapi/linux/swab.h:104:2: note: expanded from macro '__swab16'
(__builtin_constant_p((__u16)(x)) ?
^
>> drivers/ptp/ptp_ines.c:837:34: warning: unused variable 
>> 'ines_ptp_ctrl_of_match' [-Wunused-const-variable]
static const struct of_device_id ines_ptp_ctrl_of_match[] = {
^
4 warnings generated.

vim +/ines_ptp_ctrl_of_match +837 drivers/ptp/ptp_ines.c

   836  
 > 837  static const struct of_device_id ines_ptp_ctrl_of_match[] = {
   838  { .compatible = "ines,ptp-ctrl" },
   839  { }
   840  };
   841  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


include/linux/compiler.h:199:9: sparse: sparse: context imbalance in 'alua_rtpg' - different lock contexts for basic block

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca locking/refcount: Consolidate 
implementations of refcount_t
date:   6 months ago
config: ia64-randconfig-s032-20200602 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca
# save the attached .config to linux build tree
make W=1 C=1 ARCH=ia64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> include/linux/compiler.h:199:9: sparse: sparse: context imbalance in 
>> 'alua_rtpg' - different lock contexts for basic block

vim +/alua_rtpg +199 include/linux/compiler.h

d976441f44bc5d4 Andrey Ryabinin   2015-10-19  195  
d976441f44bc5d4 Andrey Ryabinin   2015-10-19  196  static __always_inline
d976441f44bc5d4 Andrey Ryabinin   2015-10-19  197  void 
__read_once_size(const volatile void *p, void *res, int size)
230fa253df6352a Christian Borntraeger 2014-11-25  198  {
d976441f44bc5d4 Andrey Ryabinin   2015-10-19 @199   __READ_ONCE_SIZE;
230fa253df6352a Christian Borntraeger 2014-11-25  200  }
d976441f44bc5d4 Andrey Ryabinin   2015-10-19  201  

:: The code at line 199 was first introduced by commit
:: d976441f44bc5d48635d081d277aa76556ffbf8b compiler, atomics, kasan: 
Provide READ_ONCE_NOCHECK()

:: TO: Andrey Ryabinin 
:: CC: Ingo Molnar 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/staging/netlogic/xlr_net.c:832:20: error: assignment to expression with array type

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 3c1bcc8614db10803f1f57ef0295363917448cb2 net: ethernet: Convert phydev 
advertize and supported from u32 to link mode
config: mips-randconfig-r016-20200601 (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
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
git checkout 3c1bcc8614db10803f1f57ef0295363917448cb2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/staging/netlogic/xlr_net.c: In function 'xlr_gmac_link_adjust':
drivers/staging/netlogic/xlr_net.c:801:6: warning: variable 'intreg' set but 
not used [-Wunused-but-set-variable]
801 |  u32 intreg;
|  ^~
drivers/staging/netlogic/xlr_net.c: In function 'xlr_mii_probe':
>> drivers/staging/netlogic/xlr_net.c:832:20: error: assignment to expression 
>> with array type
832 |  phydev->supported &= (ADVERTISED_10baseT_Full
|^~
drivers/staging/netlogic/xlr_net.c:840:22: error: assignment to expression with 
array type
840 |  phydev->advertising = phydev->supported;
|  ^

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c1bcc8614db10803f1f57ef0295363917448cb2
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 3c1bcc8614db10803f1f57ef0295363917448cb2
vim +832 drivers/staging/netlogic/xlr_net.c

6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  796  
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  797  static void 
xlr_gmac_link_adjust(struct net_device *ndev)
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  798  {
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  799   struct xlr_net_priv 
*priv = netdev_priv(ndev);
3fe01e2406ead2 Andrew Lunn2016-01-11  800   struct phy_device 
*phydev = xlr_get_phydev(priv);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06 @801   u32 intreg;
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  802  
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  803   intreg = 
xlr_nae_rdreg(priv->base_addr, R_INTREG);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  804   if (phydev->link) {
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  805   if 
(phydev->speed != priv->phy_speed) {
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  806   
xlr_set_gmac_speed(priv);
f8397bc69095f6 Ganesan Ramalingam 2014-08-21  807   
pr_info("gmac%d : Link up\n", priv->port_id);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  808   }
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  809   } else {
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  810   
xlr_set_gmac_speed(priv);
f8397bc69095f6 Ganesan Ramalingam 2014-08-21  811   pr_info("gmac%d 
: Link down\n", priv->port_id);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  812   }
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  813  }
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  814  
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  815  static int 
xlr_mii_probe(struct xlr_net_priv *priv)
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  816  {
3fe01e2406ead2 Andrew Lunn2016-01-11  817   struct phy_device 
*phydev = xlr_get_phydev(priv);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  818  
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  819   if (!phydev) {
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  820   pr_err("no PHY 
found on phy_addr %d\n", priv->phy_addr);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  821   return -ENODEV;
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  822   }
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  823  
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  824   /* Attach MAC to PHY */
84eff6d194df44 Andrew Lunn2016-01-06  825   phydev = 
phy_connect(priv->ndev, phydev_name(phydev),
968b4e6bd3b00c Sandhya Bankar 2016-03-19  826
xlr_gmac_link_adjust, priv->nd->phy_interface);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  827  
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  828   if (IS_ERR(phydev)) {
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  829   pr_err("could 
not attach PHY\n");
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  830   return 
PTR_ERR(phydev);
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06  831   }
6f98b1a250cb60 Ganesan Ramalingam 2013-03-06 

drivers/gpu/drm/drm_gem_shmem_helper.c:540:22: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct '} from type 'int'

2020-06-01 Thread kbuild test robot
Hi Gerd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 0be895893607fb3447478d6e33dfb60644195a09 drm/shmem: switch shmem helper 
to _gem_object_funcs.mmap
config: m68k-randconfig-r033-20200601 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
git checkout 0be895893607fb3447478d6e33dfb60644195a09
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/gpu/drm/drm_gem_shmem_helper.c: In function 'drm_gem_shmem_vmap_locked':
drivers/gpu/drm/drm_gem_shmem_helper.c:261:17: error: implicit declaration of 
function 'pgprot_writecombine' [-Werror=implicit-function-declaration]
261 | VM_MAP, pgprot_writecombine(PAGE_KERNEL));
| ^~~
drivers/gpu/drm/drm_gem_shmem_helper.c:261:17: error: incompatible type for 
argument 4 of 'vmap'
261 | VM_MAP, pgprot_writecombine(PAGE_KERNEL));
| ^~~~
| |
| int
In file included from include/asm-generic/io.h:887,
from arch/m68k/include/asm/io.h:11,
from arch/m68k/include/asm/pgtable_no.h:14,
from arch/m68k/include/asm/pgtable.h:3,
from include/linux/mm.h:99,
from include/linux/scatterlist.h:8,
from include/linux/dma-buf.h:18,
from drivers/gpu/drm/drm_gem_shmem_helper.c:6:
include/linux/vmalloc.h:119:14: note: expected 'pgprot_t' {aka 'struct 
'} but argument is of type 'int'
119 | extern void *vmap(struct page **pages, unsigned int count,
|  ^~~~
drivers/gpu/drm/drm_gem_shmem_helper.c: In function 'drm_gem_shmem_mmap':
<<  from drivers/gpu/drm/drm_gem_shmem_helper.c:6:
>> drivers/gpu/drm/drm_gem_shmem_helper.c:540:22: error: incompatible types 
>> when assigning to type 'pgprot_t' {aka 'struct '} from type 'int'
540 |  vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags));
|  ^~~
cc1: some warnings being treated as errors

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0be895893607fb3447478d6e33dfb60644195a09
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 0be895893607fb3447478d6e33dfb60644195a09
vim +540 drivers/gpu/drm/drm_gem_shmem_helper.c

2194a63a818db7 Noralf Trønnes 2019-03-12  513  
2194a63a818db7 Noralf Trønnes 2019-03-12  514  /**
2194a63a818db7 Noralf Trønnes 2019-03-12  515   * drm_gem_shmem_mmap - 
Memory-map a shmem GEM object
0be895893607fb Gerd Hoffmann  2019-10-16  516   * @obj: gem object
2194a63a818db7 Noralf Trønnes 2019-03-12  517   * @vma: VMA for the area to be 
mapped
2194a63a818db7 Noralf Trønnes 2019-03-12  518   *
2194a63a818db7 Noralf Trønnes 2019-03-12  519   * This function implements an 
augmented version of the GEM DRM file mmap
2194a63a818db7 Noralf Trønnes 2019-03-12  520   * operation for shmem objects. 
Drivers which employ the shmem helpers should
0be895893607fb Gerd Hoffmann  2019-10-16  521   * use this function as their 
_gem_object_funcs.mmap handler.
2194a63a818db7 Noralf Trønnes 2019-03-12  522   *
2194a63a818db7 Noralf Trønnes 2019-03-12  523   * Returns:
2194a63a818db7 Noralf Trønnes 2019-03-12  524   * 0 on success or a negative 
error code on failure.
2194a63a818db7 Noralf Trønnes 2019-03-12  525   */
0be895893607fb Gerd Hoffmann  2019-10-16  526  int drm_gem_shmem_mmap(struct 
drm_gem_object *obj, struct vm_area_struct *vma)
2194a63a818db7 Noralf Trønnes 2019-03-12  527  {
2194a63a818db7 Noralf Trønnes 2019-03-12  528   struct drm_gem_shmem_object 
*shmem;
2194a63a818db7 Noralf Trønnes 2019-03-12  529   int ret;
2194a63a818db7 Noralf Trønnes 2019-03-12  530  
0be895893607fb Gerd Hoffmann  2019-10-16  531   shmem = 
to_drm_gem_shmem_obj(obj);
2194a63a818db7 Noralf Trønnes 2019-03-12  532  
2194a63a818db7 Noralf Trønnes 2019-03-12  533   ret = 
drm_gem_shmem_get_pages(shmem);
2194a63a818db7 Noralf Trønnes 2019-03-12  534   if (ret) {
2194a63a818db7 Noralf Trønnes 2019-03-12  535   drm_gem_vm_close(vma);
2194a63a818db7 Noralf Trønnes 2019-03-12  536   return ret;
2194a63a818db7 Noralf Trønnes 2019-03-12  537   }
2194a63a818db7 Noralf Trønnes 2019-03-12  538  
0be895893607fb Gerd Hoffmann  2019-10-16  539   vma->vm_flags |= VM_IO | 
VM_MIXEDMAP | VM_DONTEXPAND | VM_DONTDUMP;
0be895893607fb Gerd Hoffmann  2019-10-16 @540   vma->vm_page_prot = 
pgprot_writecombine(vm_get_page_prot(vma->vm_flags));
0be895

arch/x86/kernel/apm_32.c:428:43: sparse: sparse: cast truncates bits from constant value (b0000400 becomes 400)

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: 1651e700664b4597ddf4f8adfe435252a0d11277 x86: Fix bitops.h warning with 
a moved cast
date:   3 months ago
config: i386-randconfig-s002-20200602 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 1651e700664b4597ddf4f8adfe435252a0d11277
# save the attached .config to linux build tree
make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> arch/x86/kernel/apm_32.c:428:43: sparse: sparse: cast truncates bits from 
>> constant value (b400 becomes 400)

vim +428 arch/x86/kernel/apm_32.c

c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  421  
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  422  /*
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  423   * Set 
up a segment that references the real mode segment 0x40
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  424   * that 
extends up to the end of page zero (that we have reserved).
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  425   * This 
is for buggy BIOS's that refer to (real mode) segment 0x40
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  426   * even 
though they are called in protected mode.
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  427   */
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09 @428  static 
struct desc_struct bad_bios_desc = GDT_ENTRY_INIT(0x4092,
c7425314c755d5 arch/x86/kernel/apm_32.c Akinobu Mita   2009-08-09  429  
(unsigned long)__va(0x400UL), PAGE_SIZE - 0x400 - 1);
^1da177e4c3f41 arch/i386/kernel/apm.c   Linus Torvalds 2005-04-16  430  

:: The code at line 428 was first introduced by commit
:: c7425314c755d5f94da7c978205c85a7c6201212 x86: Introduce 
GDT_ENTRY_INIT(), initialize bad_bios_desc statically

:: TO: Akinobu Mita 
:: CC: Ingo Molnar 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/usb/cdns3/gadget.c:1157:35: sparse: expected restricted __le32 [usertype] control

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   f359287765c04711ff54fbd11645271d8e5ff763
commit: 70d8b9e5e63d212019ba3f6823c8ec3d2df87645 usb: cdns3: make signed 1 bit 
bitfields unsigned
date:   10 weeks ago
config: i386-randconfig-s032-20200602 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 70d8b9e5e63d212019ba3f6823c8ec3d2df87645
# save the attached .config to linux build tree
make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/usb/cdns3/gadget.c:1157:35: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned long @@
>> drivers/usb/cdns3/gadget.c:1157:35: sparse: expected restricted __le32 
>> [usertype] control
>> drivers/usb/cdns3/gadget.c:1157:35: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1173:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
buffer @@ got unsigned long @@
>> drivers/usb/cdns3/gadget.c:1173:29: sparse: expected restricted __le32 
>> [usertype] buffer
   drivers/usb/cdns3/gadget.c:1173:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1188:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
length @@ got unsigned long @@
>> drivers/usb/cdns3/gadget.c:1188:29: sparse: expected restricted __le32 
>> [usertype] length
   drivers/usb/cdns3/gadget.c:1188:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1191:37: sparse: sparse: invalid assignment: |=
>> drivers/usb/cdns3/gadget.c:1191:37: sparse:left side has type restricted 
>> __le32
>> drivers/usb/cdns3/gadget.c:1191:37: sparse:right side has type unsigned 
>> long
   drivers/usb/cdns3/gadget.c:1213:38: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned int [assigned] [usertype] control @@
   drivers/usb/cdns3/gadget.c:1213:38: sparse: expected restricted __le32 
[usertype] control
>> drivers/usb/cdns3/gadget.c:1213:38: sparse: got unsigned int [assigned] 
>> [usertype] control
   drivers/usb/cdns3/gadget.c:1215:48: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned int [assigned] [usertype] control @@
   drivers/usb/cdns3/gadget.c:1215:48: sparse: expected restricted __le32 
[usertype] control
   drivers/usb/cdns3/gadget.c:1215:48: sparse: got unsigned int [assigned] 
[usertype] control
   drivers/usb/cdns3/gadget.c:1229:30: sparse: sparse: invalid assignment: |=
   drivers/usb/cdns3/gadget.c:1229:30: sparse:left side has type restricted 
__le32
   drivers/usb/cdns3/gadget.c:1229:30: sparse:right side has type unsigned 
long
   drivers/usb/cdns3/gadget.c:1255:36: sparse: sparse: restricted __le32 
degrades to integer
   drivers/usb/cdns3/gadget.c:1255:30: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned int @@
   drivers/usb/cdns3/gadget.c:1255:30: sparse: expected restricted __le32 
[usertype] control
>> drivers/usb/cdns3/gadget.c:1255:30: sparse: got unsigned int
   drivers/usb/cdns3/gadget.c:1010:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
buffer @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1010:29: sparse: expected restricted __le32 
[usertype] buffer
   drivers/usb/cdns3/gadget.c:1010:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1013:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
buffer @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1013:29: sparse: expected restricted __le32 
[usertype] buffer
   drivers/usb/cdns3/gadget.c:1013:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1019:21: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
length @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1019:21: sparse: expected restricted __le32 
[usertype] length
   drivers/usb/cdns3/gadget.c:1019:21: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1029:37: sparse: sparse: invalid assignment: |=
   drivers/usb/cdns3/gadget.c:1029:37: sparse:left side has type restricted 
__le32
   drivers/usb/cdns3/gad

[rcu:dev.2020.06.01a] BUILD SUCCESS 03686f053f5a5bb982d916d42bae05bec4cf42b9

2020-06-01 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.06.01a
branch HEAD: 03686f053f5a5bb982d916d42bae05bec4cf42b9  refperf: Change 
readdelay module parameter to nanoseconds

i386-tinyconfig vmlinux size:


 TOTAL  TEXT  built-in.*  arch/x86/events/zhaoxin/built-in.*


  -233  -233  8747b07d1944 
Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0  03e8e094dad9 
Merge branch 'lkmm-dev.2020.05.16a' into HEAD
 0 0  17e0ee2a3ec9 
torture:  Remove qemu dependency on EFI firmware 
 0 0  c58148777978 
torture: Add script to smoke-test commits in a branch
   +38   +38  396a79cc6818 
fork: Annotate a data race in vm_area_dup()  
 0 0  8035e0fc710a 
x86/mm/pat: Mark an intentional data race
 0 0  d7a51c24ee4b 
rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0  e5efa2f1b7b6 
locktorture: Use true and false to assign to bool variables  
 0 0  7514d7f181ab 
srcu: Fix a typo in comment "amoritized"->"amortized"
 0 0  9dbd776542e3 rcu: 
Simplify the calculation of rcu_state.ncpus 
 0 0  df12d657bcc0 
docs: RCU: Convert checklist.txt to ReST 
 0 0  fdfeb779e1bd 
docs: RCU: Convert lockdep-splat.txt to ReST 
 0 0  68b5951f7eb2 
docs: RCU: Convert lockdep.txt to ReST   
 0 0  ce9edc0c8a82 
docs: RCU: Convert rculist_nulls.txt to ReST 
 0 0  1bee818b03c7 
docs: RCU: Convert torture.txt to ReST   
 0 0  9100131711bc 
docs: RCU: Convert rcuref.txt to ReST
 0 0  080f194cfa87 
docs: RCU: Convert stallwarn.txt to ReST 
 0 0  6999f47d8456 
docs: RCU: Don't duplicate chapter names in rculist_nulls.rs 
 0 0  55ce2e8178f2 
rcutorture: Add races with task-exit processing  
 0 0  1c60a5e52538 
torture: Set configfile variable to current scenario 
 0 0  9969401f1706 
rcutorture: Handle non-statistic bang-string error messages  
 0 0  6f099e1b362b 
rcutorture: NULL rcu_torture_current earlier in cleanup code 
 0 0  6816417616c4 
kcsan: Add test suite
 0 0  848d16e04f52 doc: 
Timer problems can cause RCU CPU stall warnings 
 0 0  2364a9f967ec rcu: 
Add callbacks-invoked counters  
 0 0  2775724beeef rcu: 
Add comment documenting rcu_callback_map's purpose  
 0 0 +138684  bfd78bca7bdf 
Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom o 
+1 0 -138684  8903088434e7 
rcu/tree: Add better tracing for dyntick-idle
-1 0  c0601bb42994 
rcu/tree: Clean up dynticks counter usage
 0 0  3f3baaf3ac07 
rcu/tree: Remove dynticks_nmi_nesting counter
+1 0  725e4ad9e020 
trace: events: rcu: Change description of rcu_dyntick trace  
 0 0 

[tip:x86/urgent] BUILD SUCCESS f8a4bcabadd6b7b15606a049d8600f1cebb6b364

2020-06-01 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/urgent
branch HEAD: f8a4bcabadd6b7b15606a049d8600f1cebb6b364  Merge branches 
'x86/apic', 'x86/misc' and 'x86/splitlock' into x86/urgent

elapsed time: 480m

configs tested: 88
configs skipped: 86

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
x86_64  defconfig
s390defconfig
sh   cayman_defconfig
h8300   h8s-sim_defconfig
arm   imx_v4_v5_defconfig
mips decstation_defconfig
arm  collie_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a001-20200601
i386 randconfig-a006-20200601
i386 randconfig-a002-20200601
i386 randconfig-a005-20200601
i386 randconfig-a003-20200601
i386 randconfig-a004-20200601
x86_64   randconfig-a002-20200601
x86_64   randconfig-a006-20200601
x86_64   randconfig-a001-20200601
x86_64   randconfig-a003-20200601
x86_64   randconfig-a004-20200601
x86_64   randconfig-a005-20200601
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um  defconfig
um   allmodconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


drivers/usb/cdns3/drd.c:336:35: sparse: expected struct cdns3_otg_regs *otg_v1_regs

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b23c4771ff62de8ca9b5e4a2d64491b2fb6f8f69
commit: 70d8b9e5e63d212019ba3f6823c8ec3d2df87645 usb: cdns3: make signed 1 bit 
bitfields unsigned
date:   10 weeks ago
config: parisc-randconfig-s031-20200601 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 70d8b9e5e63d212019ba3f6823c8ec3d2df87645
# save the attached .config to linux build tree
make W=1 C=1 ARCH=parisc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/usb/cdns3/drd.c:43:42: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:43:42: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:43:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:45:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:45:42: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:45:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:47:42: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:47:42: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:47:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:49:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:49:42: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:49:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:71:25: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:71:25: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:71:25: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:81:30: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:81:30: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:81:30: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:114:24: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:114:24: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:114:24: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:124:48: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:124:48: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:124:48: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:141:56: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:141:56: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:141:56: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:144:23: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:144:23: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:144:23: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:144:23: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:144:23: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:144:23: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:154:29: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:154:29: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:154:29: 

[rcu:dev.2020.05.31a] BUILD REGRESSION d4a44f7b283b30d89a9d3b68266ecde58fc92aab

2020-06-01 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.31a
branch HEAD: d4a44f7b283b30d89a9d3b68266ecde58fc92aab  refperf: Change 
readdelay module parameter to nanoseconds

Error/Warning in current branch:

arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a 
function or function pointer
arch/m68k/include/asm/delay.h:123:19: error: called object 'ndelay' is not a 
function or function pointer
arch/riscv/include/asm/delay.h:12:16: error: called object 'udelay' is not a 
function or function pointer
arch/riscv/include/asm/delay.h:15:16: error: called object 'ndelay' is not a 
function or function pointer
arch/xtensa/include/asm/delay.h:65:19: error: called object 'ndelay' is not a 
function or function pointer
include/linux/delay.h:53:19: error: called object 'ndelay' is not a function or 
function pointer
kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or 
function pointer

Error/Warning ids grouped by kconfigs:

recent_errors
|-- alpha-allyesconfig
|   |-- 
arch-alpha-include-asm-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- arm-allmodconfig
|   `-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|-- arm-allyesconfig
|   `-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|-- ia64-allyesconfig
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- m68k-allmodconfig
|   `-- 
arch-m68k-include-asm-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|-- m68k-allyesconfig
|   `-- 
arch-m68k-include-asm-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|-- parisc-allmodconfig
|   |-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- parisc-allyesconfig
|   |-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- powerpc-allyesconfig
|   `-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|-- riscv-allyesconfig
|   |-- 
arch-riscv-include-asm-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
arch-riscv-include-asm-delay.h:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- sparc-allyesconfig
|   |-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- sparc64-allmodconfig
|   |-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
|-- sparc64-allyesconfig
|   |-- 
include-linux-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer
|   `-- 
kernel-rcu-refperf.c:error:called-object-udelay-is-not-a-function-or-function-pointer
`-- xtensa-allyesconfig
`-- 
arch-xtensa-include-asm-delay.h:error:called-object-ndelay-is-not-a-function-or-function-pointer


i386-tinyconfig vmlinux size:


 TOTAL  TEXT  arch/x86/events/zhaoxin/built-in.*  built-in.*


  -233  -233  8747b07d1944 
Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0  03e8e094dad9 
Merge branch 'lkmm-dev.2020.05.16a' into HEAD
 0 0  17e0ee2a3ec9 
torture:  Remove qemu dependency on EFI firmware 
 0 0  c58148777978 
torture: Add script to smoke-test commits in a branch
   +38   +38  396a79cc6818 
fork: Annotate a data race in vm_area_dup()  
 0 0  8035e0fc710a 
x86/mm/pat: Mark an intentional data race
 0 0  d7a51c24ee4b 
rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0  e5efa2f1b7b6 
locktorture: Use true and false to assign to bool variables  
 0 0

arch/sparc/include/asm/irqflags_64.h:60:27: sparse: sparse: context imbalance in 'kfree_call_rcu' - different lock contexts for basic block

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   9bf9511e3d9f328c03f6f79bfb741c3d18f2f2c0
commit: a35d16905efc6ad5523d864a5c6efcb1e657e386 rcu: Add basic support for 
kfree_rcu() batching
date:   4 months ago
config: sparc-randconfig-s031-20200602 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout a35d16905efc6ad5523d864a5c6efcb1e657e386
# save the attached .config to linux build tree
make W=1 C=1 ARCH=sparc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   kernel/rcu/tree.c:1152:13: sparse: sparse: context imbalance in 
'rcu_start_this_gp' - different lock contexts for basic block
   kernel/rcu/tree.c:1565:9: sparse: sparse: context imbalance in 'rcu_gp_init' 
- different lock contexts for basic block
   kernel/rcu/tree.c:2292:9: sparse: sparse: context imbalance in 
'force_qs_rnp' - different lock contexts for basic block
   kernel/rcu/tree.c:2348:25: sparse: sparse: context imbalance in 
'rcu_force_quiescent_state' - unexpected unlock
>> arch/sparc/include/asm/irqflags_64.h:60:27: sparse: sparse: context 
>> imbalance in 'kfree_call_rcu' - different lock contexts for basic block
   kernel/rcu/tree_exp.h:193:9: sparse: sparse: context imbalance in 
'__rcu_report_exp_rnp' - different lock contexts for basic block

vim +/kfree_call_rcu +60 arch/sparc/include/asm/irqflags_64.h

f5e706ad886b6a include/asm-sparc/irqflags_64.h  Sam Ravnborg   2008-07-17  
59  
18d85bc558edfa arch/sparc/include/asm/irqflags_64.h Steven Rostedt 2011-07-06 
@60  static inline notrace int arch_irqs_disabled_flags(unsigned long flags)
f5e706ad886b6a include/asm-sparc/irqflags_64.h  Sam Ravnborg   2008-07-17  
61  {
f5e706ad886b6a include/asm-sparc/irqflags_64.h  Sam Ravnborg   2008-07-17  
62   return (flags > 0);
f5e706ad886b6a include/asm-sparc/irqflags_64.h  Sam Ravnborg   2008-07-17  
63  }
f5e706ad886b6a include/asm-sparc/irqflags_64.h  Sam Ravnborg   2008-07-17  
64  

:: The code at line 60 was first introduced by commit
:: 18d85bc558edfa5de7f5b49b6a25fbfdc42628e0 sparc/irqs: Do not trace 
arch_local_{*,irq_*} functions

:: TO: Steven Rostedt 
:: CC: David S. Miller 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[tip:x86/entry] BUILD SUCCESS 0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11

2020-06-01 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/entry
branch HEAD: 0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11  xen: Add missing include 
to hvm_op.h

i386-tinyconfig vmlinux size:

+---++--+
| DELTA |   SYMBOL   |  COMMIT  
|
+---++--+
|  +169 | TOTAL  | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
|  +167 | TEXT   | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
| +2048 | idt_table  | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
|  +154 | init.text  | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
|   +85 | idt_setup_apic_and_irq_gates() | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
|  -136 | arch/x86/events/zhaoxin/built-in.* | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
| -2048 | idt_table  | 5a7462b1f9c1..0cfc1b7f2f93 (ALL 
COMMITS) |
+---++--+

elapsed time: 484m

configs tested: 83
configs skipped: 3

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
h8300   h8s-sim_defconfig
arm   imx_v4_v5_defconfig
mips decstation_defconfig
arm  collie_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparcallyesconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um  defconfig
um   allmodconfig
um   allyesconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64

Re: [PATCH 4/6] vhost_vdpa: support doorbell mapping via mmap

2020-06-01 Thread kbuild test robot
Hi Jason,

I love your patch! Yet something to improve:

[auto build test ERROR on vhost/linux-next]
[also build test ERROR on linus/master v5.7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Jason-Wang/vDPA-doorbell-mapping/20200531-070834
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
config: m68k-randconfig-r011-20200601 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/vhost/vdpa.c: In function 'vhost_vdpa_fault':
>> drivers/vhost/vdpa.c:754:22: error: implicit declaration of function 
>> 'pgprot_noncached' [-Werror=implicit-function-declaration]
754 |  vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
|  ^~~~
>> drivers/vhost/vdpa.c:754:22: error: incompatible types when assigning to 
>> type 'pgprot_t' {aka 'struct '} from type 'int'
cc1: some warnings being treated as errors

vim +/pgprot_noncached +754 drivers/vhost/vdpa.c

   742  
   743  static vm_fault_t vhost_vdpa_fault(struct vm_fault *vmf)
   744  {
   745  struct vhost_vdpa *v = vmf->vma->vm_file->private_data;
   746  struct vdpa_device *vdpa = v->vdpa;
   747  const struct vdpa_config_ops *ops = vdpa->config;
   748  struct vdpa_notification_area notify;
   749  struct vm_area_struct *vma = vmf->vma;
   750  u16 index = vma->vm_pgoff;
   751  
   752  notify = ops->get_vq_notification(vdpa, index);
   753  
 > 754  vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
   755  if (remap_pfn_range(vma, vmf->address & PAGE_MASK,
   756  notify.addr >> PAGE_SHIFT, PAGE_SIZE,
   757  vma->vm_page_prot))
   758  return VM_FAULT_SIGBUS;
   759  
   760  return VM_FAULT_NOPAGE;
   761  }
   762  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH] gpiolib: split character device into gpiolib-cdev

2020-06-01 Thread kbuild test robot
Hi Kent,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on v5.7-rc5]
[cannot apply to gpio/for-next linus/master linux/master v5.7-rc7 v5.7-rc6 
next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Kent-Gibson/gpiolib-split-character-device-into-gpiolib-cdev/20200528-35
base:2ef96a5bb12be62ef75b5828c0aab838ebb29cb8
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


cppcheck warnings: (new ones prefixed by >>)

>> drivers/gpio/gpiolib-cdev.c:1035:6: warning: Variable 'ret' is reassigned a 
>> value before the old one has been used. [redundantAssignment]
ret = atomic_notifier_chain_register(>notifier,
^
   drivers/gpio/gpiolib-cdev.c:1016:0: note: Variable 'ret' is reassigned a 
value before the old one has been used.
int ret = -ENOMEM;
   ^
   drivers/gpio/gpiolib-cdev.c:1035:6: note: Variable 'ret' is reassigned a 
value before the old one has been used.
ret = atomic_notifier_chain_register(>notifier,
^

vim +/ret +1035 drivers/gpio/gpiolib-cdev.c

  1004  
  1005  /**
  1006   * gpio_chrdev_open() - open the chardev for ioctl operations
  1007   * @inode: inode for this chardev
  1008   * @filp: file struct for storing private data
  1009   * Returns 0 on success
  1010   */
  1011  static int gpio_chrdev_open(struct inode *inode, struct file *filp)
  1012  {
  1013  struct gpio_device *gdev = container_of(inode->i_cdev,
  1014struct gpio_device, 
chrdev);
  1015  struct gpio_chardev_data *priv;
  1016  int ret = -ENOMEM;
  1017  
  1018  /* Fail on open if the backing gpiochip is gone */
  1019  if (!gdev->chip)
  1020  return -ENODEV;
  1021  
  1022  priv = kzalloc(sizeof(*priv), GFP_KERNEL);
  1023  if (!priv)
  1024  return -ENOMEM;
  1025  
  1026  priv->watched_lines = bitmap_zalloc(gdev->chip->ngpio, 
GFP_KERNEL);
  1027  if (!priv->watched_lines)
  1028  goto out_free_priv;
  1029  
  1030  init_waitqueue_head(>wait);
  1031  INIT_KFIFO(priv->events);
  1032  priv->gdev = gdev;
  1033  
  1034  priv->lineinfo_changed_nb.notifier_call = 
lineinfo_changed_notify;
> 1035  ret = atomic_notifier_chain_register(>notifier,
  1036   
>lineinfo_changed_nb);
  1037  if (ret)
  1038  goto out_free_bitmap;
  1039  
  1040  get_device(>dev);
  1041  filp->private_data = priv;
  1042  
  1043  ret = nonseekable_open(inode, filp);
  1044  if (ret)
  1045  goto out_unregister_notifier;
  1046  
  1047  return ret;
  1048  
  1049  out_unregister_notifier:
  1050  atomic_notifier_chain_unregister(>notifier,
  1051   >lineinfo_changed_nb);
  1052  out_free_bitmap:
  1053  bitmap_free(priv->watched_lines);
  1054  out_free_priv:
  1055  kfree(priv);
  1056  return ret;
  1057  }
  1058  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


[rcu:dev.2020.05.31a 79/79] kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function or function pointer

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
dev.2020.05.31a
head:   d4a44f7b283b30d89a9d3b68266ecde58fc92aab
commit: d4a44f7b283b30d89a9d3b68266ecde58fc92aab [79/79] refperf: Change 
readdelay module parameter to nanoseconds
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
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
git checkout d4a44f7b283b30d89a9d3b68266ecde58fc92aab
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=alpha 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

kernel/rcu/refperf.c: In function 'ref_rcu_delay_section':
>> kernel/rcu/refperf.c:139:4: error: called object 'udelay' is not a function 
>> or function pointer
139 |udelay(udelay);
|^~
kernel/rcu/refperf.c:132:51: note: declared here
132 | ref_rcu_delay_section(const int nloops, const int udelay, const int 
ndelay)
| ~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a 
>> function or function pointer
9 | #define ndelay ndelay
|^~
kernel/rcu/refperf.c:141:4: note: in expansion of macro 'ndelay'
141 |ndelay(ndelay);
|^~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:132:69: note: in expansion of macro 'ndelay'
132 | ref_rcu_delay_section(const int nloops, const int udelay, const int 
ndelay)
| ^~
kernel/rcu/refperf.c: In function 'srcu_ref_perf_delay_section':
kernel/rcu/refperf.c:182:4: error: called object 'udelay' is not a function or 
function pointer
182 |udelay(udelay);
|^~
kernel/rcu/refperf.c:174:16: note: declared here
174 |  const int udelay, const int ndelay)
|  ~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a 
>> function or function pointer
9 | #define ndelay ndelay
|^~
kernel/rcu/refperf.c:184:4: note: in expansion of macro 'ndelay'
184 |ndelay(ndelay);
|^~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:174:34: note: in expansion of macro 'ndelay'
174 |  const int udelay, const int ndelay)
|  ^~
kernel/rcu/refperf.c: In function 'ref_refcnt_delay_section':
kernel/rcu/refperf.c:217:4: error: called object 'udelay' is not a function or 
function pointer
217 |udelay(udelay);
|^~
kernel/rcu/refperf.c:210:54: note: declared here
210 | ref_refcnt_delay_section(const int nloops, const int udelay, const int 
ndelay)
|~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a 
>> function or function pointer
9 | #define ndelay ndelay
|^~
kernel/rcu/refperf.c:219:4: note: in expansion of macro 'ndelay'
219 |ndelay(ndelay);
|^~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:210:72: note: in expansion of macro 'ndelay'
210 | ref_refcnt_delay_section(const int nloops, const int udelay, const int 
ndelay)
|^~
kernel/rcu/refperf.c: In function 'ref_rwlock_delay_section':
kernel/rcu/refperf.c:257:4: error: called object 'udelay' is not a function or 
function pointer
257 |udelay(udelay);
|^~
kernel/rcu/refperf.c:250:54: note: declared here
250 | ref_rwlock_delay_section(const int nloops, const int udelay, const int 
ndelay)
|~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
>> arch/alpha/include/asm/delay.h:9:16: error: called object 'ndelay' is not a 
>> function or function pointer
9 | #define ndelay ndelay
|^~
kernel/rcu/refperf.c:259:4: note: in expansion of macro 'ndelay'
259 |ndelay(ndelay);
|^~
arch/alpha/include/asm/delay.h:9:16: note: declared here
9 | #define ndelay ndelay
kernel/rcu/refperf.c:250:72: note: in expansion of macro 'ndelay'
250 | ref_rwlock_delay_section(const int nloops, const int udelay, const int 
ndelay)
|^~

[rcu:dev.2020.05.31a 79/79] arch/m68k/include/asm/delay.h:123:19: error: called object 'ndelay' is not a function or function pointer

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
dev.2020.05.31a
head:   d4a44f7b283b30d89a9d3b68266ecde58fc92aab
commit: d4a44f7b283b30d89a9d3b68266ecde58fc92aab [79/79] refperf: Change 
readdelay module parameter to nanoseconds
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
git checkout d4a44f7b283b30d89a9d3b68266ecde58fc92aab
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from arch/m68k/include/asm/io_mm.h:25,
from arch/m68k/include/asm/io.h:8,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from include/asm-generic/hardirq.h:13,
from ./arch/m68k/include/generated/asm/hardirq.h:1,
from include/linux/hardirq.h:9,
from include/linux/interrupt.h:11,
from kernel/rcu/refperf.c:19:
arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsb':
arch/m68k/include/asm/raw_io.h:83:7: warning: variable '__w' set but not used 
[-Wunused-but-set-variable]
83 |  ({u8 __w, __v = (b);  u32 _addr = ((u32) (addr));  |   ^~~
arch/m68k/include/asm/raw_io.h:430:3: note: in expansion of macro 'rom_out_8'
430 |   rom_out_8(port, *buf++);
|   ^
arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw':
arch/m68k/include/asm/raw_io.h:86:8: warning: variable '__w' set but not used 
[-Wunused-but-set-variable]
86 |  ({u16 __w, __v = (w); u32 _addr = ((u32) (addr));  |^~~
arch/m68k/include/asm/raw_io.h:448:3: note: in expansion of macro 'rom_out_be16'
448 |   rom_out_be16(port, *buf++);
|   ^~~~
arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw_swapw':
arch/m68k/include/asm/raw_io.h:90:8: warning: variable '__w' set but not used 
[-Wunused-but-set-variable]
90 |  ({u16 __w, __v = (w); u32 _addr = ((u32) (addr));  |^~~
arch/m68k/include/asm/raw_io.h:466:3: note: in expansion of macro 'rom_out_le16'
466 |   rom_out_le16(port, *buf++);
|   ^~~~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
kernel/rcu/refperf.c: In function 'ref_rcu_delay_section':
>> arch/m68k/include/asm/delay.h:123:19: error: called object 'ndelay' is not a 
>> function or function pointer
123 | #define ndelay(n) ndelay(n)
|   ^~
kernel/rcu/refperf.c:141:4: note: in expansion of macro 'ndelay'
141 |ndelay(ndelay);
|^~
kernel/rcu/refperf.c:132:69: note: declared here
132 | ref_rcu_delay_section(const int nloops, const int udelay, const int 
ndelay)
|   ~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
kernel/rcu/refperf.c: In function 'srcu_ref_perf_delay_section':
>> arch/m68k/include/asm/delay.h:123:19: error: called object 'ndelay' is not a 
>> function or function pointer
123 | #define ndelay(n) ndelay(n)
|   ^~
kernel/rcu/refperf.c:184:4: note: in expansion of macro 'ndelay'
184 |ndelay(ndelay);
|^~
kernel/rcu/refperf.c:174:34: note: declared here
174 |  const int udelay, const int ndelay)
|~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
kernel/rcu/refperf.c: In function 'ref_refcnt_delay_section':
>> arch/m68k/include/asm/delay.h:123:19: error: called object 'ndelay' is not a 
>> function or function pointer
123 | #define ndelay(n) ndelay(n)
|   ^~
kernel/rcu/refperf.c:219:4: note: in expansion of macro 'ndelay'
219 |ndelay(ndelay);
|^~
kernel/rcu/refperf.c:210:72: note: declared here
210 | ref_refcnt_delay_section(const int nloops, const int udelay, const int 
ndelay)
|  ~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
kernel/rcu/refperf.c: In function 'ref_rwlock_delay_section':
>> arch/m68k/include/asm/delay.h:123:19: error: called object 'ndelay' is not a 
>> function or function pointer
123 | #define ndelay(n) ndelay(n)
|   ^~
kernel/rcu/refperf.c:259:4: note: in expansion of macro 'ndelay'
259 |ndelay(ndelay);
|^~
kernel/rcu/refperf.c:250:72: note: declared here
250 | ref_rwlock_delay_section(const int nloops, const int udelay, const int 
ndelay)
|  ~~^~
In file included from include/linux/delay.h:26,
from kernel/rcu/refperf.c:16:
kernel/rcu/refperf.c: In function 'ref_rwsem_delay_section':
&

[tip:core/rcu] BUILD SUCCESS cb3cb6733fbd8fd8d2c716095fdca42dadba2063

2020-06-01 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
core/rcu
branch HEAD: cb3cb6733fbd8fd8d2c716095fdca42dadba2063  Merge branch 
'WIP.core/rcu' into core/rcu, to pick up two x86/entry dependencies

elapsed time: 481m

configs tested: 99
configs skipped: 4

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
powerpcmvme5100_defconfig
mipsmaltaup_defconfig
arm   multi_v4t_defconfig
powerpccell_defconfig
openrisc simple_smp_defconfig
nds32alldefconfig
mips tb0287_defconfig
sh microdev_defconfig
powerpc   holly_defconfig
powerpcmpc7448_hpc2_defconfig
nios2alldefconfig
nds32   defconfig
mips  pic32mzda_defconfig
xtensa  iss_defconfig
powerpc mpc83xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
x86_64   randconfig-a002-20200601
x86_64   randconfig-a006-20200601
x86_64   randconfig-a001-20200601
x86_64   randconfig-a003-20200601
x86_64   randconfig-a004-20200601
x86_64   randconfig-a005-20200601
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparcallyesconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um  defconfig
um   allyesconfig
um   allmodconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test Service, Intel Corporation

[tip:irq/core] BUILD SUCCESS d77aeb5d403d379ff458e04fc07b5b86700270f2

2020-06-01 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
irq/core
branch HEAD: d77aeb5d403d379ff458e04fc07b5b86700270f2  irqchip: Fix "Loongson 
HyperTransport Vector support" driver build on all non-MIPS platforms

elapsed time: 482m

configs tested: 93
configs skipped: 5

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
x86_64  defconfig
sh   cayman_defconfig
nios2alldefconfig
nds32   defconfig
mips  pic32mzda_defconfig
xtensa  iss_defconfig
powerpc mpc83xx_defconfig
h8300   h8s-sim_defconfig
arm   imx_v4_v5_defconfig
mips decstation_defconfig
arm  collie_defconfig
powerpc   maple_defconfig
powerpc  chrp32_defconfig
arm  footbridge_defconfig
arm  ixp4xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um   allyesconfig
um  defconfig
um   allmodconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


drivers/usb/cdns3/drd.c:43:42: sparse: expected void const volatile [noderef] *addr

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 70d8b9e5e63d212019ba3f6823c8ec3d2df87645 usb: cdns3: make signed 1 bit 
bitfields unsigned
date:   10 weeks ago
config: powerpc-randconfig-s032-20200601 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 70d8b9e5e63d212019ba3f6823c8ec3d2df87645
# save the attached .config to linux build tree
make W=1 C=1 ARCH=powerpc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/usb/cdns3/drd.c:43:42: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
>> drivers/usb/cdns3/drd.c:43:42: sparse: expected void const volatile 
>> [noderef]  *addr
>> drivers/usb/cdns3/drd.c:43:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:45:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:45:42: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:45:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:47:42: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:47:42: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:47:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:49:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:49:42: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:49:42: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:71:25: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:71:25: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:71:25: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:81:30: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:81:30: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:81:30: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:114:24: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:114:24: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:114:24: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:124:48: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:124:48: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:124:48: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:141:56: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:141:56: sparse: expected void volatile [noderef] 
 *addr
   drivers/usb/cdns3/drd.c:141:56: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:144:23: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:144:23: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:144:23: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:144:23: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@ expected void const volatile [noderef] 
 *addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:144:23: sparse: expected void const volatile 
[noderef]  *addr
   drivers/usb/cdns3/drd.c:144:23: sparse: got restricted __le32 *
   drivers/usb/cdns3/drd.c:154:29: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@ expected void volatile [noderef]  
*addr @@ got restricted __le32 * @@
   drivers/usb/cdns3/drd.c:154:29: sparse: expected void volatile [noderef] 
 *addr
   driver

[tip:x86/entry 2/19] include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head:   5980d208e5ef28455e9e8b08f6250b443a2f0893
commit: 28447ea4154239025044381144f849ff749ee9ef [2/19] xen: Move 
xen_setup_callback_vector() definition to include/xen/hvm.h
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 28447ea4154239025044381144f849ff749ee9ef
# save the attached .config to linux build tree
make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/xen/interface/hvm/params.h:24,
from include/xen/hvm.h:6,
from arch/x86/xen/suspend_hvm.c:5:
>> include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'
29 | domid_t  domid;/* IN */
| ^~~
include/xen/interface/hvm/hvm_op.h:33:1: warning: data definition has no type 
or storage class
33 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
| ^~
>> include/xen/interface/hvm/hvm_op.h:33:1: error: type defaults to 'int' in 
>> declaration of 'DEFINE_GUEST_HANDLE_STRUCT' [-Werror=implicit-int]
include/xen/interface/hvm/hvm_op.h:33:1: warning: parameter names (without 
types) in function declaration
include/xen/interface/hvm/hvm_op.h:39:5: error: unknown type name 'domid_t'
39 | domid_t  domid;
| ^~~
include/xen/interface/hvm/hvm_op.h:44:1: warning: data definition has no type 
or storage class
44 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t);
| ^~
include/xen/interface/hvm/hvm_op.h:44:1: error: type defaults to 'int' in 
declaration of 'DEFINE_GUEST_HANDLE_STRUCT' [-Werror=implicit-int]
include/xen/interface/hvm/hvm_op.h:56:5: error: unknown type name 'domid_t'
56 | domid_t domid;
| ^~~
include/xen/interface/hvm/hvm_op.h:63:1: warning: data definition has no type 
or storage class
63 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type);
| ^~
include/xen/interface/hvm/hvm_op.h:63:1: error: type defaults to 'int' in 
declaration of 'DEFINE_GUEST_HANDLE_STRUCT' [-Werror=implicit-int]
include/xen/interface/hvm/hvm_op.h:63:1: warning: parameter names (without 
types) in function declaration
cc1: some warnings being treated as errors

vim +/domid_t +29 include/xen/interface/hvm/hvm_op.h

18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  23  
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  24  /* Get/set subcommands: the 
second argument of the hypercall is a
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  25   * pointer to a 
xen_hvm_param struct. */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  26  #define HVMOP_set_param  
 0
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  27  #define HVMOP_get_param  
 1
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  28  struct xen_hvm_param {
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 @29  domid_t  domid;/* IN 
*/
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  30  uint32_t index;/* IN 
*/
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  31  uint64_t value;/* 
IN/OUT */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  32  };
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 @33  
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  34  

:: The code at line 29 was first introduced by commit
:: 18f19aa62a267f2f759e278018f1032adf4c3774 xen: Add support for HVM 
hypercalls.

:: TO: Jeremy Fitzhardinge 
:: CC: Jeremy Fitzhardinge 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: incorrect type in argument 1 (different base types)

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 8b3abe304c5f1057b7bac70fd5576dfa67e3e2b3 net: dsa: bcm_sf2: Support 
specifying VLAN tag egress rule
date:   9 weeks ago
config: x86_64-randconfig-s022-20200601 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 8b3abe304c5f1057b7bac70fd5576dfa67e3e2b3
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/net/dsa/bcm_sf2_cfp.c:352:44: sparse: sparse: incorrect type in 
initializer (different base types) @@ expected restricted __be16 [usertype] 
vlan_m_tci @@ got int @@
   drivers/net/dsa/bcm_sf2_cfp.c:352:44: sparse: expected restricted __be16 
[usertype] vlan_m_tci
   drivers/net/dsa/bcm_sf2_cfp.c:352:44: sparse: got int
   drivers/net/dsa/bcm_sf2_cfp.c:633:43: sparse: sparse: incorrect type in 
initializer (different base types) @@ expected restricted __be16 [usertype] 
vlan_m_tci @@ got int @@
   drivers/net/dsa/bcm_sf2_cfp.c:633:43: sparse: expected restricted __be16 
[usertype] vlan_m_tci
   drivers/net/dsa/bcm_sf2_cfp.c:633:43: sparse: got int
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: cast from restricted 
__be32
>> drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: incorrect type in 
>> argument 1 (different base types) @@ expected unsigned int [usertype] 
>> val @@ got restricted __be32 @@
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: expected unsigned int 
[usertype] val
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: got restricted __be32
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: cast from restricted 
__be32
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: cast from restricted 
__be32
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: cast from restricted 
__be32
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: cast from restricted 
__be32
   drivers/net/dsa/bcm_sf2_cfp.c:890:21: sparse: sparse: restricted __be32 
degrades to integer

vim +890 drivers/net/dsa/bcm_sf2_cfp.c

   845  
   846  static int bcm_sf2_cfp_rule_insert(struct dsa_switch *ds, int port,
   847 struct ethtool_rx_flow_spec *fs)
   848  {
   849  struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds);
   850  s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index;
   851  __u64 ring_cookie = fs->ring_cookie;
   852  struct switchdev_obj_port_vlan vlan;
   853  unsigned int queue_num, port_num;
   854  u16 vid;
   855  int ret;
   856  
   857  /* This rule is a Wake-on-LAN filter and we must specifically
   858   * target the CPU port in order for it to be working.
   859   */
   860  if (ring_cookie == RX_CLS_FLOW_WAKE)
   861  ring_cookie = cpu_port * SF2_NUM_EGRESS_QUEUES;
   862  
   863  /* We do not support discarding packets, check that the
   864   * destination port is enabled and that we are within the
   865   * number of ports supported by the switch
   866   */
   867  port_num = ring_cookie / SF2_NUM_EGRESS_QUEUES;
   868  
   869  if (ring_cookie == RX_CLS_FLOW_DISC ||
   870  !(dsa_is_user_port(ds, port_num) ||
   871dsa_is_cpu_port(ds, port_num)) ||
   872  port_num >= priv->hw_params.num_ports)
   873  return -EINVAL;
   874  
   875  /* If the rule is matching a particular VLAN, make sure that we 
honor
   876   * the matching and have it tagged or untagged on the 
destination port,
   877   * we do this on egress with a VLAN entry. The egress tagging 
attribute
   878   * is expected to be provided in h_ext.data[1] bit 0. A 1 means 
untagged,
   879   * a 0 means tagged.
   880   */
   881  if (fs->flow_type & FLOW_EXT) {
   882  /* We cannot support matching multiple VLAN IDs yet */
   883  if ((be16_to_cpu(fs->m_ext.vlan_tci) & VLAN_VID_MASK) !=
   884  VLAN_VID_MASK)
   885  return -EINVAL;
   886  
   887  vid = be16_to_cpu(fs->h_ext.vlan_tci) & VLAN_VID_MASK;
   888  vlan.vid_begin = vid;
   889  vlan.vid_end = vid;
 > 890  if (cpu_to_be32(fs->h_ext.data[1]) & 1)
   891  vlan.flags = BRIDGE_VLAN_INFO_UNTAGGED;
   892  else
   893  vlan.flags = 0;
   894  

[rcu:dev.2020.05.26b 56/70] kernel/rcu/refperf.c:389: undefined reference to `__umoddi3'

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
dev.2020.05.26b
head:   795279db1396bf66621fa3f343fa990fe543b89e
commit: 756c011f78747dc49a1e79a521fd77093849586b [56/70] refperf: Allow decimal 
nanoseconds
config: m68k-randconfig-r024-20200601 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
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
git checkout 756c011f78747dc49a1e79a521fd77093849586b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

m68k-linux-ld: kernel/rcu/refperf.o: in function `main_func':
>> kernel/rcu/refperf.c:389: undefined reference to `__umoddi3'
>> m68k-linux-ld: kernel/rcu/refperf.c:378: undefined reference to `__udivdi3'
m68k-linux-ld: kernel/rcu/refperf.c:389: undefined reference to `__udivdi3'

vim +389 kernel/rcu/refperf.c

   328  
   329  // The main_func is the main orchestrator, it performs a bunch of
   330  // experiments.  For every experiment, it orders all the readers
   331  // involved to start and waits for them to finish the experiment. It
   332  // then reads their timestamps and starts the next experiment. Each
   333  // experiment progresses from 1 concurrent reader to N of them at which
   334  // point all the timestamps are printed.
   335  static int main_func(void *arg)
   336  {
   337  int exp, r;
   338  char buf1[64];
   339  char buf[512];
   340  
   341  set_cpus_allowed_ptr(current, cpumask_of(nreaders % 
nr_cpu_ids));
   342  set_user_nice(current, MAX_NICE);
   343  
   344  if (holdoff)
   345  schedule_timeout_interruptible(holdoff * HZ);
   346  VERBOSE_PERFOUT("main_func task started");
   347  atomic_inc(_init);
   348  
   349  // Wait for all threads to start.
   350  wait_event(main_wq, atomic_read(_init) == (nreaders + 1));
   351  
   352  // Start exp readers up per experiment
   353  for (exp = 0; exp < nreaders && !torture_must_stop(); exp++) {
   354  if (torture_must_stop())
   355  goto end;
   356  
   357  reset_readers(exp);
   358  atomic_set(_exp, exp + 1);
   359  
   360  exp_idx = exp;
   361  
   362  for (r = 0; r <= exp; r++) {
   363  atomic_set(_tasks[r].start, 1);
   364  wake_up(_tasks[r].wq);
   365  }
   366  
   367  VERBOSE_PERFOUT("main_func: experiment started, waiting 
for %d readers",
   368  exp);
   369  
   370  wait_event(main_wq,
   371 !atomic_read(_exp) || 
torture_must_stop());
   372  
   373  VERBOSE_PERFOUT("main_func: experiment ended");
   374  
   375  if (torture_must_stop())
   376  goto end;
   377  
 > 378  reader_tasks[exp].result_avg = 1000 * 
 > process_durations(exp) / ((exp + 1) * loops);
   379  }
   380  
   381  // Print the average of all experiments
   382  PERFOUT("END OF TEST. Calculating average duration per loop 
(nanoseconds)...\n");
   383  
   384  buf[0] = 0;
   385  strcat(buf, "\n");
   386  strcat(buf, "Threads\tTime(ns)\n");
   387  
   388  for (exp = 0; exp < nreaders; exp++) {
 > 389  sprintf(buf1, "%d\t%llu.%03d\n", exp + 1, 
 > reader_tasks[exp].result_avg / 1000, (int)(reader_tasks[exp].result_avg % 
 > 1000));
   390  strcat(buf, buf1);
   391  }
   392  
   393  PERFOUT("%s", buf);
   394  
   395  // This will shutdown everything including us.
   396  if (shutdown) {
   397  shutdown_start = 1;
   398  wake_up(_wq);
   399  }
   400  
   401  // Wait for torture to stop us
   402  while (!torture_must_stop())
   403  schedule_timeout_uninterruptible(1);
   404  
   405  end:
   406  torture_kthread_stopping("main_func");
   407  return 0;
   408  }
   409  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


arch/x86/mm/numa.c:925:5: warning: no previous prototype for 'memory_add_physaddr_to_nid'

2020-06-01 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 7b27a8622f802761d5c6abd6c37b22312a35343c libnvdimm/e820: Retrieve and 
populate correct 'target_node' info
date:   3 months ago
config: x86_64-randconfig-a003-20200601 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 7b27a8622f802761d5c6abd6c37b22312a35343c
# save the attached .config to linux build tree
make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> arch/x86/mm/numa.c:925:5: warning: no previous prototype for 
>> 'memory_add_physaddr_to_nid' [-Wmissing-prototypes]
925 | int memory_add_physaddr_to_nid(u64 start)
| ^~

vim +/memory_add_physaddr_to_nid +925 arch/x86/mm/numa.c

5d30f92e763128 Dan Williams 2020-02-16  924  
5d30f92e763128 Dan Williams 2020-02-16 @925  int memory_add_physaddr_to_nid(u64 
start)

:: The code at line 925 was first introduced by commit
:: 5d30f92e7631286b861c5400c8eadcae50a1 x86/NUMA: Provide a 
range-to-target_node lookup facility

:: TO: Dan Williams 
:: CC: Dan Williams 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


sh: 1: scripts/ld-version.sh: Permission denied

2020-05-31 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162
commit: 9553d16fa671b9621c5e2847d08bd90d3be3349c init/kconfig: Add LD_VERSION 
Kconfig
date:   9 weeks ago
config: x86_64-allyesconfig
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 9553d16fa671b9621c5e2847d08bd90d3be3349c
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64  
allyesconfig
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: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

sh: 1: scripts/gcc-version.sh: Permission denied
sh: 1: scripts/gcc-version.sh: Permission denied
init/Kconfig:18: syntax error
init/Kconfig:17: invalid statement
init/Kconfig:18: invalid statement
>> sh: 1: scripts/ld-version.sh: Permission denied
init/Kconfig:23: syntax error
init/Kconfig:22: invalid statement
sh: 1: scripts/clang-version.sh: Permission denied
init/Kconfig:30: syntax error
init/Kconfig:29: invalid statement
sh: 1: scripts/gcc-plugin.sh: Permission denied
make[2]: *** [scripts/kconfig/Makefile:75: allyesconfig] Error 1
make[1]: *** [Makefile:567: allyesconfig] Error 2
make: *** [Makefile:179: sub-make] Error 2
--
sh: 1: scripts/gcc-version.sh: Permission denied
sh: 1: scripts/gcc-version.sh: Permission denied
init/Kconfig:18: syntax error
init/Kconfig:17: invalid statement
init/Kconfig:18: invalid statement
>> sh: 1: scripts/ld-version.sh: Permission denied
init/Kconfig:23: syntax error
init/Kconfig:22: invalid statement
sh: 1: scripts/clang-version.sh: Permission denied
init/Kconfig:30: syntax error
init/Kconfig:29: invalid statement
sh: 1: scripts/gcc-plugin.sh: Permission denied
make[2]: *** [scripts/kconfig/Makefile:75: oldconfig] Error 1
make[1]: *** [Makefile:567: oldconfig] Error 2
make: *** [Makefile:179: sub-make] Error 2
--
sh: 1: scripts/gcc-version.sh: Permission denied
sh: 1: scripts/gcc-version.sh: Permission denied
init/Kconfig:18: syntax error
init/Kconfig:17: invalid statement
init/Kconfig:18: invalid statement
>> sh: 1: scripts/ld-version.sh: Permission denied
init/Kconfig:23: syntax error
init/Kconfig:22: invalid statement
sh: 1: scripts/clang-version.sh: Permission denied
init/Kconfig:30: syntax error
init/Kconfig:29: invalid statement
sh: 1: scripts/gcc-plugin.sh: Permission denied
make[2]: *** [scripts/kconfig/Makefile:75: olddefconfig] Error 1
make[1]: *** [Makefile:567: olddefconfig] Error 2
make: *** [Makefile:179: sub-make] Error 2

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


[tip:WIP.sched/core] BUILD REGRESSION 1f8db4150536431b031585ecc2a6793f69245de2

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
WIP.sched/core
branch HEAD: 1f8db4150536431b031585ecc2a6793f69245de2  sched/headers: Split out 
open-coded prototypes into kernel/sched/smp.h

Error/Warning in current branch:

smp.c:(.text+0x10c): undefined reference to `irq_work_single'
smp.c:(.text+0x110): undefined reference to `irq_work_single'

Error/Warning ids grouped by kconfigs:

recent_errors
|-- arm64-allnoconfig
|   `-- smp.c:(.text):undefined-reference-to-irq_work_single
`-- s390-allnoconfig
`-- smp.c:(.text):undefined-reference-to-irq_work_single


i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  try_invoke_on_locked_down_task()  
arch/x86/events/zhaoxin/built-in.*  
  
==
-1 0  
-136  c6e7bd7afaeb sched/core: Optimize ttwu() spinning on p->on_cpu
 0 0  
+136  2ebb17717550 sched/core: Offload wakee task activation if it the wakee is 
 0 0  
-136  498bdcdb949e Merge branch 'sched/urgent' into sched/core, to pick up fix  
  +172  +172   +76  
58ef57b16d9e Merge branch 'core/rcu' into sched/core, to pick up dependen 
 0 0 0  
19a1f5ec6999 sched: Fix smp_call_function_single_async() usage for ILB
 0 0 0  
52103be07d8b smp: Optimize flush_smp_call_function_queue()
 0 0 0  
afaa653c564d smp: Move irq_work_run() out of flush_smp_call_function_queu 
 0 0 0  
b2a02fc43a1f smp: Optimize send_call_function_single_ipi()
+1+1 0  
4b44a21dd640 irq_work, smp: Allow irq_work on call_single_queue   
   -31 0 0  
126c2092e5c8 sched: Add rq::ttwu_pending  
 0 0 0  
a148866489fb sched: Replace rq::wake_list 
 0 0 0
+136  1f8db4150536 sched/headers: Split out open-coded prototypes into kernel/s 
  +141  +173   +76  
 0  d505b8af5891..1f8db4150536 (ALL COMMITS)  
==

elapsed time: 5488m

configs tested: 152
configs skipped: 9

arm defconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm  allyesconfig
arm  allmodconfig
um   x86_64_defconfig
m68k   m5249evb_defconfig
sh   sh7770_generic_defconfig
arm vf610m4_defconfig
armtrizeps4_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  pasemi_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
mips db1xxx_defconfig
mipsnlm_xlr_defconfig
mipsnlm_xlp_defconfig
sh  rsk7269_defconfig
ia64generic_defconfig
mips allyesconfig
m68kq40_defconfig
sh   se7724_defconfig
mipsmalta_qemu_32r6_defconfig
mipse55_defconfig
mips   lemote2f_defconfig
armpleb_defconfig
sh   

[tip:sched/core] BUILD SUCCESS 58ef57b16d9e91cce1c640a6fe8a21d53a85181d

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
sched/core
branch HEAD: 58ef57b16d9e91cce1c640a6fe8a21d53a85181d  Merge branch 'core/rcu' 
into sched/core, to pick up dependency

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  try_invoke_on_locked_down_task()  
arch/x86/events/zhaoxin/built-in.*  
  
==
-1 0  
-136  c6e7bd7afaeb sched/core: Optimize ttwu() spinning on p->on_cpu
 0 0  
+136  2ebb17717550 sched/core: Offload wakee task activation if it the wakee is 
 0 0  
-136  498bdcdb949e Merge branch 'sched/urgent' into sched/core, to pick up fix  
  +172  +172   +76  
58ef57b16d9e Merge branch 'core/rcu' into sched/core, to pick up dependen 
  +171  +172   +76
-136  d505b8af5891..58ef57b16d9e (ALL COMMITS)  
==

elapsed time: 5488m

configs tested: 124
configs skipped: 3

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
arm   spear13xx_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a004-20200531
i386 randconfig-a003-20200531
i386 randconfig-a006-20200531
i386 randconfig-a002-20200531
i386 

[tip:perf/core] BUILD SUCCESS 5cde265384cad739b162cf08afba6da8857778bd

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
perf/core
branch HEAD: 5cde265384cad739b162cf08afba6da8857778bd  perf/x86/rapl: Add AMD 
Fam17h RAPL support

elapsed time: 5488m

configs tested: 86
configs skipped: 4

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
powerpc pseries_defconfig
armdove_defconfig
h8300alldefconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um  defconfig
um   allmodconfig
um   allyesconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


[rcu:dev.2020.05.25b] BUILD SUCCESS 39d28156618fd7787f3363cf66d77918c94abc54

2020-05-31 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.25b
branch HEAD: 39d28156618fd7787f3363cf66d77918c94abc54  refperf: Output 
per-experiment data points

i386-tinyconfig vmlinux size:


 TOTAL  TEXT  built-in.*  arch/x86/events/zhaoxin/built-in.*


  -233  -233  8747b07d1944 
Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0  03e8e094dad9 
Merge branch 'lkmm-dev.2020.05.16a' into HEAD
 0 0  17e0ee2a3ec9 
torture:  Remove qemu dependency on EFI firmware 
 0 0  c58148777978 
torture: Add script to smoke-test commits in a branch
   +38   +38  396a79cc6818 
fork: Annotate a data race in vm_area_dup()  
 0 0  8035e0fc710a 
x86/mm/pat: Mark an intentional data race
 0 0  d7a51c24ee4b 
rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0  e5efa2f1b7b6 
locktorture: Use true and false to assign to bool variables  
 0 0  7514d7f181ab 
srcu: Fix a typo in comment "amoritized"->"amortized"
 0 0  9dbd776542e3 rcu: 
Simplify the calculation of rcu_state.ncpus 
 0 0  df12d657bcc0 
docs: RCU: Convert checklist.txt to ReST 
 0 0  fdfeb779e1bd 
docs: RCU: Convert lockdep-splat.txt to ReST 
 0 0  68b5951f7eb2 
docs: RCU: Convert lockdep.txt to ReST   
 0 0  ce9edc0c8a82 
docs: RCU: Convert rculist_nulls.txt to ReST 
 0 0  1bee818b03c7 
docs: RCU: Convert torture.txt to ReST   
 0 0  9100131711bc 
docs: RCU: Convert rcuref.txt to ReST
 0 0  080f194cfa87 
docs: RCU: Convert stallwarn.txt to ReST 
 0 0  6999f47d8456 
docs: RCU: Don't duplicate chapter names in rculist_nulls.rs 
 0 0  55ce2e8178f2 
rcutorture: Add races with task-exit processing  
 0 0  1c60a5e52538 
torture: Set configfile variable to current scenario 
 0 0  9969401f1706 
rcutorture: Handle non-statistic bang-string error messages  
 0 0  6f099e1b362b 
rcutorture: NULL rcu_torture_current earlier in cleanup code 
 0 0  6816417616c4 
kcsan: Add test suite
 0 0  848d16e04f52 doc: 
Timer problems can cause RCU CPU stall warnings 
 0 0  2364a9f967ec rcu: 
Add callbacks-invoked counters  
 0 0  2775724beeef rcu: 
Add comment documenting rcu_callback_map's purpose  
 0 0 +138684  bfd78bca7bdf 
Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom o 
+1 0 -138684  8903088434e7 
rcu/tree: Add better tracing for dyntick-idle
-1 0  c0601bb42994 
rcu/tree: Clean up dynticks counter usage
 0 0  3f3baaf3ac07 
rcu/tree: Remove dynticks_nmi_nesting counter
+1 0  725e4ad9e020 
trace: events: rcu: Change description of rcu_dyntick trace  
 0 0  a9b73fda34ec 

[rcu:dev.2020.05.26a] BUILD REGRESSION 63fdce1252f16032c9e1eb7244bb674ba4f84855

2020-05-31 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.26a
branch HEAD: 63fdce1252f16032c9e1eb7244bb674ba4f84855  fixup! refperf: Provide 
module parameter to specify number of experiments

Error/Warning in current branch:

m68k-linux-ld: refperf.c:(.text+0x8f2): undefined reference to `__udivdi3'
refperf.c:(.text+0x762): undefined reference to `__umoddi3'

Error/Warning ids grouped by kconfigs:

recent_errors
`-- m68k-allyesconfig
|-- m68k-linux-ld:refperf.c:(.text):undefined-reference-to-__udivdi3
`-- refperf.c:(.text):undefined-reference-to-__umoddi3


i386-tinyconfig vmlinux size:


 TOTAL  TEXT  built-in.*


  -233  -233  8747b07d1944 Merge branch 'kcsan-dev.2020.04.13c' 
into HEAD   
 0 0  03e8e094dad9 Merge branch 'lkmm-dev.2020.05.16a' into 
HEAD
 0 0  17e0ee2a3ec9 torture:  Remove qemu dependency on EFI 
firmware 
 0 0  c58148777978 torture: Add script to smoke-test 
commits in a branch
   +38   +38  396a79cc6818 fork: Annotate a data race in 
vm_area_dup()  
 0 0  8035e0fc710a x86/mm/pat: Mark an intentional data 
race
 0 0  d7a51c24ee4b rculist: Add ASSERT_EXCLUSIVE_ACCESS() 
to __list_splice_init 
 0 0  e5efa2f1b7b6 locktorture: Use true and false to 
assign to bool variables  
 0 0  7514d7f181ab srcu: Fix a typo in comment 
"amoritized"->"amortized"
 0 0  9dbd776542e3 rcu: Simplify the calculation of 
rcu_state.ncpus 
 0 0  df12d657bcc0 docs: RCU: Convert checklist.txt to ReST 

 0 0  fdfeb779e1bd docs: RCU: Convert lockdep-splat.txt to 
ReST 
 0 0  68b5951f7eb2 docs: RCU: Convert lockdep.txt to ReST   

 0 0  ce9edc0c8a82 docs: RCU: Convert rculist_nulls.txt to 
ReST 
 0 0  1bee818b03c7 docs: RCU: Convert torture.txt to ReST   

 0 0  9100131711bc docs: RCU: Convert rcuref.txt to ReST

 0 0  080f194cfa87 docs: RCU: Convert stallwarn.txt to ReST 

 0 0  6999f47d8456 docs: RCU: Don't duplicate chapter names 
in rculist_nulls.rs 
 0 0  55ce2e8178f2 rcutorture: Add races with task-exit 
processing  
 0 0  1c60a5e52538 torture: Set configfile variable to 
current scenario 
 0 0  9969401f1706 rcutorture: Handle non-statistic 
bang-string error messages  
 0 0  6f099e1b362b rcutorture: NULL rcu_torture_current 
earlier in cleanup code 
 0 0  6816417616c4 kcsan: Add test suite

 0 0  848d16e04f52 doc: Timer problems can cause RCU CPU 
stall warnings 
 0 0  2364a9f967ec rcu: Add callbacks-invoked counters  

 0 0  2775724beeef rcu: Add comment documenting 
rcu_callback_map's purpose  
 0 0 +138684  bfd78bca7bdf Revert b8c17e6664c4 ("rcu: Maintain 
special bits at bottom o 
+1 0 -138684  8903088434e7 rcu/tree: Add better tracing for 
dyntick-idle
-1 0  c0601bb42994 rcu/tree: Clean up dynticks counter 
usage
 0 0  3f3baaf3ac07 rcu/tree: Remove dynticks_nmi_nesting 
counter
+1 0  725e4ad9e020 trace: events: rcu: Change description 
of rcu_dyntick trace  
 0 0  a9b73fda34ec torture: Remove whitespace from 
identify_qemu_vcpus output   
-1 0 +138684  6267bacdff81 torture: Add --allcpus argument to the 
kvm.sh script 
+1 0 -138684  5c6aa32472cb rcu: Grace-period-kthread related sleeps 
to idle priority
-1 0 +138684  f334f4fee6e2 rcu: Priority-boost-related sleeps to 
idle priority  
 0 0   0  d49cb59f19b6 rcu: No-CBs-related sleeps to idle 
priority  
+1 0 -138684  4cc4ce9b67ec rcu: Expedited grace-period sleeps to 
idle priority  
-1 0 +138684  cef0575caddb rcu-tasks: Convert sleeps to idle 
priority   
 0 0   0  988aef3524e2 fs/btrfs: Add cond_resched() for 
try_release_extent_mapping( 
 0 0 -138684  70ca490c7ab3 locking/osq_lock: Annotate a data 

[tip:x86/build] BUILD SUCCESS 38f3e775e9c242f5430a9c08c11be7577f63a41c

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
x86/build
branch HEAD: 38f3e775e9c242f5430a9c08c11be7577f63a41c  x86/Kconfig: Update 
config and kernel doc for MPK feature on AMD

elapsed time: 4922m

configs tested: 155
configs skipped: 7

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
powerpc  tqm8xx_defconfig
i386 allyesconfig
sh  polaris_defconfig
mips   mtx1_defconfig
arm   spear13xx_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  pasemi_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
sh  rsk7269_defconfig
mips allyesconfig
ia64generic_defconfig
m68kq40_defconfig
sh   se7724_defconfig
mipsmalta_qemu_32r6_defconfig
mipse55_defconfig
mips   lemote2f_defconfig
arm ebsa110_defconfig
armlart_defconfig
sh microdev_defconfig
x86_64  defconfig
armoxnas_v6_defconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
arc  axs101_defconfig
powerpc   maple_defconfig
nds32 allnoconfig
sh   allmodconfig
armqcom_defconfig
powerpcamigaone_defconfig
nios2 10m50_defconfig
arm s3c6400_defconfig
openriscdefconfig
c6x dsk6455_defconfig
riscvnommu_virt_defconfig
shapsh4ad0a_defconfig
s390   zfcpdump_defconfig
s390 allyesconfig
arm   cns3420vb_defconfig
armspear3xx_defconfig
i386  allnoconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allmodconfig
xtensa  defconfig
arc  allyesconfig
shallnoconfig
arc defconfig
microblazeallnoconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
x86_64   randconfig-a002-20200529
x86_64   randconfig-a006-20200529
x86_64   randconfig-a005-20200529
x86_64   randconfig-a001-20200529
x86_64   

[tip:auto-latest] BUILD SUCCESS 4e052965f46b6fd9641d79bf10208eac2631475f

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
auto-latest
branch HEAD: 4e052965f46b6fd9641d79bf10208eac2631475f  Merge branch 'efi/core'

elapsed time: 5276m

configs tested: 114
configs skipped: 8

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
powerpc  tqm8xx_defconfig
i386 allyesconfig
sh  polaris_defconfig
mips   mtx1_defconfig
arm   spear13xx_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  mgcoge_defconfig
nds32 allnoconfig
s390  allnoconfig
arm vf610m4_defconfig
arm  pxa168_defconfig
mips   ip27_defconfig
arc nsimosci_hs_smp_defconfig
shshmin_defconfig
microblaze  defconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
xtensa   allyesconfig
sh  sdk7780_defconfig
mipsjmr3927_defconfig
sh   cayman_defconfig
powerpcadder875_defconfig
mipsar7_defconfig
armkeystone_defconfig
arm   viper_defconfig
mips  rm200_defconfig
armmvebu_v5_defconfig
arm assabet_defconfig
xtensa   alldefconfig
i386  allnoconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390 allmodconfig
s390defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64 

[tip:master] BUILD SUCCESS 14bf8733b3c1887abab08371c47e68f2afbc0b93

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 14bf8733b3c1887abab08371c47e68f2afbc0b93  Merge branch 'x86/urgent'

elapsed time: 3625m

configs tested: 118
configs skipped: 6

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm  pxa3xx_defconfig
arm palmz72_defconfig
shshmin_defconfig
ia64zx1_defconfig
riscv  rv32_defconfig
um   x86_64_defconfig
m68k   m5249evb_defconfig
sh   sh7770_generic_defconfig
arm vf610m4_defconfig
armtrizeps4_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
shsh7763rdp_defconfig
s390  allnoconfig
mips tb0226_defconfig
m68k  multi_defconfig
sh  rsk7269_defconfig
ia64generic_defconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
xtensa   allyesconfig
sh  sdk7780_defconfig
mipsjmr3927_defconfig
riscv   defconfig
sh   cayman_defconfig
powerpcadder875_defconfig
mipsar7_defconfig
armkeystone_defconfig
arm   viper_defconfig
ia64  allnoconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
arm   spear13xx_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
s390   zfcpdump_defconfig
s390 allyesconfig
arm   cns3420vb_defconfig
armspear3xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
riscvallyesconfig
riscv allnoconfig
riscvallmodconfig
s390 allmodconfig
s390 

[tip:efi/urgent] BUILD SUCCESS 9bb4cbf4862dfa139f73e12912129e5b76baea1a

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
efi/urgent
branch HEAD: 9bb4cbf4862dfa139f73e12912129e5b76baea1a  Merge tag 
'efi-fixes-for-v5.7-rc6' of 
git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/urgent

elapsed time: 13521m

configs tested: 103
configs skipped: 1

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
m68k allyesconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a001-20200524
i386 randconfig-a004-20200524
i386 randconfig-a006-20200524
i386 randconfig-a003-20200524
i386 randconfig-a002-20200524
i386 randconfig-a005-20200524
x86_64   randconfig-a013-20200524
x86_64   randconfig-a015-20200524
x86_64   randconfig-a016-20200524
x86_64   randconfig-a012-20200524
x86_64   randconfig-a014-20200524
x86_64   randconfig-a011-20200524
i386 randconfig-a013-20200524
i386 randconfig-a015-20200524
i386 randconfig-a012-20200524
i386 randconfig-a011-20200524
i386 randconfig-a016-20200524
i386 randconfig-a014-20200524
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
x86_64  defconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um  defconfig
um   allmodconfig
um   allyesconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64

[tip:irq/core] BUILD SUCCESS 76fe06c1e68b8f8dfb63d5b268623830dcb16ed0

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
irq/core
branch HEAD: 76fe06c1e68b8f8dfb63d5b268623830dcb16ed0  Merge tag 'irqchip-5.8' 
of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core

elapsed time: 2567m

configs tested: 146
configs skipped: 20

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mips mpc30x_defconfig
mips   rbtx49xx_defconfig
m68kstmark2_defconfig
um   x86_64_defconfig
m68k   m5249evb_defconfig
sh   sh7770_generic_defconfig
arm vf610m4_defconfig
armtrizeps4_defconfig
powerpc  ppc44x_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  mgcoge_defconfig
arm  pxa168_defconfig
nds32 allnoconfig
s390  allnoconfig
mips   ip27_defconfig
arc nsimosci_hs_smp_defconfig
mips   mtx1_defconfig
shshmin_defconfig
microblaze  defconfig
arm shannon_defconfig
powerpc  ppc6xx_defconfig
powerpc64alldefconfig
microblazenommu_defconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
sh  sdk7780_defconfig
mipsjmr3927_defconfig
riscv   defconfig
sh   cayman_defconfig
shtitan_defconfig
arm   netwinder_defconfig
pariscgeneric-32bit_defconfig
sh  rsk7264_defconfig
armspear6xx_defconfig
m68k   sun3_defconfig
sh   se7619_defconfig
arc haps_hs_smp_defconfig
arm at91_dt_defconfig
sh espt_defconfig
armrealview_defconfig
arm  footbridge_defconfig
arm davinci_all_defconfig
c6x defconfig
x86_64  defconfig
i386  allnoconfig
riscv  rv32_defconfig
um   alldefconfig
arc   tb10x_defconfig
armmvebu_v7_defconfig
powerpcmpc7448_hpc2_defconfig
c6x dsk6455_defconfig
riscvnommu_virt_defconfig
shapsh4ad0a_defconfig
sh   se7343_defconfig
mips  rm200_defconfig
armmvebu_v5_defconfig
arm assabet_defconfig
xtensa   alldefconfig
powerpc  tqm8xx_defconfig
sh   se7750_defconfig
xtensa virt_defconfig
armmulti_v5_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
csky

[tip:WIP.locking/core] BUILD SUCCESS 19f545b6e07f753c4dc639c2f0ab52345733b6a8

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
WIP.locking/core
branch HEAD: 19f545b6e07f753c4dc639c2f0ab52345733b6a8  zram: Use local lock to 
protect per-CPU data

elapsed time: 5454m

configs tested: 126
configs skipped: 7

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm  allyesconfig
arm  allmodconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  pasemi_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
xtensa virt_defconfig
arm   milbeaut_m10v_defconfig
arm  lpd270_defconfig
sh  rsk7269_defconfig
mips allyesconfig
ia64generic_defconfig
m68kq40_defconfig
sh   se7724_defconfig
mipsmalta_qemu_32r6_defconfig
mipse55_defconfig
mips   lemote2f_defconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
arm   spear13xx_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
arc  axs101_defconfig
powerpc   maple_defconfig
nds32 allnoconfig
sh   allmodconfig
armmvebu_v5_defconfig
arcnsim_700_defconfig
armmvebu_v7_defconfig
mips  maltaaprp_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allmodconfig
xtensa  defconfig
arc  allyesconfig
shallnoconfig
arc defconfig
microblazeallnoconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a004-20200529
i386 randconfig-a001-20200529
i386 randconfig-a002-20200529
i386 randconfig-a006-20200529
i386 randconfig-a003-20200529
i386 randconfig-a005-20200529
x86_64   randconfig-a002-20200529
x86_64   randconfig-a006-20200529
x86_64   randconfig-a005-20200529
x86_64   randconfig-a001-20200529
x86_64   randconfig-a004-20200529
x86_64   randconfig-a003-20200529
i386 randconfig-a013-20200529
i386 randconfig-a011-20200529
i386 randconfig-a012-20200529
i386 randconfig-a015-20200529
i386 

[tip:x86/cleanups] BUILD SUCCESS 2ca41f555e857ec5beef6063bfa43a17ee76d7ec

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/cleanups
branch HEAD: 2ca41f555e857ec5beef6063bfa43a17ee76d7ec  x86/spinlock: Remove 
obsolete ticket spinlock macros and types

elapsed time: 4914m

configs tested: 154
configs skipped: 9

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
powerpc  tqm8xx_defconfig
i386 allyesconfig
sh  polaris_defconfig
mips   mtx1_defconfig
arm   spear13xx_defconfig
um   x86_64_defconfig
m68k   m5249evb_defconfig
sh   sh7770_generic_defconfig
arm vf610m4_defconfig
armtrizeps4_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
powerpc  mpc885_ads_defconfig
arm   aspeed_g5_defconfig
mipsmaltaup_defconfig
arc nps_defconfig
sh  rsk7269_defconfig
mips allyesconfig
ia64generic_defconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
powerpcadder875_defconfig
mipsar7_defconfig
armkeystone_defconfig
arm   viper_defconfig
powerpc pseries_defconfig
armdove_defconfig
h8300alldefconfig
arc  axs101_defconfig
powerpc   maple_defconfig
nds32 allnoconfig
sh   allmodconfig
s390   zfcpdump_defconfig
arm   cns3420vb_defconfig
armspear3xx_defconfig
s390 allyesconfig
i386  allnoconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
shallnoconfig
microblazeallnoconfig
arc  allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
i386 randconfig-a004-20200529
i386 randconfig-a001-20200529
i386 randconfig-a002-20200529
i386 randconfig-a006-20200529
i386 randconfig-a003-20200529
i386 randconfig-a005-20200529
i386 

[tip:locking/kcsan] BUILD SUCCESS f05e1242fbb2d149ceaa87310cf67d03fe007a25

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
locking/kcsan
branch HEAD: f05e1242fbb2d149ceaa87310cf67d03fe007a25  compiler_types.h: Use 
unoptimized __unqual_scalar_typeof for sparse

i386-tinyconfig vmlinux size:

+---++---+
| DELTA |   SYMBOL   |  
COMMIT   |
+---++---+
| -5517 | TOTAL  | ffed638b6a21..f05e1242fbb2 (ALL 
COMMITS)  |
| -5517 | TOTAL  | 777f73c4e791 compiler.h: Remove 
data_race() and unnecessary checks from { |
| -5517 | TEXT   | 777f73c4e791 compiler.h: Remove 
data_race() and unnecessary checks from { |
|  +136 | arch/x86/events/zhaoxin/built-in.* | a5dead405f6b compiler_types.h: 
Optimize __unqual_scalar_typeof compilatio |
|  -136 | arch/x86/events/zhaoxin/built-in.* | e87c5783e9e4 ubsan, kcsan: Don't 
combine sanitizer with kcov on clang |
|   +65 | get_page_from_freelist()   | 777f73c4e791 compiler.h: Remove 
data_race() and unnecessary checks from { |
|   -98 | __wakeup_flusher_threads_bdi() | 777f73c4e791 compiler.h: Remove 
data_race() and unnecessary checks from { |
+---++---+

elapsed time: 5453m

configs tested: 153
configs skipped: 17

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
powerpc  ppc44x_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  mgcoge_defconfig
nds32 allnoconfig
s390  allnoconfig
arm vf610m4_defconfig
arm  pxa168_defconfig
mips   ip27_defconfig
arc nsimosci_hs_smp_defconfig
mips   mtx1_defconfig
shshmin_defconfig
microblaze  defconfig
arm shannon_defconfig
powerpc  ppc6xx_defconfig
powerpc64alldefconfig
microblazenommu_defconfig
powerpc  mpc885_ads_defconfig
arm   aspeed_g5_defconfig
mipsmaltaup_defconfig
arc nps_defconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
um   x86_64_defconfig
shtitan_defconfig
arm   netwinder_defconfig
pariscgeneric-32bit_defconfig
sh  rsk7264_defconfig
armspear6xx_defconfig
sh   sh7770_generic_defconfig
m68k   sun3_defconfig
sh   se7619_defconfig
arm ebsa110_defconfig
armlart_defconfig
sh microdev_defconfig
x86_64  defconfig
arm  badge4_defconfig
armoxnas_v6_defconfig
arc haps_hs_smp_defconfig
arm at91_dt_defconfig
sh espt_defconfig
armrealview_defconfig
arm  footbridge_defconfig
armdove_defconfig
h8300alldefconfig
um   alldefconfig
nds32alldefconfig
arm s3c6400_defconfig
m68kmvme16x_defconfig
mips  pistachio_defconfig
arc   tb10x_defconfig
armmvebu_v7_defconfig
powerpc   

[rcu:dev.2020.05.29a] BUILD SUCCESS f088eeb5bd99e97a2e8cea15279bbab273f2d7c8

2020-05-31 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.29a
branch HEAD: f088eeb5bd99e97a2e8cea15279bbab273f2d7c8  refperf: Work around 
64-bit division

i386-tinyconfig vmlinux size:


 TOTAL  TEXT  arch/x86/events/zhaoxin/built-in.*  built-in.*


  -233  -233  8747b07d1944 
Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0  03e8e094dad9 
Merge branch 'lkmm-dev.2020.05.16a' into HEAD
 0 0  17e0ee2a3ec9 
torture:  Remove qemu dependency on EFI firmware 
 0 0  c58148777978 
torture: Add script to smoke-test commits in a branch
   +38   +38  396a79cc6818 
fork: Annotate a data race in vm_area_dup()  
 0 0  8035e0fc710a 
x86/mm/pat: Mark an intentional data race
 0 0  d7a51c24ee4b 
rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0  e5efa2f1b7b6 
locktorture: Use true and false to assign to bool variables  
 0 0  7514d7f181ab 
srcu: Fix a typo in comment "amoritized"->"amortized"
 0 0  9dbd776542e3 rcu: 
Simplify the calculation of rcu_state.ncpus 
 0 0  df12d657bcc0 
docs: RCU: Convert checklist.txt to ReST 
 0 0  fdfeb779e1bd 
docs: RCU: Convert lockdep-splat.txt to ReST 
 0 0  68b5951f7eb2 
docs: RCU: Convert lockdep.txt to ReST   
 0 0  ce9edc0c8a82 
docs: RCU: Convert rculist_nulls.txt to ReST 
 0 0  1bee818b03c7 
docs: RCU: Convert torture.txt to ReST   
 0 0  9100131711bc 
docs: RCU: Convert rcuref.txt to ReST
 0 0  080f194cfa87 
docs: RCU: Convert stallwarn.txt to ReST 
 0 0  6999f47d8456 
docs: RCU: Don't duplicate chapter names in rculist_nulls.rs 
 0 0  55ce2e8178f2 
rcutorture: Add races with task-exit processing  
 0 0  1c60a5e52538 
torture: Set configfile variable to current scenario 
 0 0  9969401f1706 
rcutorture: Handle non-statistic bang-string error messages  
 0 0  6f099e1b362b 
rcutorture: NULL rcu_torture_current earlier in cleanup code 
 0 0  6816417616c4 
kcsan: Add test suite
 0 0  848d16e04f52 doc: 
Timer problems can cause RCU CPU stall warnings 
 0 0  2364a9f967ec rcu: 
Add callbacks-invoked counters  
 0 0  2775724beeef rcu: 
Add comment documenting rcu_callback_map's purpose  
 0 0 +138684  bfd78bca7bdf 
Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom o 
+1 0 -138684  8903088434e7 
rcu/tree: Add better tracing for dyntick-idle
-1 0  c0601bb42994 
rcu/tree: Clean up dynticks counter usage
 0 0  3f3baaf3ac07 
rcu/tree: Remove dynticks_nmi_nesting counter
+1 0  725e4ad9e020 
trace: events: rcu: Change description of rcu_dyntick trace  
 0 0  a9b73fda34ec 

[tip:efi/core] BUILD SUCCESS e9524fb97ab5b41b85e1d3408f8e513433798f3c

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
efi/core
branch HEAD: e9524fb97ab5b41b85e1d3408f8e513433798f3c  efi/x86: Don't blow away 
existing initrd

elapsed time: 5271m

configs tested: 165
configs skipped: 10

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
powerpc  tqm8xx_defconfig
i386 allyesconfig
sh  polaris_defconfig
mips   mtx1_defconfig
arm   spear13xx_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
sh  rsk7269_defconfig
ia64generic_defconfig
mips allyesconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
arm ebsa110_defconfig
armlart_defconfig
sh microdev_defconfig
x86_64  defconfig
armoxnas_v6_defconfig
powerpc pseries_defconfig
armdove_defconfig
h8300alldefconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
arc  axs101_defconfig
powerpc   maple_defconfig
nds32 allnoconfig
sh   allmodconfig
armqcom_defconfig
powerpcamigaone_defconfig
nios2 10m50_defconfig
arm s3c6400_defconfig
openriscdefconfig
nds32alldefconfig
m68kmvme16x_defconfig
powerpc   ppc64_defconfig
mips  pistachio_defconfig
c6x dsk6455_defconfig
riscvnommu_virt_defconfig
shapsh4ad0a_defconfig
s390   zfcpdump_defconfig
s390 allyesconfig
arm   cns3420vb_defconfig
armspear3xx_defconfig
sh   se7750_defconfig
xtensa virt_defconfig
shshmin_defconfig
armmulti_v5_defconfig
i386  allnoconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
shallnoconfig
microblazeallnoconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig

[tip:x86/urgent] BUILD SUCCESS aa61b7bb00f7c0738823237a06161d568442b93c

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/urgent
branch HEAD: aa61b7bb00f7c0738823237a06161d568442b93c  Merge branch 'fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into x86/urgent

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  copy_xstate_to_kernel()  copy_part()  
  
==
  +204  +205 +109  +96  aa61b7bb00f7 Merge branch 
'fixes' of git://git.kernel.org/pub/scm/linux/k 
  +204  +205 +109  +96  4bfe6cce133c..aa61b7bb00f7 
(ALL COMMITS)  
==

elapsed time: 3621m

configs tested: 131
configs skipped: 114

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm  pxa3xx_defconfig
arm palmz72_defconfig
shshmin_defconfig
ia64zx1_defconfig
riscv  rv32_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
shsh7763rdp_defconfig
s390  allnoconfig
mips tb0226_defconfig
m68k  multi_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
sh  rsk7269_defconfig
ia64generic_defconfig
mips allyesconfig
xtensa   allyesconfig
sh  sdk7780_defconfig
mipsjmr3927_defconfig
riscv   defconfig
sh   cayman_defconfig
arm ebsa110_defconfig
armlart_defconfig
sh microdev_defconfig
x86_64  defconfig
armoxnas_v6_defconfig
arc  axs101_defconfig
powerpc   maple_defconfig
nds32 allnoconfig
sh   allmodconfig
armqcom_defconfig
powerpcamigaone_defconfig
nios2 10m50_defconfig
arm s3c6400_defconfig
openriscdefconfig
s390   zfcpdump_defconfig
s390 allyesconfig
arm   cns3420vb_defconfig
armspear3xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
h8300allmodconfig
xtensa  defconfig
nios2   defconfig
nios2allyesconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
arc defconfig
arc  allyesconfig
shallnoconfig
microblazeallnoconfig
mips  allnoconfig
mips 

[rcu:master] BUILD SUCCESS 8747b07d19443724745de86964e8818404112220

2020-05-31 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  master
branch HEAD: 8747b07d19443724745de86964e8818404112220  Merge branch 
'kcsan-dev.2020.04.13c' into HEAD

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  
==
  -233  -233  8747b07d1944 Merge branch 'kcsan-dev.2020.04.13c' into HEAD 
  -233  -233  b1fcf9b83c41..8747b07d1944 (ALL COMMITS)
==

elapsed time: 3775m

configs tested: 184
configs skipped: 12

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm  pxa3xx_defconfig
arm palmz72_defconfig
shshmin_defconfig
ia64zx1_defconfig
riscv  rv32_defconfig
um   x86_64_defconfig
m68k   m5249evb_defconfig
sh   sh7770_generic_defconfig
arm vf610m4_defconfig
armtrizeps4_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
shsh7763rdp_defconfig
s390  allnoconfig
mips tb0226_defconfig
m68k  multi_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
powerpc  mpc885_ads_defconfig
arm   aspeed_g5_defconfig
mipsmaltaup_defconfig
arc nps_defconfig
sh  rsk7269_defconfig
ia64generic_defconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k allyesconfig
xtensa   allyesconfig
sh  sdk7780_defconfig
mipsjmr3927_defconfig
riscv   defconfig
sh   cayman_defconfig
m68kq40_defconfig
sh   se7724_defconfig
mipsmalta_qemu_32r6_defconfig
mipse55_defconfig
mips   lemote2f_defconfig
arm ebsa110_defconfig
armlart_defconfig
sh microdev_defconfig
x86_64  defconfig
armoxnas_v6_defconfig
powerpcadder875_defconfig
mipsar7_defconfig
armkeystone_defconfig
arm   viper_defconfig
ia64  allnoconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
arm   spear13xx_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
arm davinci_all_defconfig
c6x defconfig
c6x dsk6455_defconfig
riscvnommu_virt_defconfig
shapsh4ad0a_defconfig
openriscdefconfig
mips  rb532_defconfig
arm assabet_defconfig
arc  alldefconfig
xtensa   common_defconfig
s390   zfcpdump_defconfig
s390 allyesconfig
arm   cns3420vb_defconfig
armspear3xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64   

[tip:x86/entry] BUILD REGRESSION 5980d208e5ef28455e9e8b08f6250b443a2f0893

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/entry
branch HEAD: 5980d208e5ef28455e9e8b08f6250b443a2f0893  x86/idt: Consolidate idt 
functionality

Error/Warning in current branch:

arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token
arch/x86/kernel/idt.c:177:43: error: expected statement before ')' token
arch/x86/kernel/idt.c:177:45: error: expected expression before '==' token

Error/Warning ids grouped by kconfigs:

recent_errors
`-- i386-randconfig-c001-20200529
|-- arch-x86-kernel-idt.c:error:expected-before-)-token
|-- arch-x86-kernel-idt.c:error:expected-expression-before-token
`-- arch-x86-kernel-idt.c:error:expected-statement-before-)-token


i386-tinyconfig vmlinux size:

+---++--+
| DELTA | SYMBOL |  COMMIT  
|
+---++--+
|  +171 | TOTAL  | 5a7462b1f9c1..5980d208e5ef (ALL 
COMMITS) |
|  +167 | TEXT   | 5a7462b1f9c1..5980d208e5ef (ALL 
COMMITS) |
| +2048 | idt_table  | 5a7462b1f9c1..5980d208e5ef (ALL 
COMMITS) |
|  +154 | init.text  | 5a7462b1f9c1..5980d208e5ef (ALL 
COMMITS) |
|   +85 | idt_setup_apic_and_irq_gates() | 5a7462b1f9c1..5980d208e5ef (ALL 
COMMITS) |
| -2048 | idt_table  | 5a7462b1f9c1..5980d208e5ef (ALL 
COMMITS) |
+---++--+

elapsed time: 2564m

configs tested: 112
configs skipped: 8

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
mips mpc30x_defconfig
mips   rbtx49xx_defconfig
m68kstmark2_defconfig
um   x86_64_defconfig
m68k   m5249evb_defconfig
sh   sh7770_generic_defconfig
arm vf610m4_defconfig
armtrizeps4_defconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
arm pxa_defconfig
c6xevmc6678_defconfig
m68km5407c3_defconfig
sh   j2_defconfig
armmulti_v7_defconfig
sh  sdk7780_defconfig
mipsjmr3927_defconfig
riscv   defconfig
sh   cayman_defconfig
arm davinci_all_defconfig
c6x defconfig
x86_64  defconfig
i386  allnoconfig
riscv  rv32_defconfig
arc   tb10x_defconfig
armmvebu_v7_defconfig
powerpcmpc7448_hpc2_defconfig
xtensa  defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips   

[tip:x86/splitlock] BUILD SUCCESS 429ac8b75a0b1c3478ffd584de8a63075cbe25e7

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/splitlock
branch HEAD: 429ac8b75a0b1c3478ffd584de8a63075cbe25e7  x86/split_lock: Add 
Icelake microserver and Tigerlake CPU models

elapsed time: 4910m

configs tested: 161
configs skipped: 108

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
powerpc  pasemi_defconfig
h8300allyesconfig
sh sh03_defconfig
sh   se7343_defconfig
arm  badge4_defconfig
sh   se7780_defconfig
xtensa virt_defconfig
arm   milbeaut_m10v_defconfig
arm  lpd270_defconfig
sh  rsk7269_defconfig
mips allyesconfig
ia64generic_defconfig
arm   mainstone_defconfig
armhisi_defconfig
powerpc mpc83xx_defconfig
m68k  multi_defconfig
m68k allyesconfig
m68kq40_defconfig
sh   se7724_defconfig
mipsmalta_qemu_32r6_defconfig
mipse55_defconfig
mips   lemote2f_defconfig
powerpc pseries_defconfig
armdove_defconfig
h8300alldefconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
arm   spear13xx_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
arc  axs101_defconfig
powerpc   maple_defconfig
nds32 allnoconfig
sh   allmodconfig
armqcom_defconfig
powerpcamigaone_defconfig
nios2 10m50_defconfig
arm s3c6400_defconfig
openriscdefconfig
nds32alldefconfig
m68kmvme16x_defconfig
powerpc   ppc64_defconfig
mips  pistachio_defconfig
c6x dsk6455_defconfig
riscvnommu_virt_defconfig
shapsh4ad0a_defconfig
powerpc  tqm8xx_defconfig
sh   se7750_defconfig
shshmin_defconfig
armmulti_v5_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allmodconfig
xtensa  defconfig
arc  allyesconfig
shallnoconfig
arc defconfig
microblazeallnoconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc  

[tip:core/rcu] BUILD SUCCESS 806f04e9fd2c6ad1e39bc2dba77155be0e4becde

2020-05-31 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
core/rcu
branch HEAD: 806f04e9fd2c6ad1e39bc2dba77155be0e4becde  rcu: Allow for 
smp_call_function() running callbacks from idle

elapsed time: 5451m

configs tested: 124
configs skipped: 3

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
powerpc  pasemi_defconfig
sparc   sparc64_defconfig
mips  decstation_64_defconfig
mips  ath79_defconfig
armpleb_defconfig
sh espt_defconfig
arm   omap1_defconfig
arm   spear13xx_defconfig
sparc64  allyesconfig
microblazenommu_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
arc defconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
i386 randconfig-a004-20200531
i386 randconfig-a003-20200531
i386 randconfig-a006-20200531
i386 randconfig-a002-20200531
i386 randconfig-a005-20200531
i386 randconfig-a001-20200531
i386 randconfig-a004-20200529
i386 randconfig-a001-20200529
i386 randconfig-a002-20200529
i386 randconfig-a006-20200529
i386 randconfig-a003-20200529
i386 randconfig-a005-20200529
x86_64   randconfig-a011-20200531
x86_64   randconfig-a016-20200531
x86_64   randconfig-a012-20200531
x86_64   randconfig-a014-20200531
x86_64   randconfig-a013-20200531
x86_64   randconfig-a015-20200531
i386 randconfig-a013-20200529
i386 randconfig-a011-20200529
i386 randconfig-a012-20200529
i386 randconfig-a015-20200529
i386 randconfig-a016-20200529
i386 randconfig-a014-20200529
i386 randconfig-a013-20200531
i386 randconfig-a012-20200531
i386 randconfig-a015-20200531
i386 randconfig-a011-20200531
i386 randconfig-a016-20200531
i386 randconfig-a014-20200531
x86_64   randconfig-a002-20200529
x86_64   randconfig-a006-20200529
x86_64   randconfig-a005-20200529
x86_64   randconfig-a001-20200529
x86_64   randconfig-a004-20200529
x86_64   randconfig-a003-20200529
riscv

Re: [PATCH 2/2] USB: PHY: JZ4770: Add support for Ingenic X1000 and X1830.

2020-05-31 Thread kbuild test robot
Hi "周琰杰,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on balbi-usb/testing/next]
[also build test WARNING on v5.7]
[cannot apply to usb/usb-testing next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Zhou-Yanjie/Add-USB-PHY-support-for-Ingenic-X1000-and-X1830/20200601-030314
base:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git 
testing/next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
# 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: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/usb/phy/phy-jz4770.c:267:19: warning: cast to smaller integer type 
>> 'enum ingenic_usb_phy_version' from 'const void *' 
>> [-Wvoid-pointer-to-enum-cast]
priv->version = (enum ingenic_usb_phy_version)match->data;
^
1 warning generated.

vim +267 drivers/usb/phy/phy-jz4770.c

   253  
   254  static int jz4770_phy_probe(struct platform_device *pdev)
   255  {
   256  struct device *dev = >dev;
   257  struct jz4770_phy *priv;
   258  const struct of_device_id *match;
   259  int err;
   260  
   261  priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
   262  if (!priv)
   263  return -ENOMEM;
   264  
   265  match = of_match_device(ingenic_usb_phy_of_matches, dev);
   266  if (match)
 > 267  priv->version = (enum 
 > ingenic_usb_phy_version)match->data;
   268  else
   269  return -ENODEV;
   270  
   271  platform_set_drvdata(pdev, priv);
   272  priv->dev = dev;
   273  priv->phy.dev = dev;
   274  priv->phy.otg = >otg;
   275  priv->phy.label = "ingenic-usb-phy";
   276  priv->phy.init = jz4770_phy_init;
   277  priv->phy.shutdown = jz4770_phy_shutdown;
   278  
   279  priv->otg.state = OTG_STATE_UNDEFINED;
   280  priv->otg.usb_phy = >phy;
   281  priv->otg.set_host = jz4770_phy_set_host;
   282  priv->otg.set_peripheral = jz4770_phy_set_peripheral;
   283  
   284  priv->base = devm_platform_ioremap_resource(pdev, 0);
   285  if (IS_ERR(priv->base)) {
   286  dev_err(dev, "Failed to map registers");
   287  return PTR_ERR(priv->base);
   288  }
   289  
   290  priv->clk = devm_clk_get(dev, NULL);
   291  if (IS_ERR(priv->clk)) {
   292  err = PTR_ERR(priv->clk);
   293  if (err != -EPROBE_DEFER)
   294  dev_err(dev, "Failed to get clock");
   295  return err;
   296  }
   297  
   298  priv->vcc_supply = devm_regulator_get(dev, "vcc");
   299  if (IS_ERR(priv->vcc_supply)) {
   300  err = PTR_ERR(priv->vcc_supply);
   301  if (err != -EPROBE_DEFER)
   302  dev_err(dev, "Failed to get regulator");
   303  return err;
   304  }
   305  
   306  err = usb_add_phy(>phy, USB_PHY_TYPE_USB2);
   307  if (err) {
   308  if (err != -EPROBE_DEFER)
   309  dev_err(dev, "Unable to register PHY");
   310  return err;
   311  }
   312  
   313  return devm_add_action_or_reset(dev, jz4770_phy_remove, 
>phy);
   314  }
   315  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH] input: tablet: aiptek: fix possible buffer overflow caused by bad DMA value in aiptek_irq()

2020-05-31 Thread kbuild test robot
Hi Jia-Ju,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on input/next]
[also build test WARNING on v5.7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Jia-Ju-Bai/input-tablet-aiptek-fix-possible-buffer-overflow-caused-by-bad-DMA-value-in-aiptek_irq/20200601-015649
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: mips-randconfig-r032-20200531 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/asm-generic/div64.h:25,
from arch/mips/include/asm/div64.h:12,
from include/linux/math64.h:6,
from include/linux/jiffies.h:6,
from drivers/input/tablet/aiptek.c:60:
drivers/input/tablet/aiptek.c: In function 'aiptek_irq':
drivers/input/tablet/aiptek.c:744:7: error: 'marco' undeclared (first use in 
this function); did you mean 'macro'?
744 |   if (marco > 0 && macro < 25) {
|   ^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : 
__trace_if_value(cond))
|^~~~
>> drivers/input/tablet/aiptek.c:744:3: note: in expansion of macro 'if'
744 |   if (marco > 0 && macro < 25) {
|   ^~
drivers/input/tablet/aiptek.c:744:7: note: each undeclared identifier is 
reported only once for each function it appears in
744 |   if (marco > 0 && macro < 25) {
|   ^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
58 | #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : 
__trace_if_value(cond))
|^~~~
>> drivers/input/tablet/aiptek.c:744:3: note: in expansion of macro 'if'
744 |   if (marco > 0 && macro < 25) {
|   ^~

vim +/if +744 drivers/input/tablet/aiptek.c

   377  
   378  /***
   379   * aiptek_irq can receive one of six potential reports.
   380   * The documentation for each is in the body of the function.
   381   *
   382   * The tablet reports on several attributes per invocation of
   383   * aiptek_irq. Because the Linux Input Event system allows the
   384   * transmission of ONE attribute per input_report_xxx() call,
   385   * collation has to be done on the other end to reconstitute
   386   * a complete tablet report. Further, the number of Input Event reports
   387   * submitted varies, depending on what USB report type, and 
circumstance.
   388   * To deal with this, EV_MSC is used to indicate an 'end-of-report'
   389   * message. This has been an undocumented convention understood by the 
kernel
   390   * tablet driver and clients such as gpm and XFree86's tablet drivers.
   391   *
   392   * Of the information received from the tablet, the one piece I
   393   * cannot transmit is the proximity bit (without resorting to an EV_MSC
   394   * convention above.) I therefore have taken over REL_MISC and ABS_MISC
   395   * (for relative and absolute reports, respectively) for communicating
   396   * Proximity. Why two events? I thought it interesting to know if the
   397   * Proximity event occurred while the tablet was in absolute or relative
   398   * mode.
   399   * Update: REL_MISC proved not to be such a good idea. With REL_MISC you
   400   * get an event transmitted each time. ABS_MISC works better, since it
   401   * can be set and re-set. Thus, only using ABS_MISC from now on.
   402   *
   403   * Other tablets use the notion of a certain minimum stylus pressure
   404   * to infer proximity. While that could have been done, that is yet
   405   * another 'by convention' behavior, the documentation for which
   406   * would be spread between two (or more) pieces of software.
   407   *
   408   * EV_MSC usage was terminated for this purpose in Linux 2.5.x, and
   409   * replaced with the input_sync() method (which emits EV_SYN.)
   410   */
   411  
   412  static void aiptek_irq(struct urb *urb)
   413  {
   414  struct aiptek *aiptek = urb->context;
   415  unsigned char *data = aiptek->data;
   416  struct input_dev *inputdev

Re: [PATCH] input: tablet: aiptek: fix possible buffer overflow caused by bad DMA value in aiptek_irq()

2020-05-31 Thread kbuild test robot
Hi Jia-Ju,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on input/next]
[also build test ERROR on v5.7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Jia-Ju-Bai/input-tablet-aiptek-fix-possible-buffer-overflow-caused-by-bad-DMA-value-in-aiptek_irq/20200601-015649
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

drivers/input/tablet/aiptek.c: In function 'aiptek_irq':
>> drivers/input/tablet/aiptek.c:744:7: error: 'marco' undeclared (first use in 
>> this function); did you mean 'macro'?
744 |   if (marco > 0 && macro < 25) {
|   ^
|   macro
drivers/input/tablet/aiptek.c:744:7: note: each undeclared identifier is 
reported only once for each function it appears in

vim +744 drivers/input/tablet/aiptek.c

   377  
   378  /***
   379   * aiptek_irq can receive one of six potential reports.
   380   * The documentation for each is in the body of the function.
   381   *
   382   * The tablet reports on several attributes per invocation of
   383   * aiptek_irq. Because the Linux Input Event system allows the
   384   * transmission of ONE attribute per input_report_xxx() call,
   385   * collation has to be done on the other end to reconstitute
   386   * a complete tablet report. Further, the number of Input Event reports
   387   * submitted varies, depending on what USB report type, and 
circumstance.
   388   * To deal with this, EV_MSC is used to indicate an 'end-of-report'
   389   * message. This has been an undocumented convention understood by the 
kernel
   390   * tablet driver and clients such as gpm and XFree86's tablet drivers.
   391   *
   392   * Of the information received from the tablet, the one piece I
   393   * cannot transmit is the proximity bit (without resorting to an EV_MSC
   394   * convention above.) I therefore have taken over REL_MISC and ABS_MISC
   395   * (for relative and absolute reports, respectively) for communicating
   396   * Proximity. Why two events? I thought it interesting to know if the
   397   * Proximity event occurred while the tablet was in absolute or relative
   398   * mode.
   399   * Update: REL_MISC proved not to be such a good idea. With REL_MISC you
   400   * get an event transmitted each time. ABS_MISC works better, since it
   401   * can be set and re-set. Thus, only using ABS_MISC from now on.
   402   *
   403   * Other tablets use the notion of a certain minimum stylus pressure
   404   * to infer proximity. While that could have been done, that is yet
   405   * another 'by convention' behavior, the documentation for which
   406   * would be spread between two (or more) pieces of software.
   407   *
   408   * EV_MSC usage was terminated for this purpose in Linux 2.5.x, and
   409   * replaced with the input_sync() method (which emits EV_SYN.)
   410   */
   411  
   412  static void aiptek_irq(struct urb *urb)
   413  {
   414  struct aiptek *aiptek = urb->context;
   415  unsigned char *data = aiptek->data;
   416  struct input_dev *inputdev = aiptek->inputdev;
   417  struct usb_interface *intf = aiptek->intf;
   418  int jitterable = 0;
   419  int retval, macro, x, y, z, left, right, middle, p, dv, tip, 
bs, pck;
   420  
   421  switch (urb->status) {
   422  case 0:
   423  /* Success */
   424  break;
   425  
   426  case -ECONNRESET:
   427  case -ENOENT:
   428  case -ESHUTDOWN:
   429  /* This urb is terminated, clean up */
   430  dev_dbg(>dev, "%s - urb shutting down with 
status: %d\n",
   431  __func__, urb->status);
   432  return;
   433  
   434  default:
   435  dev_dbg(>dev, "%s - nonzero urb status received: 
%d\n",
   436  __func__, urb->status);
   437  goto exit;
   438  }
   439  
   440  /* See if we are in a delay loop -- t

Re: [PATCH RESEND v8 1/2] ACPI / APEI: Add support to notify the vendor specific HW errors

2020-05-31 Thread kbuild test robot
Hi Shiju,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on pci/next]
[also build test WARNING on linus/master v5.7-rc7]
[cannot apply to pm/linux-next next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Shiju-Jose/ACPI-APEI-Add-support-to-notify-the-vendor-specific-HW-errors/20200601-003936
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
# 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: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/acpi/apei/ghes.c:210:5: warning: no previous prototype for function 
>> 'ghes_gdata_pool_init' [-Wmissing-prototypes]
int ghes_gdata_pool_init(void)
^
drivers/acpi/apei/ghes.c:210:1: note: declare 'static' if the function is not 
intended to be used outside of this translation unit
int ghes_gdata_pool_init(void)
^
static
1 warning generated.

vim +/ghes_gdata_pool_init +210 drivers/acpi/apei/ghes.c

   209  
 > 210  int ghes_gdata_pool_init(void)
   211  {
   212  unsigned long addr, len;
   213  int rc;
   214  
   215  ghes_gdata_pool = 
gen_pool_create(GHES_GDATA_POOL_MIN_ALLOC_ORDER, -1);
   216  if (!ghes_gdata_pool)
   217  return -ENOMEM;
   218  
   219  if (ghes_gdata_pool_size_request < GHES_GDATA_POOL_MIN_SIZE)
   220  ghes_gdata_pool_size_request = GHES_GDATA_POOL_MIN_SIZE;
   221  
   222  len = ghes_gdata_pool_size_request;
   223  addr = (unsigned long)vmalloc(PAGE_ALIGN(len));
   224  if (!addr)
   225  goto err_pool_alloc;
   226  
   227  vmalloc_sync_mappings();
   228  
   229  rc = gen_pool_add(ghes_gdata_pool, addr, PAGE_ALIGN(len), -1);
   230  if (rc)
   231  goto err_pool_add;
   232  
   233  return 0;
   234  
   235  err_pool_add:
   236  vfree((void *)addr);
   237  
   238  err_pool_alloc:
   239  gen_pool_destroy(ghes_gdata_pool);
   240  
   241  return -ENOMEM;
   242  }
   243  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH ghak124 v2] audit: log nftables configuration change events

2020-05-31 Thread kbuild test robot
Hi Richard,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on pcmoore-audit/next]
[also build test ERROR on next-20200529]
[cannot apply to nf/master nf-next/master linus/master linux/master v5.7-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Richard-Guy-Briggs/audit-log-nftables-configuration-change-events/20200531-043244
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from arch/sparc/kernel/ptrace_64.c:25:
>> include/linux/audit.h:126:40: error: 'audit_nftcfgs' defined but not used 
>> [-Werror=unused-const-variable=]
126 | static const struct audit_nftcfgop_tab audit_nftcfgs[] = {
|^
cc1: all warnings being treated as errors

vim +/audit_nftcfgs +126 include/linux/audit.h

   125  
 > 126  static const struct audit_nftcfgop_tab audit_nftcfgs[] = {
   127  { NFT_MSG_NEWTABLE, AUDIT_NFT_OP_TABLE_REGISTER 
},
   128  { NFT_MSG_GETTABLE, AUDIT_NFT_OP_INVALID
},
   129  { NFT_MSG_DELTABLE, AUDIT_NFT_OP_TABLE_UNREGISTER   
},
   130  { NFT_MSG_NEWCHAIN, AUDIT_NFT_OP_CHAIN_REGISTER 
},
   131  { NFT_MSG_GETCHAIN, AUDIT_NFT_OP_INVALID
},
   132  { NFT_MSG_DELCHAIN, AUDIT_NFT_OP_CHAIN_UNREGISTER   
},
   133  { NFT_MSG_NEWRULE,  AUDIT_NFT_OP_RULE_REGISTER  
},
   134  { NFT_MSG_GETRULE,  AUDIT_NFT_OP_INVALID
},
   135  { NFT_MSG_DELRULE,  AUDIT_NFT_OP_RULE_UNREGISTER
},
   136  { NFT_MSG_NEWSET,   AUDIT_NFT_OP_SET_REGISTER   
},
   137  { NFT_MSG_GETSET,   AUDIT_NFT_OP_INVALID
},
   138  { NFT_MSG_DELSET,   AUDIT_NFT_OP_SET_UNREGISTER 
},
   139  { NFT_MSG_NEWSETELEM,   AUDIT_NFT_OP_SETELEM_REGISTER   
},
   140  { NFT_MSG_GETSETELEM,   AUDIT_NFT_OP_INVALID
},
   141  { NFT_MSG_DELSETELEM,   AUDIT_NFT_OP_SETELEM_UNREGISTER 
},
   142  { NFT_MSG_NEWGEN,   AUDIT_NFT_OP_GEN_REGISTER   
},
   143  { NFT_MSG_GETGEN,   AUDIT_NFT_OP_INVALID
},
   144  { NFT_MSG_TRACE,AUDIT_NFT_OP_INVALID
},
   145  { NFT_MSG_NEWOBJ,   AUDIT_NFT_OP_OBJ_REGISTER   
},
   146  { NFT_MSG_GETOBJ,   AUDIT_NFT_OP_INVALID
},
   147  { NFT_MSG_DELOBJ,   AUDIT_NFT_OP_OBJ_UNREGISTER 
},
   148  { NFT_MSG_GETOBJ_RESET, AUDIT_NFT_OP_OBJ_RESET  
},
   149  { NFT_MSG_NEWFLOWTABLE, AUDIT_NFT_OP_FLOWTABLE_REGISTER 
},
   150  { NFT_MSG_GETFLOWTABLE, AUDIT_NFT_OP_INVALID
},
   151  { NFT_MSG_DELFLOWTABLE, AUDIT_NFT_OP_FLOWTABLE_UNREGISTER   
},
   152  { NFT_MSG_MAX,  AUDIT_NFT_OP_INVALID
},
   153  };
   154  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[tip:x86/entry 19/19] arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token

2020-05-31 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head:   5980d208e5ef28455e9e8b08f6250b443a2f0893
commit: 5980d208e5ef28455e9e8b08f6250b443a2f0893 [19/19] x86/idt: Consolidate 
idt functionality
config: i386-randconfig-c001-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

arch/x86/kernel/idt.c: In function 'idt_is_f00f_address':
>> arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token
177 |  return (address - idt_descr.address) >> 3) == 6;
|   ^
|   ;
>> arch/x86/kernel/idt.c:177:43: error: expected statement before ')' token
>> arch/x86/kernel/idt.c:177:45: error: expected expression before '==' token
177 |  return (address - idt_descr.address) >> 3) == 6;
| ^~

vim +177 arch/x86/kernel/idt.c

   173  
   174  #ifdef CONFIG_X86_F00F_BUG
   175  bool idt_is_f00f_address(unsigned long address)
   176  {
 > 177  return (address - idt_descr.address) >> 3) == 6;
   178  }
   179  #endif
   180  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH RESEND v8 2/2] PCI: hip: Add handling of HiSilicon HIP PCIe controller errors

2020-05-31 Thread kbuild test robot
Hi Shiju,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on pci/next]
[also build test WARNING on linus/master v5.7-rc7]
[cannot apply to pm/linux-next linux/master next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Shiju-Jose/ACPI-APEI-Add-support-to-notify-the-vendor-specific-HW-errors/20200601-003936
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/pci/controller/pcie-hisi-error.c: In function 'hisi_pcie_handle_error':
>> drivers/pci/controller/pcie-hisi-error.c:246:1: warning: the frame size of 
>> 1124 bytes is larger than 1024 bytes [-Wframe-larger-than=]
246 | }
| ^

vim +246 drivers/pci/controller/pcie-hisi-error.c

   181  
   182  static void hisi_pcie_handle_error(const struct hisi_pcie_error_data 
*error,
   183 struct platform_device *pdev)
   184  {
   185  char buf[HISI_PCIE_ERR_INFO_SIZE];
   186  char *p = buf, *end = buf + sizeof(buf);
   187  struct device *dev = >dev;
   188  u32 i;
   189  int rc;
   190  
   191  if (error->val_bits == 0) {
   192  dev_warn(dev, "%s: no valid error information\n", 
__func__);
   193  return;
   194  }
   195  
   196  /* Logging */
   197  p += snprintf(p, end - p, "[ Table version=%d ", 
error->version);
   198  if (error->val_bits & HISI_PCIE_LOCAL_VALID_SOC_ID)
   199  p += snprintf(p, end - p, "SOC ID=%d ", error->soc_id);
   200  
   201  if (error->val_bits & HISI_PCIE_LOCAL_VALID_SOCKET_ID)
   202  p += snprintf(p, end - p, "socket ID=%d ", 
error->socket_id);
   203  
   204  if (error->val_bits & HISI_PCIE_LOCAL_VALID_NIMBUS_ID)
   205  p += snprintf(p, end - p, "nimbus ID=%d ", 
error->nimbus_id);
   206  
   207  if (error->val_bits & HISI_PCIE_LOCAL_VALID_SUB_MODULE_ID)
   208  p += snprintf(p, end - p, "sub module=%s ",
   209
hisi_pcie_sub_module_name(error->sub_module_id));
   210  
   211  if (error->val_bits & HISI_PCIE_LOCAL_VALID_CORE_ID)
   212  p += snprintf(p, end - p, "core ID=core%d ", 
error->core_id);
   213  
   214  if (error->val_bits & HISI_PCIE_LOCAL_VALID_PORT_ID)
   215  p += snprintf(p, end - p, "port ID=port%d ", 
error->port_id);
   216  
   217  if (error->val_bits & HISI_PCIE_LOCAL_VALID_ERR_SEVERITY)
   218  p += snprintf(p, end - p, "error severity=%s ",
   219
hisi_pcie_error_severity(error->err_severity));
   220  
   221  if (error->val_bits & HISI_PCIE_LOCAL_VALID_ERR_TYPE)
   222  p += snprintf(p, end - p, "error type=0x%x ", 
error->err_type);
   223  
   224  p += snprintf(p, end - p, "]\n");
   225  dev_info(dev, "\nHISI : HIP : PCIe controller error\n");
   226  dev_info(dev, "%s\n", buf);
   227  
   228  dev_info(dev, "Reg Dump:\n");
   229  for (i = 0; i < HISI_PCIE_ERR_MISC_REGS; i++) {
   230  if (error->val_bits &
   231  BIT_ULL(HISI_PCIE_LOCAL_VALID_ERR_MISC 
+ i))
   232  dev_info(dev,
   233   "ERR_MISC_%d=0x%x\n", i, 
error->err_misc[i]);
   234  }
   235  
   236  /* Recovery for the PCIe controller errors */
   237  if (error->err_severity == HISI_ERR_SEV_RECOVERABLE) {
   238  /* try reset PCI port for the error recovery */
   239  rc = hisi_pcie_port_do_recovery(pdev, error->socket_id,
   240  HISI_PCIE_PORT_ID(error->core_id, 
error->port_id));
   241  if (rc) {
   242  dev_info(dev, "fail to do hisi pcie port 
reset\n");
   243  return;
   244  }
   245  }
 > 246  }
   247  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH v4 2/2] clk: Allow COMPILE_TEST for subdir hisilicon in Makefile

2020-05-31 Thread kbuild test robot
Hi Tiezhu,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Tiezhu-Yang/clk-hisilicon-Use-correct-return-value-about-hisi_reset_init/20200527-233606
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: openrisc-randconfig-r021-20200531 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=openrisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function 
`hisi_clk_register_fixed_rate':
>> clk.c:(.text+0x158): undefined reference to `clk_register_fixed_rate'
clk.c:(.text+0x158): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_register_fixed_rate'
or1k-linux-ld: clk.c:(.text+0x220): undefined reference to 
`clk_unregister_fixed_rate'
clk.c:(.text+0x220): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_unregister_fixed_rate'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function 
`hisi_clk_register_fixed_factor':
>> clk.c:(.text+0x2a0): undefined reference to `clk_register_fixed_factor'
clk.c:(.text+0x2a0): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_register_fixed_factor'
or1k-linux-ld: clk.c:(.text+0x370): undefined reference to 
`clk_unregister_fixed_factor'
clk.c:(.text+0x370): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_unregister_fixed_factor'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_register_mux':
>> clk.c:(.text+0x434): undefined reference to `clk_register_mux_table'
clk.c:(.text+0x434): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_register_mux_table'
or1k-linux-ld: clk.c:(.text+0x464): undefined reference to `clk_register_clkdev'
clk.c:(.text+0x464): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_register_clkdev'
or1k-linux-ld: clk.c:(.text+0x528): undefined reference to `clk_unregister_mux'
clk.c:(.text+0x528): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_unregister_mux'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function 
`hisi_clk_register_divider':
>> clk.c:(.text+0x6e8): undefined reference to `clk_register_divider_table'
clk.c:(.text+0x6e8): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_register_divider_table'
or1k-linux-ld: clk.c:(.text+0x718): undefined reference to `clk_register_clkdev'
clk.c:(.text+0x718): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_register_clkdev'
or1k-linux-ld: clk.c:(.text+0x7d0): undefined reference to 
`clk_unregister_divider'
clk.c:(.text+0x7d0): relocation truncated to fit: R_OR1K_INSN_REL_26 against 
undefined symbol `clk_unregister_divider'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function 
`hisi_clk_register_gate':
>> clk.c:(.text+0x870): undefined reference to `clk_register_gate'
clk.c:(.text+0x870): additional relocation overflows omitted from the output
or1k-linux-ld: clk.c:(.text+0x8a0): undefined reference to `clk_register_clkdev'
or1k-linux-ld: clk.c:(.text+0x960): undefined reference to `clk_unregister_gate'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function 
`hisi_clk_register_gate_sep':
>> clk.c:(.text+0xa4c): undefined reference to `clk_register_clkdev'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function `hisi_clk_init':
clk.c:(.text+0xb5c): undefined reference to `of_clk_src_onecell_get'
or1k-linux-ld: clk.c:(.text+0xb6c): undefined reference to 
`of_clk_src_onecell_get'
or1k-linux-ld: clk.c:(.text+0xb70): undefined reference to `of_clk_add_provider'
or1k-linux-ld: drivers/clk/hisilicon/clk.o: in function 
`hi6220_clk_register_divider':
>> clk.c:(.init.text+0xe0): undefined reference to `clk_register_clkdev'
or1k-linux-ld: drivers/clk/hisilicon/clkgate-separated.o: in function 
`hisi_register_clkgate_sep':
>> clkgate-separated.c:(.text+0x2b4): undefined reference to `clk_register'
or1k-linux-ld: drivers/clk/hisilicon/clkdivider-hi6220.o: in function 
`hi6220_clkdiv_set_rate':
>> clkdivider-hi6220.c:(.text+0x30): undefined reference to `divider_get_val'
or1

[tip:x86/entry 2/19] include/xen/interface/hvm/hvm_op.h:33:28: error: a parameter list without types is only allowed in a function definition

2020-05-31 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head:   5980d208e5ef28455e9e8b08f6250b443a2f0893
commit: 28447ea4154239025044381144f849ff749ee9ef [2/19] xen: Move 
xen_setup_callback_vector() definition to include/xen/hvm.h
config: x86_64-randconfig-r036-20200531 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 28447ea4154239025044381144f849ff749ee9ef
# 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: kbuild test robot 

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from arch/x86/xen/suspend_hvm.c:5:
In file included from include/xen/hvm.h:6:
In file included from include/xen/interface/hvm/params.h:24:
include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'
domid_t  domid;/* IN */
^
>> include/xen/interface/hvm/hvm_op.h:33:1: warning: declaration specifier 
>> missing, defaulting to 'int'
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
^
int
>> include/xen/interface/hvm/hvm_op.h:33:28: error: a parameter list without 
>> types is only allowed in a function definition
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
^
include/xen/interface/hvm/hvm_op.h:39:5: error: unknown type name 'domid_t'
domid_t  domid;
^
include/xen/interface/hvm/hvm_op.h:44:1: warning: declaration specifier 
missing, defaulting to 'int'
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t);
^
int
include/xen/interface/hvm/hvm_op.h:56:5: error: unknown type name 'domid_t'
domid_t domid;
^
include/xen/interface/hvm/hvm_op.h:63:1: warning: declaration specifier 
missing, defaulting to 'int'
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type);
^
int
include/xen/interface/hvm/hvm_op.h:63:28: error: a parameter list without types 
is only allowed in a function definition
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type);
^
3 warnings and 5 errors generated.

vim +33 include/xen/interface/hvm/hvm_op.h

18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  23  
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  24  /* Get/set subcommands: the 
second argument of the hypercall is a
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  25   * pointer to a 
xen_hvm_param struct. */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  26  #define HVMOP_set_param  
 0
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  27  #define HVMOP_get_param  
 1
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  28  struct xen_hvm_param {
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  29  domid_t  domid;/* IN 
*/
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  30  uint32_t index;/* IN 
*/
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  31  uint64_t value;/* 
IN/OUT */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  32  };
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 @33  
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14  34  

:: The code at line 33 was first introduced by commit
:: 18f19aa62a267f2f759e278018f1032adf4c3774 xen: Add support for HVM 
hypercalls.

:: TO: Jeremy Fitzhardinge 
:: CC: Jeremy Fitzhardinge 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH v4 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-05-31 Thread kbuild test robot
Hi Sumit,

I love your patch! Yet something to improve:

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on usb/usb-testing v5.7-rc7 next-20200529]
[cannot apply to kgdb/kgdb-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Sumit-Garg/kdb-Improve-console-handling/20200531-075431
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git 
tty-testing
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
# 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: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/usb/early/ehci-dbgp.c:1062:24: error: assigning to 'struct console 
>> *' from incompatible type 'struct console'; take the address with &
kgdbdbgp_io_ops.cons = early_dbgp_console;
^ ~~
&
1 error generated.

vim +1062 drivers/usb/early/ehci-dbgp.c

  1046  
  1047  static int __init kgdbdbgp_parse_config(char *str)
  1048  {
  1049  char *ptr;
  1050  
  1051  if (!ehci_debug) {
  1052  if (early_dbgp_init(str))
  1053  return -1;
  1054  }
  1055  ptr = strchr(str, ',');
  1056  if (ptr) {
  1057  ptr++;
  1058  kgdbdbgp_wait_time = simple_strtoul(ptr, , 10);
  1059  }
  1060  kgdb_register_io_module(_io_ops);
  1061  if (early_dbgp_console.index != -1)
> 1062  kgdbdbgp_io_ops.cons = early_dbgp_console;
  1063  
  1064  return 0;
  1065  }
  1066  early_param("kgdbdbgp", kgdbdbgp_parse_config);
  1067  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


fs/exfat/nls.c:531:22: warning: Variable 'p_uniname->name_len' is reassigned a value before the old one has been used. [redundantAssignment]

2020-05-30 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   ffeb595d84811dde16a28b33d8a7cf26d51d51b3
commit: b9d1e2e6265f5dc25e9f5dbfbde3e53d8a4958ac exfat: add Kconfig and Makefile
date:   3 months ago
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


cppcheck warnings: (new ones prefixed by >>)

>> fs/exfat/nls.c:531:22: warning: Variable 'p_uniname->name_len' is reassigned 
>> a value before the old one has been used. [redundantAssignment]
p_uniname->name_len = unilen;
^
   fs/exfat/nls.c:519:22: note: Variable 'p_uniname->name_len' is reassigned a 
value before the old one has been used.
p_uniname->name_len = unilen & 0xFF;
^
   fs/exfat/nls.c:531:22: note: Variable 'p_uniname->name_len' is reassigned a 
value before the old one has been used.
p_uniname->name_len = unilen;
^

vim +531 fs/exfat/nls.c

370e812b3ec190 Namjae Jeon 2020-03-02  492  
370e812b3ec190 Namjae Jeon 2020-03-02  493  static int 
exfat_utf8_to_utf16(struct super_block *sb,
370e812b3ec190 Namjae Jeon 2020-03-02  494  const unsigned char 
*p_cstring, const int len,
370e812b3ec190 Namjae Jeon 2020-03-02  495  struct exfat_uni_name 
*p_uniname, int *p_lossy)
370e812b3ec190 Namjae Jeon 2020-03-02  496  {
370e812b3ec190 Namjae Jeon 2020-03-02  497  int i, unilen, lossy = 
NLS_NAME_NO_LOSSY;
370e812b3ec190 Namjae Jeon 2020-03-02  498  unsigned short 
upname[MAX_NAME_LENGTH + 1];
370e812b3ec190 Namjae Jeon 2020-03-02  499  unsigned short *uniname = 
p_uniname->name;
370e812b3ec190 Namjae Jeon 2020-03-02  500  
370e812b3ec190 Namjae Jeon 2020-03-02  501  WARN_ON(!len);
370e812b3ec190 Namjae Jeon 2020-03-02  502  
370e812b3ec190 Namjae Jeon 2020-03-02  503  unilen = 
utf8s_to_utf16s(p_cstring, len, UTF16_HOST_ENDIAN,
370e812b3ec190 Namjae Jeon 2020-03-02  504  (wchar_t 
*)uniname, MAX_NAME_LENGTH + 2);
370e812b3ec190 Namjae Jeon 2020-03-02  505  if (unilen < 0) {
370e812b3ec190 Namjae Jeon 2020-03-02  506  exfat_msg(sb, KERN_ERR,
370e812b3ec190 Namjae Jeon 2020-03-02  507  "failed to %s 
(err : %d) nls len : %d",
370e812b3ec190 Namjae Jeon 2020-03-02  508  __func__, 
unilen, len);
370e812b3ec190 Namjae Jeon 2020-03-02  509  return unilen;
370e812b3ec190 Namjae Jeon 2020-03-02  510  }
370e812b3ec190 Namjae Jeon 2020-03-02  511  
370e812b3ec190 Namjae Jeon 2020-03-02  512  if (unilen > MAX_NAME_LENGTH) {
370e812b3ec190 Namjae Jeon 2020-03-02  513  exfat_msg(sb, KERN_ERR,
370e812b3ec190 Namjae Jeon 2020-03-02  514  "failed to %s 
(estr:ENAMETOOLONG) nls len : %d, unilen : %d > %d",
370e812b3ec190 Namjae Jeon 2020-03-02  515  __func__, len, 
unilen, MAX_NAME_LENGTH);
370e812b3ec190 Namjae Jeon 2020-03-02  516  return -ENAMETOOLONG;
370e812b3ec190 Namjae Jeon 2020-03-02  517  }
370e812b3ec190 Namjae Jeon 2020-03-02  518  
370e812b3ec190 Namjae Jeon 2020-03-02  519  p_uniname->name_len = unilen & 
0xFF;
370e812b3ec190 Namjae Jeon 2020-03-02  520  
370e812b3ec190 Namjae Jeon 2020-03-02  521  for (i = 0; i < unilen; i++) {
370e812b3ec190 Namjae Jeon 2020-03-02  522  if (*uniname < 0x0020 ||
370e812b3ec190 Namjae Jeon 2020-03-02  523  
exfat_wstrchr(bad_uni_chars, *uniname))
370e812b3ec190 Namjae Jeon 2020-03-02  524  lossy |= 
NLS_NAME_LOSSY;
370e812b3ec190 Namjae Jeon 2020-03-02  525  
370e812b3ec190 Namjae Jeon 2020-03-02  526  upname[i] = 
exfat_toupper(sb, *uniname);
370e812b3ec190 Namjae Jeon 2020-03-02  527  uniname++;
370e812b3ec190 Namjae Jeon 2020-03-02  528  }
370e812b3ec190 Namjae Jeon 2020-03-02  529  
370e812b3ec190 Namjae Jeon 2020-03-02  530  *uniname = '\0';
370e812b3ec190 Namjae Jeon 2020-03-02 @531  p_uniname->name_len = unilen;
370e812b3ec190 Namjae Jeon 2020-03-02  532  p_uniname->name_hash = 
exfat_calc_chksum_2byte(upname, unilen << 1, 0,
370e812b3ec190 Namjae Jeon 2020-03-02  533  CS_DEFAULT);
370e812b3ec190 Namjae Jeon 2020-03-02  534  
370e812b3ec190 Namjae Jeon 2020-03-02  535  if (p_lossy)
370e812b3ec190 Namjae Jeon 2020-03-02  536  *p_lossy = lossy;
370e812b3ec190 Namjae Jeon 2020-03-02  537  return unilen;
370e812b3ec190 Namjae Jeon 2020-03-02  538  }
370e812b3ec190 Namjae Jeon 2020-03-02  539  

:: The code at line 531 was first introduced by commit
:: 370e812b3ec190fa492c9fd5a80c38b086d105c0 exfat: add nls operations

:: TO: Namjae Jeon 
:: CC: Al Viro 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


sound/soc/meson/t9015.c:315:34: warning: unused variable 't9015_ids'

2020-05-30 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   ffeb595d84811dde16a28b33d8a7cf26d51d51b3
commit: 33901f5b9b16d212ee58865e9e8e80fc813f12da ASoC: meson: add t9015 
internal DAC driver
date:   3 months ago
config: x86_64-randconfig-r033-20200531 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 33901f5b9b16d212ee58865e9e8e80fc813f12da
# 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: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> sound/soc/meson/t9015.c:315:34: warning: unused variable 't9015_ids' 
>> [-Wunused-const-variable]
static const struct of_device_id t9015_ids[] = {
^
1 warning generated.

vim +/t9015_ids +315 sound/soc/meson/t9015.c

   314  
 > 315  static const struct of_device_id t9015_ids[] = {
   316  { .compatible = "amlogic,t9015", },
   317  { }
   318  };
   319  MODULE_DEVICE_TABLE(of, t9015_ids);
   320  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH] irqchip/gic-v3-its: Don't try to move a disabled irq

2020-05-30 Thread kbuild test robot
Hi Ali,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on linux/master v5.7-rc7]
[cannot apply to tip/irq/core arm-jcooper/irqchip/for-next next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Ali-Saidi/irqchip-gic-v3-its-Don-t-try-to-move-a-disabled-irq/20200531-043957
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
86852175b016f0c6873dcbc24b93d12b7b246612
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/irqchip/irq-gic-v3-its.c: In function 'its_irq_domain_activate':
>> drivers/irqchip/irq-gic-v3-its.c:3449:14: warning: passing argument 1 of 
>> 'cpumask_and' discards 'const' qualifier from pointer target type 
>> [-Wdiscarded-qualifiers]
3449 |  cpumask_and(cpu_mask, cpu_mask, cpu_online_mask);
|  ^~~~
In file included from include/linux/rcupdate.h:31,
from include/linux/radix-tree.h:15,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/irqchip/irq-gic-v3-its.c:7:
include/linux/cpumask.h:424:47: note: expected 'struct cpumask *' but argument 
is of type 'const struct cpumask *'
424 | static inline int cpumask_and(struct cpumask *dstp,
|   ^~~~
In file included from include/linux/bits.h:23,
from include/linux/ioport.h:15,
from include/linux/acpi.h:12,
from drivers/irqchip/irq-gic-v3-its.c:7:
drivers/irqchip/irq-gic-v3-its.c: In function 'its_init_vpe_domain':
include/linux/bits.h:26:28: warning: comparison of unsigned expression < 0 is 
always false [-Wtype-limits]
26 |   __builtin_constant_p((l) > (h)), (l) > (h), 0)))
|^
include/linux/build_bug.h:16:62: note: in definition of macro 
'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
|  ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
|   ^~~
drivers/irqchip/irq-gic-v3-its.c:4765:10: note: in expansion of macro 'GENMASK'
4765 |  devid = GENMASK(device_ids(its) - 1, 0);
|  ^~~
include/linux/bits.h:26:40: warning: comparison of unsigned expression < 0 is 
always false [-Wtype-limits]
26 |   __builtin_constant_p((l) > (h)), (l) > (h), 0)))
|^
include/linux/build_bug.h:16:62: note: in definition of macro 
'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
|  ^
include/linux/bits.h:39:3: note: in expansion of macro 'GENMASK_INPUT_CHECK'
39 |  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
|   ^~~
drivers/irqchip/irq-gic-v3-its.c:4765:10: note: in expansion of macro 'GENMASK'
4765 |  devid = GENMASK(device_ids(its) - 1, 0);
|  ^~~

vim +3449 drivers/irqchip/irq-gic-v3-its.c

  3433  
  3434  static int its_irq_domain_activate(struct irq_domain *domain,
  3435 struct irq_data *d, bool reserve)
  3436  {
  3437  struct its_device *its_dev = irq_data_get_irq_chip_data(d);
  3438  u32 event = its_get_event_id(d);
  3439  const struct cpumask *cpu_mask = cpu_online_mask;
  3440  int cpu;
  3441  
  3442  /* get the cpu_mask of local node */
  3443  if (its_dev->its->numa_node >= 0)
  3444  cpu_mask = cpumask_of_node(its_dev->its->numa_node);
  3445  
  3446  /* If the cpu set to a different CPU that is still online use 
it */
  3447  cpu = its_dev->event_map.col_map[event];
  3448  
> 3449  cpumask_and(cpu_mask, cpu_mask, cpu_online_mask);
  3450  
  3451  if (!cpumask_test_cpu(cpu, cpu_mask)) {
  3452  /* Bind the LPI to the first possible CPU */
  3453  cpu = cpumask_first(cpu_mask);
  3454  }
  3455  
  3456  

drivers/soundwire/intel_init.c:192:7: warning: no previous prototype for function 'sdw_intel_init'

2020-05-30 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   ffeb595d84811dde16a28b33d8a7cf26d51d51b3
commit: f98f690fb03c2a8d21dfa31aa1042480cf6f7f9b soundwire: intel: update 
interfaces between ASoC and SoundWire
date:   6 months ago
config: x86_64-randconfig-r033-20200531 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 f98f690fb03c2a8d21dfa31aa1042480cf6f7f9b
# 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: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/soundwire/intel_init.c:192:7: warning: no previous prototype for 
>> function 'sdw_intel_init' [-Wmissing-prototypes]
void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res)
^
drivers/soundwire/intel_init.c:192:1: note: declare 'static' if the function is 
not intended to be used outside of this translation unit
void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res)
^
static
1 warning generated.

vim +/sdw_intel_init +192 drivers/soundwire/intel_init.c

d62a7d41f38e1d Vinod Koul 2017-12-14  183  
d62a7d41f38e1d Vinod Koul 2017-12-14  184  /**
d62a7d41f38e1d Vinod Koul 2017-12-14  185   * sdw_intel_init() - SoundWire 
Intel init routine
d62a7d41f38e1d Vinod Koul 2017-12-14  186   * @parent_handle: ACPI parent handle
d62a7d41f38e1d Vinod Koul 2017-12-14  187   * @res: resource data
d62a7d41f38e1d Vinod Koul 2017-12-14  188   *
d62a7d41f38e1d Vinod Koul 2017-12-14  189   * This scans the namespace and 
creates SoundWire link controller devices
d62a7d41f38e1d Vinod Koul 2017-12-14  190   * based on the info queried.
d62a7d41f38e1d Vinod Koul 2017-12-14  191   */
d62a7d41f38e1d Vinod Koul 2017-12-14 @192  void *sdw_intel_init(acpi_handle 
*parent_handle, struct sdw_intel_res *res)
d62a7d41f38e1d Vinod Koul 2017-12-14  193  {
d62a7d41f38e1d Vinod Koul 2017-12-14  194   acpi_status status;
d62a7d41f38e1d Vinod Koul 2017-12-14  195  
d62a7d41f38e1d Vinod Koul 2017-12-14  196   status = 
acpi_walk_namespace(ACPI_TYPE_DEVICE,
d62a7d41f38e1d Vinod Koul 2017-12-14  197
parent_handle, 1,
d62a7d41f38e1d Vinod Koul 2017-12-14  198
sdw_intel_acpi_cb,
d62a7d41f38e1d Vinod Koul 2017-12-14  199
NULL, res, NULL);
d62a7d41f38e1d Vinod Koul 2017-12-14  200   if (ACPI_FAILURE(status))
d62a7d41f38e1d Vinod Koul 2017-12-14  201   return NULL;
d62a7d41f38e1d Vinod Koul 2017-12-14  202  
d62a7d41f38e1d Vinod Koul 2017-12-14  203   return 
sdw_intel_add_controller(res);
d62a7d41f38e1d Vinod Koul 2017-12-14  204  }
d62a7d41f38e1d Vinod Koul 2017-12-14  205  

:: The code at line 192 was first introduced by commit
:: d62a7d41f38e1d3f8f8a1c0db4dec7a5bb39268a soundwire: intel: Add Intel 
init module

:: TO: Vinod Koul 
:: CC: Greg Kroah-Hartman 

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


arch/mips/sgi-ip27/ip27-hubio.c:30:15: warning: no previous prototype for 'hub_pio_map'

2020-05-30 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   86852175b016f0c6873dcbc24b93d12b7b246612
commit: b78e9d63a3b6307b6b786e6ba189d3978b60ceb5 MIPS: SGI-IP27: use 
asm/sn/agent.h for including HUB related stuff
date:   5 months ago
config: mips-ip27_defconfig (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
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
git checkout b78e9d63a3b6307b6b786e6ba189d3978b60ceb5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> arch/mips/sgi-ip27/ip27-hubio.c:30:15: warning: no previous prototype for 
>> 'hub_pio_map' [-Wmissing-prototypes]
30 | unsigned long hub_pio_map(nasid_t nasid, xwidgetnum_t widget,
|   ^~~
>> arch/mips/sgi-ip27/ip27-hubio.c:175:6: warning: no previous prototype for 
>> 'hub_pio_init' [-Wmissing-prototypes]
175 | void hub_pio_init(nasid_t nasid)
|  ^~~~

vim +/hub_pio_map +30 arch/mips/sgi-ip27/ip27-hubio.c

^1da177e4c3f41 Linus Torvalds  2005-04-16   20  
^1da177e4c3f41 Linus Torvalds  2005-04-16   21  /**
^1da177e4c3f41 Linus Torvalds  2005-04-16   22   * hub_pio_map  -  
establish a HUB PIO mapping
^1da177e4c3f41 Linus Torvalds  2005-04-16   23   *
^1da177e4c3f41 Linus Torvalds  2005-04-16   24   * @hub:hub to perform 
PIO mapping on
^1da177e4c3f41 Linus Torvalds  2005-04-16   25   * @widget: widget ID to 
perform PIO mapping for
^1da177e4c3f41 Linus Torvalds  2005-04-16   26   * @xtalk_addr: 
xtalk_address that needs to be mapped
^1da177e4c3f41 Linus Torvalds  2005-04-16   27   * @size:   size of the PIO 
mapping
^1da177e4c3f41 Linus Torvalds  2005-04-16   28   *
^1da177e4c3f41 Linus Torvalds  2005-04-16   29   **/
4bf841ebf17aaa Thomas Bogendoerfer 2019-10-03  @30  unsigned long 
hub_pio_map(nasid_t nasid, xwidgetnum_t widget,
^1da177e4c3f41 Linus Torvalds  2005-04-16   31
unsigned long xtalk_addr, size_t size)
^1da177e4c3f41 Linus Torvalds  2005-04-16   32  {
^1da177e4c3f41 Linus Torvalds  2005-04-16   33  unsigned i;
^1da177e4c3f41 Linus Torvalds  2005-04-16   34  
^1da177e4c3f41 Linus Torvalds  2005-04-16   35  /* use small-window 
mapping if possible */
^1da177e4c3f41 Linus Torvalds  2005-04-16   36  if ((xtalk_addr % 
SWIN_SIZE) + size <= SWIN_SIZE)
^1da177e4c3f41 Linus Torvalds  2005-04-16   37  return 
NODE_SWIN_BASE(nasid, widget) + (xtalk_addr % SWIN_SIZE);
^1da177e4c3f41 Linus Torvalds  2005-04-16   38  
^1da177e4c3f41 Linus Torvalds  2005-04-16   39  if ((xtalk_addr % 
BWIN_SIZE) + size > BWIN_SIZE) {
^1da177e4c3f41 Linus Torvalds  2005-04-16   40  
printk(KERN_WARNING "PIO mapping at hub %d widget %d addr 0x%lx"
^1da177e4c3f41 Linus Torvalds  2005-04-16   41  
" too big (%ld)\n",
^1da177e4c3f41 Linus Torvalds  2005-04-16   42  
nasid, widget, xtalk_addr, size);
^1da177e4c3f41 Linus Torvalds  2005-04-16   43  return 0;
^1da177e4c3f41 Linus Torvalds  2005-04-16   44  }
^1da177e4c3f41 Linus Torvalds  2005-04-16   45  
^1da177e4c3f41 Linus Torvalds  2005-04-16   46  xtalk_addr &= 
~(BWIN_SIZE-1);
^1da177e4c3f41 Linus Torvalds  2005-04-16   47  for (i = 0; i < 
HUB_NUM_BIG_WINDOW; i++) {
4bf841ebf17aaa Thomas Bogendoerfer 2019-10-03   48  if 
(test_and_set_bit(i, hub_data(nasid)->h_bigwin_used))
^1da177e4c3f41 Linus Torvalds  2005-04-16   49  
continue;
^1da177e4c3f41 Linus Torvalds  2005-04-16   50  
^1da177e4c3f41 Linus Torvalds  2005-04-16   51  /*
^1da177e4c3f41 Linus Torvalds  2005-04-16   52   * The code 
below does a PIO write to setup an ITTE entry.
^1da177e4c3f41 Linus Torvalds  2005-04-16   53   *
^1da177e4c3f41 Linus Torvalds  2005-04-16   54   * We need to 
prevent other CPUs from seeing our updated
^1da177e4c3f41 Linus Torvalds  2005-04-16   55   * memory 
shadow of the ITTE (in the piomap) until the ITTE
^1da177e4c3f41 Linus Torvalds  2005-04-16   56   * entry is 
actually set up; otherwise, another CPU might
^1da177e4c3f41 Linus Torvalds  2005-04-16   57   * attempt a 
PIO prematurely.
^1da177e4c3f41 Linus Torvalds  2005-04-16   58   *
^1da177e4c3f41 Linus Torvalds  2005-04-16   59   * Also, the 
only way we can know that an entry has been
^1da177e4c3f41 L

Re: [PATCH v7 2/4] lib/test_bitmap.c: Add for_each_set_clump test cases

2020-05-30 Thread kbuild test robot
Hi Syed,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce]

url:
https://github.com/0day-ci/linux/commits/Syed-Nayyar-Waris/Introduce-the-for_each_set_clump-macro/20200524-130931
base:b9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce
config: x86_64-randconfig-s021-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: lib/test_bitmap.o(.data+0xe80): Section mismatch in 
>> reference from the variable clump_test_data to the variable 
>> .init.rodata:clump_exp1
The variable clump_test_data references
the variable __initconst clump_exp1
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: lib/test_bitmap.o(.data+0xec8): Section mismatch in 
>> reference from the variable clump_test_data to the variable 
>> .init.rodata:clump_exp2
The variable clump_test_data references
the variable __initconst clump_exp2
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: lib/test_bitmap.o(.data+0xf10): Section mismatch in 
>> reference from the variable clump_test_data to the variable 
>> .init.rodata:clump_exp3
The variable clump_test_data references
the variable __initconst clump_exp3
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

--
>> WARNING: modpost: lib/test_bitmap.o(.data+0xf58): Section mismatch in 
>> reference from the variable clump_test_data to the variable 
>> .init.rodata:clump_exp4
The variable clump_test_data references
the variable __initconst clump_exp4
If the reference is valid then annotate the
variable with or __refdata (see linux/init.h) or name the variable:

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/net/ethernet/intel/igc/igc_ptp.c:397:17: sparse: sparse: incorrect type in argument 1 (different base types)

2020-05-30 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   86852175b016f0c6873dcbc24b93d12b7b246612
commit: 81b055205e8ba2d400c8fa5845ba540a4a880a3a igc: Add support for RX 
timestamping
date:   5 months ago
config: i386-randconfig-s002-20200531 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 81b055205e8ba2d400c8fa5845ba540a4a880a3a
# save the attached .config to linux build tree
make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> drivers/net/ethernet/intel/igc/igc_ptp.c:397:17: sparse: sparse: incorrect 
>> type in argument 1 (different base types) @@ expected unsigned int val 
>> @@ got restricted __be16 [usertype] @@
   drivers/net/ethernet/intel/igc/igc_ptp.c:397:17: sparse: expected 
unsigned int val
   drivers/net/ethernet/intel/igc/igc_ptp.c:397:17: sparse: got restricted 
__be16 [usertype]
   drivers/net/ethernet/intel/igc/igc_ptp.c:415:6: sparse: sparse: symbol 
'igc_ptp_tx_hang' was not declared. Should it be static?
   drivers/net/ethernet/intel/igc/igc_ptp.c:445:6: sparse: sparse: symbol 
'igc_ptp_tx_work' was not declared. Should it be static?
   drivers/net/ethernet/intel/igc/igc_ptp.c:549:6: sparse: sparse: symbol 
'igc_ptp_suspend' was not declared. Should it be static?

vim +397 drivers/net/ethernet/intel/igc/igc_ptp.c

   281  
   282  /**
   283   * igc_ptp_set_timestamp_mode - setup hardware for timestamping
   284   * @adapter: networking device structure
   285   * @config: hwtstamp configuration
   286   *
   287   * Incoming time stamping has to be configured via the hardware
   288   * filters. Not all combinations are supported, in particular event
   289   * type has to be specified. Matching the kind of event packet is
   290   * not supported, with the exception of "all V2 events regardless of
   291   * level 2 or 4".
   292   *
   293   */
   294  static int igc_ptp_set_timestamp_mode(struct igc_adapter *adapter,
   295struct hwtstamp_config *config)
   296  {
   297  u32 tsync_rx_ctl = IGC_TSYNCRXCTL_ENABLED;
   298  struct igc_hw *hw = >hw;
   299  u32 tsync_rx_cfg = 0;
   300  bool is_l4 = false;
   301  bool is_l2 = false;
   302  u32 regval;
   303  
   304  /* reserved for future extensions */
   305  if (config->flags)
   306  return -EINVAL;
   307  
   308  switch (config->rx_filter) {
   309  case HWTSTAMP_FILTER_NONE:
   310  tsync_rx_ctl = 0;
   311  break;
   312  case HWTSTAMP_FILTER_PTP_V1_L4_SYNC:
   313  tsync_rx_ctl |= IGC_TSYNCRXCTL_TYPE_L4_V1;
   314  tsync_rx_cfg = IGC_TSYNCRXCFG_PTP_V1_SYNC_MESSAGE;
   315  is_l4 = true;
   316  break;
   317  case HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ:
   318  tsync_rx_ctl |= IGC_TSYNCRXCTL_TYPE_L4_V1;
   319  tsync_rx_cfg = IGC_TSYNCRXCFG_PTP_V1_DELAY_REQ_MESSAGE;
   320  is_l4 = true;
   321  break;
   322  case HWTSTAMP_FILTER_PTP_V2_EVENT:
   323  case HWTSTAMP_FILTER_PTP_V2_L2_EVENT:
   324  case HWTSTAMP_FILTER_PTP_V2_L4_EVENT:
   325  case HWTSTAMP_FILTER_PTP_V2_SYNC:
   326  case HWTSTAMP_FILTER_PTP_V2_L2_SYNC:
   327  case HWTSTAMP_FILTER_PTP_V2_L4_SYNC:
   328  case HWTSTAMP_FILTER_PTP_V2_DELAY_REQ:
   329  case HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ:
   330  case HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ:
   331  tsync_rx_ctl |= IGC_TSYNCRXCTL_TYPE_EVENT_V2;
   332  config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT;
   333  is_l2 = true;
   334  is_l4 = true;
   335  break;
   336  case HWTSTAMP_FILTER_PTP_V1_L4_EVENT:
   337  case HWTSTAMP_FILTER_NTP_ALL:
   338  case HWTSTAMP_FILTER_ALL:
   339  tsync_rx_ctl |= IGC_TSYNCRXCTL_TYPE_ALL;
   340  config->rx_filter = HWTSTAMP_FILTER_ALL;
   341  break;
   342  /* fall through */
   343  default:
   344  config->rx_filter = HWTSTAMP_FILTER_NONE;
   345  return -ERANGE;
   346  }
   347  
   348  /* Per-packet timestamping only works if all packets are
   349   * timestamped, so enable timestamping in all packets as long
   350   * as one Rx filter was configured.
   351   */
   352  if (tsync_rx_ctl) {
   353   

[RFC PATCH regulator] regulator: max8998: max8998_set_current_limit() can be static

2020-05-30 Thread kbuild test robot


Fixes: 4ffea5e083f8 ("regulator: max8998: Add charger regulator")
Signed-off-by: kbuild test robot 
---
 max8998.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 668ced0064179..340413bba0c5f 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -371,8 +371,8 @@ static int max8998_set_voltage_buck_time_sel(struct 
regulator_dev *rdev,
return 0;
 }
 
-int max8998_set_current_limit(struct regulator_dev *rdev,
- int min_uA, int max_uA)
+static int max8998_set_current_limit(struct regulator_dev *rdev,
+int min_uA, int max_uA)
 {
struct max8998_data *max8998 = rdev_get_drvdata(rdev);
struct i2c_client *i2c = max8998->iodev->i2c;


Re: [PATCH v4 1/2] remoteproc: qcom: Add per subsystem SSR notification

2020-05-30 Thread kbuild test robot
Hi Rishabh,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200526]
[also build test WARNING on v5.7-rc7]
[cannot apply to linus/master linux/master v5.7-rc7 v5.7-rc6 v5.7-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Rishabh-Bhatnagar/Extend-SSR-notifications-framework/20200528-115948
base:b0523c7b1c9d0edcd6c0fe6d2cb558a9ad5c60a8
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/remoteproc/qcom_common.c:200:28: warning: no previous prototype for 
>> 'qcom_ssr_get_subsys' [-Wmissing-prototypes]
200 | struct qcom_ssr_subsystem *qcom_ssr_get_subsys(const char *name)
|^~~

vim +/qcom_ssr_get_subsys +200 drivers/remoteproc/qcom_common.c

   199  
 > 200  struct qcom_ssr_subsystem *qcom_ssr_get_subsys(const char *name)
   201  {
   202  struct qcom_ssr_subsystem *info;
   203  
   204  /* Match in the global qcom_ssr_subsystem_list with name */
   205  list_for_each_entry(info, _ssr_subsystem_list, list) {
   206  if (!strcmp(info->name, name))
   207  return info;
   208  }
   209  info = kzalloc(sizeof(*info), GFP_KERNEL);
   210  if (!info)
   211  return ERR_PTR(-ENOMEM);
   212  info->name = kstrdup_const(name, GFP_KERNEL);
   213  srcu_init_notifier_head(>notifier_list);
   214  
   215  /* Add to global notif list */
   216  INIT_LIST_HEAD(>list);
   217  list_add_tail(>list, _ssr_subsystem_list);
   218  
   219  return info;
   220  }
   221  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[regulator:for-5.8 14/18] drivers/regulator/max8998.c:418:5: sparse: sparse: symbol 'max8998_get_current_limit' was not declared. Should it be static?

2020-05-30 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git 
for-5.8
head:   81227f49bd272cbcd9bb4650b250519c8aa22065
commit: 4ffea5e083f8125fe273cf331ecb10d901eb64a2 [14/18] regulator: max8998: 
Add charger regulator
config: x86_64-randconfig-s021-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 4ffea5e083f8125fe273cf331ecb10d901eb64a2
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/regulator/max8998.c:374:5: sparse: sparse: symbol 
'max8998_set_current_limit' was not declared. Should it be static?
>> drivers/regulator/max8998.c:418:5: sparse: sparse: symbol 
>> 'max8998_get_current_limit' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[RFC PATCH regulator] regulator: max8998: max8998_get_current_limit() can be static

2020-05-30 Thread kbuild test robot


Fixes: 4ffea5e083f8 ("regulator: max8998: Add charger regulator")
Signed-off-by: kbuild test robot 
---
 max8998.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 668ced0064179..ab16790a02068 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -415,7 +415,7 @@ int max8998_set_current_limit(struct regulator_dev *rdev,
  sel, rdev->desc->csel_mask);
 }
 
-int max8998_get_current_limit(struct regulator_dev *rdev)
+static int max8998_get_current_limit(struct regulator_dev *rdev)
 {
struct max8998_data *max8998 = rdev_get_drvdata(rdev);
struct i2c_client *i2c = max8998->iodev->i2c;


Re: [PATCH v2 09/12] iio: imu: inv_icm42600: add buffer support in iio devices

2020-05-30 Thread kbuild test robot
Hi Jean-Baptiste,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on iio/togreg]
[also build test ERROR on robh/for-next linus/master v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Jean-Baptiste-Maneyrol/iio-imu-new-inv_icm42600-driver/20200528-030632
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: i386-randconfig-c001-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

ld: drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.o: in function 
`inv_icm42600_buffer_update_watermark':
drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c:215: undefined reference to 
`__moddi3'
>> ld: drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c:212: undefined 
>> reference to `__moddi3'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/usb/cdns3/gadget.c:1188:29: sparse: sparse: incorrect type in assignment (different base types)

2020-05-29 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: 70d8b9e5e63d212019ba3f6823c8ec3d2df87645 usb: cdns3: make signed 1 bit 
bitfields unsigned
date:   9 weeks ago
config: i386-randconfig-s031-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
git checkout 70d8b9e5e63d212019ba3f6823c8ec3d2df87645
# save the attached .config to linux build tree
make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

   drivers/usb/cdns3/gadget.c:1157:35: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1157:35: sparse: expected restricted __le32 
[usertype] control
   drivers/usb/cdns3/gadget.c:1157:35: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1173:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
buffer @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1173:29: sparse: expected restricted __le32 
[usertype] buffer
   drivers/usb/cdns3/gadget.c:1173:29: sparse: got unsigned long
>> drivers/usb/cdns3/gadget.c:1188:29: sparse: sparse: incorrect type in 
>> assignment (different base types) @@ expected restricted __le32 
>> [usertype] length @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1188:29: sparse: expected restricted __le32 
[usertype] length
   drivers/usb/cdns3/gadget.c:1188:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1191:37: sparse: sparse: invalid assignment: |=
   drivers/usb/cdns3/gadget.c:1191:37: sparse:left side has type restricted 
__le32
   drivers/usb/cdns3/gadget.c:1191:37: sparse:right side has type unsigned 
long
   drivers/usb/cdns3/gadget.c:1213:38: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned int [assigned] [usertype] control @@
   drivers/usb/cdns3/gadget.c:1213:38: sparse: expected restricted __le32 
[usertype] control
   drivers/usb/cdns3/gadget.c:1213:38: sparse: got unsigned int [assigned] 
[usertype] control
   drivers/usb/cdns3/gadget.c:1215:48: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned int [assigned] [usertype] control @@
   drivers/usb/cdns3/gadget.c:1215:48: sparse: expected restricted __le32 
[usertype] control
   drivers/usb/cdns3/gadget.c:1215:48: sparse: got unsigned int [assigned] 
[usertype] control
   drivers/usb/cdns3/gadget.c:1229:30: sparse: sparse: invalid assignment: |=
   drivers/usb/cdns3/gadget.c:1229:30: sparse:left side has type restricted 
__le32
   drivers/usb/cdns3/gadget.c:1229:30: sparse:right side has type unsigned 
long
   drivers/usb/cdns3/gadget.c:1255:36: sparse: sparse: restricted __le32 
degrades to integer
   drivers/usb/cdns3/gadget.c:1255:30: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
control @@ got unsigned int @@
   drivers/usb/cdns3/gadget.c:1255:30: sparse: expected restricted __le32 
[usertype] control
   drivers/usb/cdns3/gadget.c:1255:30: sparse: got unsigned int
   drivers/usb/cdns3/gadget.c:1010:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
buffer @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1010:29: sparse: expected restricted __le32 
[usertype] buffer
   drivers/usb/cdns3/gadget.c:1010:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1013:29: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
buffer @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1013:29: sparse: expected restricted __le32 
[usertype] buffer
   drivers/usb/cdns3/gadget.c:1013:29: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1019:21: sparse: sparse: incorrect type in 
assignment (different base types) @@ expected restricted __le32 [usertype] 
length @@ got unsigned long @@
   drivers/usb/cdns3/gadget.c:1019:21: sparse: expected restricted __le32 
[usertype] length
   drivers/usb/cdns3/gadget.c:1019:21: sparse: got unsigned long
   drivers/usb/cdns3/gadget.c:1029:37: sparse: sparse: invalid assignment: |=
   drivers/usb/cdns3/gadget.c:1029:37: sparse:left side has type restricted 
__le32
   drivers/usb/cdns3/gadget.c:1029:37: sparse:right side has type unsigned 
long
   drivers/us

drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for 'lsb_header_tail_dump'

2020-05-29 Thread kbuild test robot
Hi Ben,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d drm/nouveau/acr: implement new 
subdev to replace "secure boot"
date:   5 months ago
config: arm64-sof-customedconfig-sst-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
git checkout 22dcda45a3d1dfe6eeb4ab0a3b9aaa2333cb649d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype 
>> for 'lsb_header_tail_dump' [-Wmissing-prototypes]
49 | lsb_header_tail_dump(struct nvkm_subdev *subdev,
| ^~~~

vim +/lsb_header_tail_dump +49 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c

47  
48  void
  > 49  lsb_header_tail_dump(struct nvkm_subdev *subdev,
50  struct lsb_header_tail *hdr)
51  {
52  nvkm_debug(subdev, "lsbHeader\n");
53  nvkm_debug(subdev, "\tucodeOff  : 0x%x\n", hdr->ucode_off);
54  nvkm_debug(subdev, "\tucodeSize : 0x%x\n", hdr->ucode_size);
55  nvkm_debug(subdev, "\tdataSize  : 0x%x\n", hdr->data_size);
56  nvkm_debug(subdev, "\tblCodeSize: 0x%x\n", 
hdr->bl_code_size);
57  nvkm_debug(subdev, "\tblImemOff : 0x%x\n", 
hdr->bl_imem_off);
58  nvkm_debug(subdev, "\tblDataOff : 0x%x\n", 
hdr->bl_data_off);
59  nvkm_debug(subdev, "\tblDataSize: 0x%x\n", 
hdr->bl_data_size);
60  nvkm_debug(subdev, "\tappCodeOff: 0x%x\n", 
hdr->app_code_off);
61  nvkm_debug(subdev, "\tappCodeSize   : 0x%x\n", 
hdr->app_code_size);
62  nvkm_debug(subdev, "\tappDataOff: 0x%x\n", 
hdr->app_data_off);
63  nvkm_debug(subdev, "\tappDataSize   : 0x%x\n", 
hdr->app_data_size);
64  nvkm_debug(subdev, "\tflags : 0x%x\n", hdr->flags);
65  }
66  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


fs/xfs/libxfs/xfs_btree_staging.c:144 xfs_btree_stage_afakeroot() error: potential null dereference 'nops'. (kmem_alloc returns null)

2020-05-29 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: e06536a692e032470130af5b2136b519595809da xfs: introduce fake roots for 
ag-rooted btrees
date:   2 months ago
config: i386-randconfig-m021-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

smatch warnings:
fs/xfs/libxfs/xfs_btree_staging.c:144 xfs_btree_stage_afakeroot() error: 
potential null dereference 'nops'.  (kmem_alloc returns null)

vim +/nops +144 fs/xfs/libxfs/xfs_btree_staging.c

   125  
   126  /*
   127   * Initialize a AG-rooted btree cursor with the given AG btree fake 
root.
   128   * The btree cursor's bc_ops will be overridden as needed to make the 
staging
   129   * functionality work.
   130   */
   131  void
   132  xfs_btree_stage_afakeroot(
   133  struct xfs_btree_cur*cur,
   134  struct xbtree_afakeroot *afake)
   135  {
   136  struct xfs_btree_ops*nops;
   137  
   138  ASSERT(!(cur->bc_flags & XFS_BTREE_STAGING));
   139  ASSERT(!(cur->bc_flags & XFS_BTREE_ROOT_IN_INODE));
   140  ASSERT(cur->bc_tp == NULL);
   141  
   142  nops = kmem_alloc(sizeof(struct xfs_btree_ops), KM_NOFS);
   143  memcpy(nops, cur->bc_ops, sizeof(struct xfs_btree_ops));
 > 144  nops->alloc_block = xfs_btree_fakeroot_alloc_block;
   145  nops->free_block = xfs_btree_fakeroot_free_block;
   146  nops->init_ptr_from_cur = xfs_btree_fakeroot_init_ptr_from_cur;
   147  nops->set_root = xfs_btree_afakeroot_set_root;
   148  nops->dup_cursor = xfs_btree_fakeroot_dup_cursor;
   149  
   150  cur->bc_ag.afake = afake;
   151  cur->bc_nlevels = afake->af_levels;
   152  cur->bc_ops = nops;
   153  cur->bc_flags |= XFS_BTREE_STAGING;
   154  }
   155  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


Re: [PATCH 2/2] nvmem: add ONIE NVMEM cells support

2020-05-29 Thread kbuild test robot
Hi Vadym,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on linux/master v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Vadym-Kochan/nvmem-add-ONIE-NVMEM-cells-provider/20200528-041903
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
b0c3ba31be3e45a130e13b278cf3b90f69bda6f6
config: x86_64-randconfig-r024-20200529 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2d068e534f1671459e1b135852c1b3c10502e929)
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
# 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: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/nvmem/onie-cells.c:56:57: warning: size argument in 'memcmp' call is 
>> a comparison [-Wmemsize-comparison]
if (memcmp(hdr->id, ONIE_NVMEM_HDR_ID, sizeof(hdr->id) != 0))
^~~~
drivers/nvmem/onie-cells.c:56:6: note: did you mean to compare the result of 
'memcmp' instead?
if (memcmp(hdr->id, ONIE_NVMEM_HDR_ID, sizeof(hdr->id) != 0))
^  ~
)
drivers/nvmem/onie-cells.c:56:41: note: explicitly cast the argument to size_t 
to silence this warning
if (memcmp(hdr->id, ONIE_NVMEM_HDR_ID, sizeof(hdr->id) != 0))
^
(size_t)(   )
1 warning generated.

vim +/memcmp +56 drivers/nvmem/onie-cells.c

53  
54  static bool onie_nvmem_hdr_is_valid(struct onie_nvmem_hdr *hdr)
55  {
  > 56  if (memcmp(hdr->id, ONIE_NVMEM_HDR_ID, sizeof(hdr->id) != 0))
57  return false;
58  if (hdr->version != 0x1)
59  return false;
60  
61  return true;
62  }
63  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


drivers/gpu/drm/mgag200/mgag200_drv.c:70:5: warning: no previous prototype for function 'mgag200_driver_dumb_create'

2020-05-29 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: 1591fadf857cdbaf2baa55e421af99a61354713c drm/mgag200: Add workaround 
for HW that does not support 'startadd'
date:   6 months ago
config: arm-randconfig-r036-20200529 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
2d068e534f1671459e1b135852c1b3c10502e929)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git checkout 1591fadf857cdbaf2baa55e421af99a61354713c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/gpu/drm/mgag200/mgag200_drv.c:70:5: warning: no previous prototype 
>> for function 'mgag200_driver_dumb_create' [-Wmissing-prototypes]
int mgag200_driver_dumb_create(struct drm_file *file,
^
drivers/gpu/drm/mgag200/mgag200_drv.c:70:1: note: declare 'static' if the 
function is not intended to be used outside of this translation unit
int mgag200_driver_dumb_create(struct drm_file *file,
^
static
1 warning generated.

vim +/mgag200_driver_dumb_create +70 drivers/gpu/drm/mgag200/mgag200_drv.c

69  
  > 70  int mgag200_driver_dumb_create(struct drm_file *file,
71 struct drm_device *dev,
72 struct drm_mode_create_dumb *args)
73  {
74  struct mga_device *mdev = dev->dev_private;
75  unsigned long pg_align;
76  
77  if (WARN_ONCE(!dev->vram_mm, "VRAM MM not initialized"))
78  return -EINVAL;
79  
80  pg_align = 0ul;
81  
82  /*
83   * Aligning scanout buffers to the size of the video ram forces
84   * placement at offset 0. Works around a bug where HW does not
85   * respect 'startadd' field.
86   */
87  if (mgag200_pin_bo_at_0(mdev))
88  pg_align = PFN_UP(mdev->mc.vram_size);
89  
90  return drm_gem_vram_fill_create_dumb(file, dev, 
>vram_mm->bdev,
91   pg_align, false, args);
92  }
93  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


[RFC PATCH linux-next] Revert "net: bcmgenet: bcmgenet_hfb_add_filter() can be static

2020-05-29 Thread kbuild test robot


Fixes: 14da1510fedc ("Revert "net: bcmgenet: remove unused function in 
bcmgenet.c"")
Signed-off-by: kbuild test robot 
---
 bcmgenet.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c 
b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
index b37ef05c5083a..98e492e066dcb 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -2855,8 +2855,8 @@ static int bcmgenet_hfb_find_unused_filter(struct 
bcmgenet_priv *priv)
  * bcmgenet_hfb_add_filter(priv, hfb_filter_ipv4_udp,
  * ARRAY_SIZE(hfb_filter_ipv4_udp), 0);
  */
-int bcmgenet_hfb_add_filter(struct bcmgenet_priv *priv, u32 *f_data,
-   u32 f_length, u32 rx_queue)
+static int bcmgenet_hfb_add_filter(struct bcmgenet_priv *priv, u32 *f_data,
+  u32 f_length, u32 rx_queue)
 {
int f_index;
u32 i;


Re: [PATCH 3/4] exfat: add boot region verification

2020-05-29 Thread kbuild test robot
Hi Tetsuhiro,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200519]
[cannot apply to linus/master v5.7-rc7 v5.7-rc6 v5.7-rc5 v5.7-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:
https://github.com/0day-ci/linux/commits/Tetsuhiro-Kohada/exfat-redefine-PBR-as-boot_sector/20200525-195329
base:fb57b1fabcb28f358901b2df90abd2b48abc1ca8
config: c6x-randconfig-s032-20200529 (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-243-gc100a7ab-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=c6x CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 


sparse warnings: (new ones prefixed by >>)

>> fs/exfat/super.c:485:29: sparse: sparse: cast to restricted __le32
>> fs/exfat/super.c:485:29: sparse: sparse: cast to restricted __le32
>> fs/exfat/super.c:485:29: sparse: sparse: cast to restricted __le32
>> fs/exfat/super.c:485:29: sparse: sparse: cast to restricted __le32
>> fs/exfat/super.c:485:29: sparse: sparse: cast to restricted __le32
>> fs/exfat/super.c:485:29: sparse: sparse: cast to restricted __le32
   fs/exfat/super.c:504:21: sparse: sparse: cast to restricted __le32
   fs/exfat/super.c:504:21: sparse: sparse: cast to restricted __le32
   fs/exfat/super.c:504:21: sparse: sparse: cast to restricted __le32
   fs/exfat/super.c:504:21: sparse: sparse: cast to restricted __le32
   fs/exfat/super.c:504:21: sparse: sparse: cast to restricted __le32
   fs/exfat/super.c:504:21: sparse: sparse: cast to restricted __le32

vim +485 fs/exfat/super.c

   469  
   470  static int exfat_verify_boot_region(struct super_block *sb)
   471  {
   472  struct buffer_head *bh = NULL;
   473  u32 chksum = 0, *p_sig, *p_chksum;
   474  int sn, i;
   475  
   476  /* read boot sector sub-regions */
   477  for (sn = 0; sn < 11; sn++) {
   478  bh = sb_bread(sb, sn);
   479  if (!bh)
   480  return -EIO;
   481  
   482  if (sn != 0 && sn <= 8) {
   483  /* extended boot sector sub-regions */
   484  p_sig = (u32 *)>b_data[sb->s_blocksize - 4];
 > 485  if (le32_to_cpu(*p_sig) != EXBOOT_SIGNATURE) {
   486  exfat_err(sb, "no exboot-signature");
   487  brelse(bh);
   488  return -EINVAL;
   489  }
   490  }
   491  
   492  chksum = exfat_calc_chksum32(bh->b_data, 
sb->s_blocksize,
   493  chksum, sn ? CS_DEFAULT : CS_BOOT_SECTOR);
   494  brelse(bh);
   495  }
   496  
   497  /* boot checksum sub-regions */
   498  bh = sb_bread(sb, sn);
   499  if (!bh)
   500  return -EIO;
   501  
   502  for (i = 0; i < sb->s_blocksize; i += sizeof(u32)) {
   503  p_chksum = (u32 *)>b_data[i];
   504  if (le32_to_cpu(*p_chksum) != chksum) {
   505  exfat_err(sb, "mismatch checksum");
   506  brelse(bh);
   507  return -EINVAL;
   508  }
   509  }
   510  brelse(bh);
   511  return 0;
   512  }
   513  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org


.config.gz
Description: application/gzip


arch/powerpc/kernel/entry_32.S:450: Error: unsupported relocation against thread

2020-05-29 Thread kbuild test robot
Hi Christophe,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: 4833ce06e6855d526234618b746ffb71d6612c9a powerpc/32s: Fix build failure 
with CONFIG_PPC_KUAP_DEBUG
date:   3 weeks ago
config: powerpc-randconfig-r035-20200529 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
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
git checkout 4833ce06e6855d526234618b746ffb71d6612c9a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

All errors (new ones prefixed by >>, old ones prefixed by <<):

arch/powerpc/kernel/entry_32.S: Assembler messages:
arch/powerpc/kernel/entry_32.S:450: Error: invalid operands (*UND* and *UND* 
sections) for `|'
arch/powerpc/kernel/entry_32.S:735: Error: invalid operands (*UND* and *UND* 
sections) for `|'
>> arch/powerpc/kernel/entry_32.S:450: Error: unsupported relocation against 
>> thread
arch/powerpc/kernel/entry_32.S:735: Error: unsupported relocation against thread

vim +450 arch/powerpc/kernel/entry_32.S

b86fb88855ea78 Christophe Leroy   2019-04-30  344  
9994a33865f4d5 Paul Mackerras 2005-10-10  345  /*
9994a33865f4d5 Paul Mackerras 2005-10-10  346   * Handle a system call.
9994a33865f4d5 Paul Mackerras 2005-10-10  347   */
9994a33865f4d5 Paul Mackerras 2005-10-10  348   .stabs  
"arch/powerpc/kernel/",N_SO,0,0,0f
9994a33865f4d5 Paul Mackerras 2005-10-10  349   .stabs  
"entry_32.S",N_SO,0,0,0f
9994a33865f4d5 Paul Mackerras 2005-10-10  350  0:
9994a33865f4d5 Paul Mackerras 2005-10-10  351  
9994a33865f4d5 Paul Mackerras 2005-10-10  352  _GLOBAL(DoSyscall)
9994a33865f4d5 Paul Mackerras 2005-10-10  353   stw r3,ORIG_GPR3(r1)
9994a33865f4d5 Paul Mackerras 2005-10-10  354   li  r12,0
9994a33865f4d5 Paul Mackerras 2005-10-10  355   stw r12,RESULT(r1)
5d38902c483881 Benjamin Herrenschmidt 2009-06-17  356  #ifdef 
CONFIG_TRACE_IRQFLAGS
40530db7c65611 Christophe Leroy   2019-04-30  357   /* Make sure interrupts 
are enabled */
5d38902c483881 Benjamin Herrenschmidt 2009-06-17  358   mfmsr   r11
5d38902c483881 Benjamin Herrenschmidt 2009-06-17  359   andi.   r12,r11,MSR_EE
40530db7c65611 Christophe Leroy   2019-04-30  360   /* We came in with 
interrupts disabled, we WARN and mark them enabled
40530db7c65611 Christophe Leroy   2019-04-30  361* for lockdep now */
40530db7c65611 Christophe Leroy   2019-04-30  362  0:   tweqi   r12, 0
40530db7c65611 Christophe Leroy   2019-04-30  363   EMIT_BUG_ENTRY 
0b,__FILE__,__LINE__, BUGFLAG_WARNING
5d38902c483881 Benjamin Herrenschmidt 2009-06-17  364  #endif /* 
CONFIG_TRACE_IRQFLAGS */
f7354ccac844da Christophe Leroy   2019-01-31  365   lwz r11,TI_FLAGS(r2)
10ea834364c867 Michael Ellerman   2015-01-15  366   andi.   
r11,r11,_TIF_SYSCALL_DOTRACE
9994a33865f4d5 Paul Mackerras 2005-10-10  367   bne-syscall_dotrace
9994a33865f4d5 Paul Mackerras 2005-10-10  368  syscall_dotrace_cont:
9994a33865f4d5 Paul Mackerras 2005-10-10  369   cmplwi  0,r0,NR_syscalls
9994a33865f4d5 Paul Mackerras 2005-10-10  370   lis 
r10,sys_call_table@h
9994a33865f4d5 Paul Mackerras 2005-10-10  371   ori 
r10,r10,sys_call_table@l
9994a33865f4d5 Paul Mackerras 2005-10-10  372   slwir0,r0,2
9994a33865f4d5 Paul Mackerras 2005-10-10  373   bge-66f
c28218d4abbf4f Diana Craciun  2018-07-28  374  
c28218d4abbf4f Diana Craciun  2018-07-28  375   barrier_nospec_asm
c28218d4abbf4f Diana Craciun  2018-07-28  376   /*
c28218d4abbf4f Diana Craciun  2018-07-28  377* Prevent the load of 
the handler below (based on the user-passed
c28218d4abbf4f Diana Craciun  2018-07-28  378* system call number) 
being speculatively executed until the test
c28218d4abbf4f Diana Craciun  2018-07-28  379* against NR_syscalls 
and branch to .66f above has
c28218d4abbf4f Diana Craciun  2018-07-28  380* committed.
c28218d4abbf4f Diana Craciun  2018-07-28  381*/
c28218d4abbf4f Diana Craciun  2018-07-28  382  
9994a33865f4d5 Paul Mackerras 2005-10-10  383   lwzxr10,r10,r0  
/* Fetch system call handler [ptr] */
9994a33865f4d5 Paul Mackerras 2005-10-10  384   mtlrr10
9994a33865f4d5 Paul Mackerras 2005-10-10  385   addi
r9,r1,STACK_FRAME_OVERHEAD
9994a33865f4d5 Paul Mackerras 2005-10-10  386   PPC440EP_ERR42
9994a33865f4d5 Paul Mackerras 2005-10-10  38

[tip:ras/core] BUILD SUCCESS 45811ba140593e288a288c2a2e45d25f38d20d73

2020-05-28 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
ras/core
branch HEAD: 45811ba140593e288a288c2a2e45d25f38d20d73  x86/mce/dev-mcelog: Fix 
-Wstringop-truncation warning about strncpy()

elapsed time: 2010m

configs tested: 100
configs skipped: 5

The following configs have been built successfully.
More configs may be tested in the coming days.

arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
xtensa virt_defconfig
arm   milbeaut_m10v_defconfig
arm  lpd270_defconfig
openrisc alldefconfig
mips  malta_kvm_defconfig
arm rpc_defconfig
arm assabet_defconfig
armmulti_v5_defconfig
arm  simpad_defconfig
m68kmac_defconfig
arc nsimosci_hs_defconfig
armmvebu_v5_defconfig
arcnsim_700_defconfig
armmvebu_v7_defconfig
mips  maltaaprp_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a013-20200529
i386 randconfig-a011-20200529
i386 randconfig-a012-20200529
i386 randconfig-a015-20200529
i386 randconfig-a016-20200529
i386 randconfig-a014-20200529
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390  allnoconfig
s390defconfig
s390 allyesconfig
s390 allmodconfig
sparcallyesconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
umallnoconfig
um   allyesconfig
um  defconfig
um   allmodconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

---
0-DAY CI Kernel Test 

[tip:sched/urgent] BUILD SUCCESS 18f855e574d9799a0e7489f8ae6fd8447d0dd74a

2020-05-28 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
sched/urgent
branch HEAD: 18f855e574d9799a0e7489f8ae6fd8447d0dd74a  sched/fair: Don't NUMA 
balance for kthreads

elapsed time: 3598m

configs tested: 115
configs skipped: 3

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mipsmalta_kvm_guest_defconfig
arm socfpga_defconfig
nds32 allnoconfig
mips  malta_defconfig
arc  alldefconfig
arm orion5x_defconfig
arc nsimosci_hs_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64defconfig
ia64  allnoconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa  defconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
i386 randconfig-a001-20200527
i386 randconfig-a004-20200527
i386 randconfig-a003-20200527
i386 randconfig-a006-20200527
i386 randconfig-a002-20200527
i386 randconfig-a005-20200527
x86_64   randconfig-a013-20200528
x86_64   randconfig-a015-20200528
x86_64   randconfig-a012-20200528
x86_64   randconfig-a016-20200528
x86_64   randconfig-a014-20200528
x86_64   randconfig-a011-20200528
i386 randconfig-a013-20200527
i386 randconfig-a015-20200527
i386 randconfig-a012-20200527
i386 randconfig-a011-20200527
i386 randconfig-a016-20200527
i386 randconfig-a014-20200527
i386 randconfig-a013-20200528
i386 randconfig-a011-20200528
i386 randconfig-a012-20200528
i386 randconfig-a015-20200528
i386 randconfig-a016-20200528
i386 randconfig-a014-20200528
x86_64   randconfig-a006-20200527
x86_64   randconfig-a002-20200527
x86_64   randconfig-a005-20200527
x86_64   randconfig-a003-20200527
x86_64   randconfig-a004-20200527
x86_64   randconfig-a001-20200527
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390  allnoconfig
s390defconfig
s390 allyesconfig
s390 allmodconfig
sparcallyesconfig
sparc   defconfig
sparc64 

[tip:x86/apic] BUILD SUCCESS de308d1815c9e8fe602a958c5c76142ff6501d75

2020-05-28 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
x86/apic
branch HEAD: de308d1815c9e8fe602a958c5c76142ff6501d75  x86/apic: Make TSC 
deadline timer detection message visible

elapsed time: 3986m

configs tested: 127
configs skipped: 81

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mipsmalta_kvm_guest_defconfig
arm socfpga_defconfig
nds32 allnoconfig
mips  malta_defconfig
arc  alldefconfig
arm orion5x_defconfig
xtensa virt_defconfig
arm   milbeaut_m10v_defconfig
arm  lpd270_defconfig
armmvebu_v5_defconfig
arcnsim_700_defconfig
armmvebu_v7_defconfig
mips  maltaaprp_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64defconfig
ia64  allnoconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa  defconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
arc defconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
arc  allyesconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
x86_64   randconfig-a006-20200527
x86_64   randconfig-a002-20200527
x86_64   randconfig-a005-20200527
x86_64   randconfig-a003-20200527
x86_64   randconfig-a004-20200527
x86_64   randconfig-a001-20200527
i386 randconfig-a001-20200527
i386 randconfig-a004-20200527
i386 randconfig-a003-20200527
i386 randconfig-a006-20200527
i386 randconfig-a002-20200527
i386 randconfig-a005-20200527
i386 randconfig-a004-20200528
i386 randconfig-a001-20200528
i386 randconfig-a002-20200528
i386 randconfig-a006-20200528
i386 randconfig-a003-20200528
i386 randconfig-a005-20200528
x86_64   randconfig-a013-20200528
x86_64   randconfig-a015-20200528
x86_64   randconfig-a012-20200528
x86_64   randconfig-a016-20200528
x86_64   randconfig-a014-20200528
x86_64   randconfig-a011-20200528
i386 randconfig-a013-20200527
i386 randconfig-a015-20200527
i386 randconfig-a012-20200527
i386 randconfig-a011-20200527
i386 randconfig-a016-20200527
i386 randconfig-a014-20200527
i386 randconfig-a013-20200528
i386 randconfig-a011-20200528
i386 randconfig-a012-20200528
i386 randconfig-a015-20200528
i386 

[tip:x86/platform] BUILD SUCCESS 33649bf4494c1feaf1956a84895fcc0621aafd90

2020-05-28 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
x86/platform
branch HEAD: 33649bf4494c1feaf1956a84895fcc0621aafd90  x86/apic/uv: Remove code 
for unused distributed GRU mode

elapsed time: 7541m

configs tested: 138
configs skipped: 76

The following configs have been built successfully.
More configs may be tested in the coming days.

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
xtensa virt_defconfig
arm   milbeaut_m10v_defconfig
arm  lpd270_defconfig
armmvebu_v5_defconfig
arcnsim_700_defconfig
armmvebu_v7_defconfig
mips  maltaaprp_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64defconfig
ia64  allnoconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
powerpc defconfig
x86_64   randconfig-a006-20200527
x86_64   randconfig-a002-20200527
x86_64   randconfig-a005-20200527
x86_64   randconfig-a003-20200527
x86_64   randconfig-a004-20200527
x86_64   randconfig-a001-20200527
i386 randconfig-a001-20200526
i386 randconfig-a004-20200526
i386 randconfig-a003-20200526
i386 randconfig-a002-20200526
i386 randconfig-a005-20200526
i386 randconfig-a001-20200527
i386 randconfig-a004-20200527
i386 randconfig-a003-20200527
i386 randconfig-a006-20200527
i386 randconfig-a002-20200527
i386 randconfig-a005-20200527
i386 randconfig-a004-20200528
i386 randconfig-a001-20200528
i386 randconfig-a002-20200528
i386 randconfig-a006-20200528
i386 randconfig-a003-20200528
i386 randconfig-a005-20200528
x86_64   randconfig-a015-20200526
x86_64   randconfig-a013-20200526
x86_64   randconfig-a016-20200526
x86_64   randconfig-a012-20200526
x86_64   randconfig-a014-20200526
x86_64   randconfig-a011-20200526
x86_64   randconfig-a013-20200528
x86_64   randconfig-a015-20200528
x86_64   randconfig-a012-20200528
x86_64   randconfig-a016-20200528
x86_64   randconfig-a014-20200528
x86_64   randconfig-a011-20200528
i386 randconfig-a013-20200527
i386 randconfig-a015-20200527
i386 randconfig-a012-20200527
i386 randconfig-a011-20200527
i386 

lib/crypto/curve25519-fiat32.c:111 fe_freeze() warn: inconsistent indenting

2020-05-28 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   75caf310d16cc5e2f851c048cd597f5437013368
commit: 0ed42a6f431e930b2e8fae21955406e09fe75d70 crypto: curve25519 - generic C 
library implementations
date:   6 months ago
config: i386-randconfig-m021-20200528 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot 

New smatch warnings:
lib/crypto/curve25519-fiat32.c:111 fe_freeze() warn: inconsistent indenting

Old smatch warnings:
lib/crypto/curve25519-fiat32.c:229 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:230 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:231 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:232 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:233 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:234 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:235 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:236 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:237 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:238 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:239 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:240 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:241 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:242 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:243 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:244 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:245 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:246 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:247 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:248 fe_add_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:272 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:273 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:274 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:275 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:276 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:277 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:278 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:279 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:280 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:281 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:282 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:283 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:284 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:285 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:286 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:287 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:288 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:289 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:290 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:291 fe_sub_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:315 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:316 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:317 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:318 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:319 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:320 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:321 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:322 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:323 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:324 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:325 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:326 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:327 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:328 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:329 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:330 fe_mul_impl() warn: inconsistent indenting
lib/crypto/curve25519-fiat32.c:331 fe_mul_impl() warn

  1   2   3   4   5   6   7   8   9   10   >