arch/x86/events/intel/uncore_snbep.o: warning: objtool: snbep_uncore_msr_enable_event()+0x2e: function has unreachable instruction

2016-07-19 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: 3b94a891667c30fb4624221497d77fc65d950345 perf/x86/intel/uncore: Remove 
SBOX support for Broadwell server
date:   7 weeks ago
config: x86_64-randconfig-s0-07191857 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 3b94a891667c30fb4624221497d77fc65d950345
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> arch/x86/events/intel/uncore_snbep.o: warning: objtool: 
>> snbep_uncore_msr_enable_event()+0x2e: function has unreachable instruction

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v5 3/3] arm: dts: mt2701: Add auxadc node.

2016-07-21 Thread kbuild test robot
Hi,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.7-rc7 next-20160721]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Zhiyong-Tao/AUXADC-Mediatek-auxadc-driver/20160722-041141
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/mt2701.dtsi:145.22-23 syntax error
   FATAL ERROR: Unable to parse input tree

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/2] pcie-designware: add iATU Unroll feature

2016-07-21 Thread kbuild test robot
Hi,

[auto build test ERROR on v4.7-rc7]
[also build test ERROR on next-20160721]
[cannot apply to pci/next]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Joao-Pinto/pcie-designware-add-iATU-Unroll-feature/20160722-055500
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
   drivers/pci/host/pcie-designware.c:180:28: sparse: typename in expression
   drivers/pci/host/pcie-designware.c:180:28: sparse: Expected ) at end of cast 
operator
   drivers/pci/host/pcie-designware.c:180:28: sparse: got <<
   drivers/pci/host/pcie-designware.c:181:14: sparse: Expected ; at end of 
statement
   drivers/pci/host/pcie-designware.c:181:14: sparse: got if
   drivers/pci/host/pcie-designware.c:196:28: sparse: typename in expression
   drivers/pci/host/pcie-designware.c:196:28: sparse: Expected ) at end of cast 
operator
   drivers/pci/host/pcie-designware.c:196:28: sparse: got <<
   drivers/pci/host/pcie-designware.c:197:14: sparse: Expected ; at end of 
statement
   drivers/pci/host/pcie-designware.c:197:14: sparse: got if
>> /bin/bash: line 1: 229099 Segmentation fault  sparse -D__linux__ -Dlinux 
>> -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ 
>> -D__x86_64__ -m64 -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include 
>> -Wp,-MD,drivers/pci/host/.pcie-designware.o.d -nostdinc -isystem 
>> /usr/lib/gcc/x86_64-linux-gnu/6/include -Iarch/x86/include 
>> -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude 
>> -Iinclude -Iarch/x86/include/uapi -Iarch/x86/include/generated/uapi 
>> -Iinclude/uapi -Iinclude/generated/uapi -include include/linux/kconfig.h 
>> -Idrivers/pci/host -Idrivers/pci/host -D__KERNEL__ -Wall -Wundef 
>> -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
>> -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 
>> -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 
>> -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 
>> -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel 
>> -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI 
>> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 
>> -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 
>> -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 
>> -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare 
>> -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 
>> --param=allow-store-data-races=0 -fno-reorder-blocks -fno-ipa-cp-clone 
>> -fno-partial-inlining -Wframe-larger-than=8192 -fno-stack-protector 
>> -Wno-unused-but-set-variable -Wno-unused-const-variable 
>> -fno-omit-frame-pointer -fno-optimize-sibling-calls 
>> -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY 
>> -fno-inline-functions-called-once -Wdeclaration-after-statement 
>> -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int 
>> -Werror=strict-prototypes -Werror=date-time 
>> -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO 
>> -fsanitize=kernel-address -fasan-shadow-offset=0xdc00 --param 
>> asan-stack=1 --param asan-globals=1 --param 
>> asan-instrumentation-with-call-threshold=0 -fsanitize-coverage=trace-pc 
>> -DKBUILD_BASENAME='"pcie_designware"' -DKBUILD_MODNAME='"pcie_designware"' 
>> drivers/pci/host/pcie-designware.c

sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/pci/host/pcie-designware.c:180:28: sparse: typename in expression
   drivers/pci/host/pcie-designware.c:180:28: sparse: Expected ) at end of cast 
operator
   drivers/pci/host/pcie-designware.c:180:28: sparse: got <<
   drivers/pci/host/pcie-designware.c:181:14: sparse: Expected ; at end of 
statement
   drivers/pci/host/pcie-designware.c:181:14: sparse: got if
   drivers/pci/host/pcie-designware.c:196:28: sparse: typename in expression
   drivers/pci/host/pcie-designware.c:196:28: sparse: Expected ) at end of cast 
operator
   drivers/pci/host/pcie-designware.c:196:28: sparse: got <<
   drivers/pci/host/pcie-designware.c:197:14: sparse: Expected ; at end of 
statement
   drivers/pci/host/pcie-designware.c:197:14: sparse: got if
   /bin/bash: line 1: 229099 Segmentation fault  sparse -D__linux__ -Dlinux 
-D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ 
-D__x86_64__ -m64 -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include 
-Wp,-MD,drivers/pci/host/.pcie-designware.o.d -nostdinc -isystem 
/usr/lib/gcc/x86_64-linux-gnu/6/include -Iarch/x86/include 
-Iarch/x8

Re: [PATCH v3 2/2] pstore/ram: Set pstore flags dynamically

2016-07-21 Thread kbuild test robot
Hi,

[auto build test ERROR on ia64/next]
[also build test ERROR on v4.7-rc7]
[cannot apply to next-20160721]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Namhyung-Kim/pstore-Split-pstore-fragile-flags/20160722-060839
base:   https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git next
config: x86_64-randconfig-i0-201629 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   fs/pstore/ram.c: In function 'ramoops_probe':
>> fs/pstore/ram.c:543:6: error: 'ctx' undeclared (first use in this function)
 if (ctx->console_size)
 ^
   fs/pstore/ram.c:543:6: note: each undeclared identifier is reported only 
once for each function it appears in
>> fs/pstore/ram.c:544:24: error: 'PSTORE_FLAGS_CONOLE' undeclared (first use 
>> in this function)
  cxt->pstore.flags |= PSTORE_FLAGS_CONOLE;
   ^

vim +/ctx +543 fs/pstore/ram.c

   537  pr_err("cannot allocate pstore buffer\n");
   538  err = -ENOMEM;
   539  goto fail_clear;
   540  }
   541  
   542  cxt->pstore.flags = PSTORE_FLAGS_DMESG;
 > 543  if (ctx->console_size)
 > 544  cxt->pstore.flags |= PSTORE_FLAGS_CONOLE;
   545  if (ctx->ftrace_size)
   546  cxt->pstore.flags |= PSTORE_FLAGS_FTRACE;
   547  if (ctx->pmsg_size)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3 2/2] pstore/ram: Set pstore flags dynamically

2016-07-21 Thread kbuild test robot
Hi,

[auto build test WARNING on ia64/next]
[also build test WARNING on v4.7-rc7]
[cannot apply to next-20160721]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Namhyung-Kim/pstore-Split-pstore-fragile-flags/20160722-060839
base:   https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git next
config: i386-randconfig-x0-07220732 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:4:0,
from include/linux/kernel.h:6,
from fs/pstore/ram.c:25:
   fs/pstore/ram.c: In function 'ramoops_probe':
   fs/pstore/ram.c:543:6: error: 'ctx' undeclared (first use in this function)
 if (ctx->console_size)
 ^
   include/linux/compiler.h:151:30: note: in definition of macro '__trace_if'
 if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
 ^~~~
>> fs/pstore/ram.c:543:2: note: in expansion of macro 'if'
 if (ctx->console_size)
 ^~
   fs/pstore/ram.c:543:6: note: each undeclared identifier is reported only 
once for each function it appears in
 if (ctx->console_size)
 ^
   include/linux/compiler.h:151:30: note: in definition of macro '__trace_if'
 if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
 ^~~~
>> fs/pstore/ram.c:543:2: note: in expansion of macro 'if'
 if (ctx->console_size)
 ^~
   fs/pstore/ram.c:544:24: error: 'PSTORE_FLAGS_CONOLE' undeclared (first use 
in this function)
  cxt->pstore.flags |= PSTORE_FLAGS_CONOLE;
   ^~~

vim +/if +543 fs/pstore/ram.c

   527   * have to handle dumps, we must have at least record_size 
buffer. And
   528   * for ftrace, bufsize is irrelevant (if bufsize is 0, buf will 
be
   529   * ZERO_SIZE_PTR).
   530   */
   531  if (cxt->console_size)
   532  cxt->pstore.bufsize = 1024; /* LOG_LINE_MAX */
   533  cxt->pstore.bufsize = max(cxt->record_size, 
cxt->pstore.bufsize);
   534  cxt->pstore.buf = kmalloc(cxt->pstore.bufsize, GFP_KERNEL);
   535  spin_lock_init(&cxt->pstore.buf_lock);
   536  if (!cxt->pstore.buf) {
   537  pr_err("cannot allocate pstore buffer\n");
   538  err = -ENOMEM;
   539  goto fail_clear;
   540  }
   541  
   542  cxt->pstore.flags = PSTORE_FLAGS_DMESG;
 > 543  if (ctx->console_size)
   544  cxt->pstore.flags |= PSTORE_FLAGS_CONOLE;
   545  if (ctx->ftrace_size)
   546  cxt->pstore.flags |= PSTORE_FLAGS_FTRACE;
   547  if (ctx->pmsg_size)
   548  cxt->pstore.flags |= PSTORE_FLAGS_PMSG;
   549  
   550  err = pstore_register(&cxt->pstore);
   551  if (err) {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] powernv: Use __printf in pe_level_printk

2016-07-21 Thread kbuild test robot
Hi,

[auto build test ERROR on v4.7-rc7]
[also build test ERROR on next-20160721]
[cannot apply to powerpc/next]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Joe-Perches/powernv-Use-__printf-in-pe_level_printk/20160715-171449
config: powerpc-ppc64_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   In file included from arch/powerpc/platforms/powernv/pci-ioda.c:49:0:
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_ioda_setup_bus_PE':
>> arch/powerpc/platforms/powernv/pci-ioda.c:1067:15: error: format '%d' 
>> expects argument of type 'int', but argument 4 has type 'resource_size_t 
>> {aka long long unsigned int}' [-Werror=format=]
  pe_info(pe, "Secondary bus %d..%d associated with PE#%d\n",
  ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c:1067:15: error: format '%d' 
expects argument of type 'int', but argument 5 has type 'resource_size_t {aka 
long long unsigned int}' [-Werror=format=]
  pe_info(pe, "Secondary bus %d..%d associated with PE#%d\n",
  ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c:1070:15: error: format '%d' 
expects argument of type 'int', but argument 4 has type 'resource_size_t {aka 
long long unsigned int}' [-Werror=format=]
  pe_info(pe, "Secondary bus %d associated with PE#%d\n",
  ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_pci_ioda1_setup_dma_pe':
>> arch/powerpc/platforms/powernv/pci-ioda.c:2100:15: error: format '%ld' 
>> expects argument of type 'long int', but argument 4 has type 'int64_t {aka 
>> long long int}' [-Werror=format=]
   pe_err(pe, " Failed to configure 32-bit TCE table,"
  ^
   arch/powerpc/platforms/powernv/pci.h:220:32: note: in definition of macro 
'pe_err'
 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
   ^
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_pci_ioda2_set_window':
>> arch/powerpc/platforms/powernv/pci-ioda.c:2160:14: error: format '%x' 
>> expects argument of type 'unsigned int', but argument 7 has type 'long 
>> unsigned int' [-Werror=format=]
 pe_info(pe, "Setting up window#%d %llx..%llx pg=%x\n", num,
 ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c:2176:14: error: format '%ld' 
expects argument of type 'long int', but argument 4 has type 'int64_t {aka long 
long int}' [-Werror=format=]
  pe_err(pe, "Failed to configure TCE table, err %ld\n", rc);
 ^
   arch/powerpc/platforms/powernv/pci.h:220:32: note: in definition of macro 
'pe_err'
 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
   ^
   cc1: all warnings being treated as errors

vim +1067 arch/powerpc/platforms/powernv/pci-ioda.c

184cd4a3 Benjamin Herrenschmidt 2011-11-15  1061pe->pbus = bus;
184cd4a3 Benjamin Herrenschmidt 2011-11-15  1062pe->pdev = NULL;
184cd4a3 Benjamin Herrenschmidt 2011-11-15  1063pe->mve_number = -1;
b918c62e Yinghai Lu 2012-05-17  1064pe->rid = 
bus->busn_res.start << 8;
184cd4a3 Benjamin Herrenschmidt 2011-11-15  1065  
fb446ad0 Gavin Shan 2012-08-20  1066if (all)
fb446ad0 Gavin Shan 2012-08-20 @1067pe_info(pe, 
"Secondary bus %d..%d associated with PE#%d\n",
1e916772 Gavin Shan 2016-05-03  1068
bus->busn_res.start, bus->busn_res.end, pe->pe_number);
fb446ad0 Gavin Shan 2012-08-20  1069else
fb446ad0 Gavin Shan 2012-08-20 @1070pe_info(pe, 
"Secondary bus %d associated with PE#%d\n",
1e916772 Gavin Shan 2016-05-03  1071
bus->busn_res.start, pe->pe_number);
184cd4a3 Benjamin Herrenschmidt 2011-11-15  1072  
184cd4a3 Benjamin Herrenschmidt 2011-11-15  1073   

Re: [PATCH 7/7] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms

2016-07-21 Thread kbuild test robot
Hi,

[auto build test WARNING on stable/master]
[also build test WARNING on v4.7-rc7]
[cannot apply to next-20160721]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/John-Stultz/K3DMA-fixes-for-HiKey-HDMI-audio/20160722-042725
base:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 
master
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:289:0,
from include/linux/kernel.h:13,
from include/linux/sched.h:17,
from drivers/dma/k3dma.c:9:
   drivers/dma/k3dma.c: In function 'k3_dma_prep_dma_cyclic':
>> drivers/dma/k3dma.c:589:19: warning: cast to pointer from integer of 
>> different size [-Wint-to-pointer-cast]
__func__, (void *)buf_addr, (void *)to_k3_chan(chan)->dev_addr,
  ^
   include/linux/dynamic_debug.h:87:9: note: in definition of macro 
'dynamic_dev_dbg'
  ##__VA_ARGS__);  \
^
>> drivers/dma/k3dma.c:588:2: note: in expansion of macro 'dev_dbg'
 dev_dbg(chan->device->dev, "%s: buf %p, dst %p, buf len %d, period_len = 
%d, dir %d\n",
 ^
   drivers/dma/k3dma.c:589:37: warning: cast to pointer from integer of 
different size [-Wint-to-pointer-cast]
__func__, (void *)buf_addr, (void *)to_k3_chan(chan)->dev_addr,
^
   include/linux/dynamic_debug.h:87:9: note: in definition of macro 
'dynamic_dev_dbg'
  ##__VA_ARGS__);  \
^
>> drivers/dma/k3dma.c:588:2: note: in expansion of macro 'dev_dbg'
 dev_dbg(chan->device->dev, "%s: buf %p, dst %p, buf len %d, period_len = 
%d, dir %d\n",
 ^

vim +589 drivers/dma/k3dma.c

286eb549 Andy Green 2016-07-20  582 size_t len, avail, total = 0;
286eb549 Andy Green 2016-07-20  583 dma_addr_t addr, src = 0, dst = 0;
286eb549 Andy Green 2016-07-20  584 int num = 1, since = 0;
286eb549 Andy Green 2016-07-20  585 size_t modulo = DMA_CYCLIC_MAX_PERIOD;
286eb549 Andy Green 2016-07-20  586 u32 en_tc2 = 0;
286eb549 Andy Green 2016-07-20  587  
286eb549 Andy Green 2016-07-20 @588 dev_dbg(chan->device->dev, "%s: buf %p, 
dst %p, buf len %d, period_len = %d, dir %d\n",
286eb549 Andy Green 2016-07-20 @589__func__, (void *)buf_addr, 
(void *)to_k3_chan(chan)->dev_addr,
286eb549 Andy Green 2016-07-20  590(int)buf_len, (int)period_len, 
(int)dir);
286eb549 Andy Green 2016-07-20  591  
286eb549 Andy Green 2016-07-20  592 avail = buf_len;

:: The code at line 589 was first introduced by commit
:: 286eb549d997ae9e214f367d2a1269c9f42ab515 k3dma: Add cyclic mode for audio

:: TO: Andy Green 
:: CC: 0day robot 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] powernv: Use __printf in pe_level_printk

2016-07-22 Thread kbuild test robot
Hi,

[auto build test WARNING on v4.7-rc7]
[also build test WARNING on next-20160721]
[cannot apply to powerpc/next]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Joe-Perches/powernv-Use-__printf-in-pe_level_printk/20160715-171449
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All warnings (new ones prefixed by >>):

   In file included from arch/powerpc/platforms/powernv/pci-ioda.c:49:0:
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_ioda_deconfigure_pe':
>> arch/powerpc/platforms/powernv/pci-ioda.c:784:15: warning: format '%ld' 
>> expects argument of type 'long int', but argument 4 has type 'int64_t {aka 
>> long long int}' [-Wformat=]
  pe_warn(pe, "OPAL error %ld remove self from PELTV\n", rc);
  ^
   arch/powerpc/platforms/powernv/pci.h:222:36: note: in definition of macro 
'pe_warn'
 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
   ^
   arch/powerpc/platforms/powernv/pci-ioda.c:788:14: warning: format '%ld' 
expects argument of type 'long int', but argument 4 has type 'int64_t {aka long 
long int}' [-Wformat=]
  pe_err(pe, "OPAL error %ld trying to setup PELT table\n", rc);
 ^
   arch/powerpc/platforms/powernv/pci.h:220:32: note: in definition of macro 
'pe_err'
 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
   ^
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_ioda_setup_bus_PE':
>> arch/powerpc/platforms/powernv/pci-ioda.c:1067:15: warning: format '%d' 
>> expects argument of type 'int', but argument 4 has type 'resource_size_t 
>> {aka long long unsigned int}' [-Wformat=]
  pe_info(pe, "Secondary bus %d..%d associated with PE#%d\n",
  ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c:1067:15: warning: format '%d' 
expects argument of type 'int', but argument 5 has type 'resource_size_t {aka 
long long unsigned int}' [-Wformat=]
  pe_info(pe, "Secondary bus %d..%d associated with PE#%d\n",
  ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c:1070:15: warning: format '%d' 
expects argument of type 'int', but argument 4 has type 'resource_size_t {aka 
long long unsigned int}' [-Wformat=]
  pe_info(pe, "Secondary bus %d associated with PE#%d\n",
  ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_pci_ioda2_release_dma_pe':
   arch/powerpc/platforms/powernv/pci-ioda.c:1358:15: warning: format '%ld' 
expects argument of type 'long int', but argument 4 has type 'int64_t {aka long 
long int}' [-Wformat=]
  pe_warn(pe, "OPAL error %ld release DMA window\n", rc);
  ^
   arch/powerpc/platforms/powernv/pci.h:222:36: note: in definition of macro 
'pe_warn'
 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
   ^
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_pci_ioda1_setup_dma_pe':
   arch/powerpc/platforms/powernv/pci-ioda.c:2100:15: warning: format '%ld' 
expects argument of type 'long int', but argument 4 has type 'int64_t {aka long 
long int}' [-Wformat=]
   pe_err(pe, " Failed to configure 32-bit TCE table,"
  ^
   arch/powerpc/platforms/powernv/pci.h:220:32: note: in definition of macro 
'pe_err'
 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
   ^
   arch/powerpc/platforms/powernv/pci-ioda.c: In function 
'pnv_pci_ioda2_set_window':
>> arch/powerpc/platforms/powernv/pci-ioda.c:2160:14: warning: format '%x' 
>> expects argument of type 'unsigned int', but argument 7 has type 'long 
>> unsigned int' [-Wformat=]
 pe_info(pe, "Setting up window#%d %llx..%llx pg=%x\n", num,
 ^
   arch/powerpc/platforms/powernv/pci.h:224:33: note: in definition of macro 
'pe_info'
 pe_level_printk(pe, KERN_INFO, fmt, ##__VA_ARGS__)
^
   arch/powerpc/platforms/powernv/pci-ioda.c:2176:14: warning: format '%ld' 
expects argument of type 'long int', b

arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction

2016-07-22 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: 9da8320bb97768e35f2e64fa7642015271d672eb xtensa: add test_kc705_hifi 
variant
date:   4 months ago
config: xtensa-audio_kc705_defconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9da8320bb97768e35f2e64fa7642015271d672eb
# save the attached .config to linux build tree
make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   arch/xtensa/include/asm/initialize_mmu.h: Assembler messages:
>> arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 
>> 'atomctl' for 'wsr' instruction
--
   arch/xtensa/kernel/coprocessor.S: Assembler messages:
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'rur.ae_ovf_sar'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'rur.ae_bithead'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'rur.ae_ts_fts_bu_bp'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'rur.ae_cw_sd_no'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'rur.ae_cbegin0'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'rur.ae_cend0'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'
>> arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 
>> 'ae_s64.i'

vim +55 arch/xtensa/include/asm/initialize_mmu.h

6cb97111 Baruch Siach 2013-12-29  39  
c622b29d Max Filippov 2012-11-19  40  #ifdef __ASSEMBLY__
c622b29d Max Filippov 2012-11-19  41  
c622b29d Max Filippov 2012-11-19  42  #define XTENSA_HWVERSION_RC_2009_0 23
c622b29d Max Filippov 2012-11-19  43  
c622b29d Max Filippov 2012-11-19  44.macro  initialize_mmu
c622b29d Max Filippov 2012-11-19  45  
c622b29d Max Filippov 2012-11-19  46  #if XCHAL_HAVE_S32C1I && 
(XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
c622b29d Max Filippov 2012-11-19  47  /*
c622b29d Max Filippov 2012-11-19  48   * We Have Atomic Operation Control 
(ATOMCTL) Register; Initialize it.
c622b29d Max Filippov 2012-11-19  49   * For details see 
Documentation/xtensa/atomctl.txt
c622b29d Max Filippov 2012-11-19  50   */
c622b29d Max Filippov 2012-11-19  51  #if XCHAL_DCACHE_IS_COHERENT
c622b29d Max Filippov 2012-11-19  52movia3, 0x25/* For SMP/MX 
-- internal for writeback,
c622b29d Max Filippov 2012-11-19  53 * RCW otherwise
c622b29d Max Filippov 2012-11-19  54 */
c622b29d Max Filippov 2012-11-19 @55  #else
c622b29d Max Filippov 2012-11-19  56movia3, 0x29/* non-MX -- 
Most cores use Std Memory
c622b29d Max Filippov 2012-11-19  57 * Controlers 
which usually can't use RCW
c622b29d Max Filippov 2012-11-19  58 */
c622b29d Max Filippov 2012-11-19  59  #endif
c622b29d Max Filippov 2012-11-19  60wsr a3, atomctl
c622b29d Max Filippov 2012-11-19  61  #endif  /* XCHAL_HAVE_S32C1I &&
c622b29d Max Filippov 2012-11-19  62 * (XCHAL_HW_MIN_VERSION >= 
XTENSA_HWVERSION_RC_2009_0)
c622b29d Max Filippov 2012-11-19  63 */

:: The code at line 55 was first introduced by commit
:: c622b29d1f38021411965b7e0170ab01b257 xtensa: initialize atomctl SR

:: TO: Max Filippov 
:: CC: Chris Zankel 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binar

mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'

2016-07-22 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: c1a0e9bc885d46e519fd87d35af6a7937abfb986 MIPS: Allow compact branch 
policy to be changed
date:   9 months ago
config: mips-malta_qemu_32r6_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c1a0e9bc885d46e519fd87d35af6a7937abfb986
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> mipsel-linux-gnu-gcc: error: unrecognized command line option 
>> '-mcompact-branches=optimal'
>> mipsel-linux-gnu-gcc: error: unrecognized command line option 
>> '-mcompact-branches=optimal'
   make[2]: *** [kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] PM / OPP: optimize dev_pm_opp_set_rate() a bit

2016-07-22 Thread kbuild test robot
Hi,

[auto build test WARNING on pm/linux-next]
[also build test WARNING on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Jisheng-Zhang/PM-OPP-optimize-dev_pm_opp_set_rate-a-bit/20160722-205339
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   drivers/base/power/opp/core.c: In function 'dev_pm_opp_set_rate':
>> drivers/base/power/opp/core.c:666:3: warning: 'ou_volt_max' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]
  _set_opp_voltage(dev, reg, ou_volt, ou_volt_min, ou_volt_max);
  ^
>> drivers/base/power/opp/core.c:666:3: warning: 'ou_volt_min' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]
>> drivers/base/power/opp/core.c:666:3: warning: 'ou_volt' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]

vim +/ou_volt_max +666 drivers/base/power/opp/core.c

6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  650 if 
(freq < old_freq) {
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  651 
ret = _set_opp_voltage(dev, reg, u_volt, u_volt_min,
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  652 
   u_volt_max);
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  653 
if (ret)
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  654 
goto restore_freq;
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  655 }
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  656  
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  657 return 
0;
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  658  
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  659  
restore_freq:
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  660 if 
(clk_set_rate(clk, old_freq))
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  661 
dev_err(dev, "%s: failed to restore old-freq (%lu Hz)\n",
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  662 
__func__, old_freq);
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  663  
restore_voltage:
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  664 /* This 
shouldn't harm even if the voltages weren't updated earlier */
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  665 if 
(!IS_ERR(old_opp))
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09 @666 
_set_opp_voltage(dev, reg, ou_volt, ou_volt_min, ou_volt_max);
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  667  
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  668 return 
ret;
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  669  }
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  670  
EXPORT_SYMBOL_GPL(dev_pm_opp_set_rate);
6a0712f6 drivers/base/power/opp/core.c Viresh Kumar 2016-02-09  671  
2c2709dc drivers/base/power/opp/core.c Viresh Kumar 2016-02-16  672  /* OPP-dev 
Helpers */
2c2709dc drivers/base/power/opp/core.c Viresh Kumar 2016-02-16  673  static 
void _kfree_opp_dev_rcu(struct rcu_head *head)
06441658 drivers/base/power/opp.c  Viresh Kumar 2015-07-29  674  {

:: The code at line 666 was first introduced by commit
:: 6a0712f6f199e737aa5913d28ec4bd3a25de9660 PM / OPP: Add 
dev_pm_opp_set_rate()

:: TO: Viresh Kumar 
:: CC: Rafael J. Wysocki 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 30/58] staging: lustre: create striped directory

2016-07-22 Thread kbuild test robot
Hi,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20160722]
[cannot apply to v4.7-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/James-Simmons/staging-lustre-bug-fixes-from-lustre-2-5-56-58/20160722-145652
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

>> ERROR: "__umoddi3" [drivers/staging/lustre/lustre/lmv/lmv.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/3] net: ethernet: ti: cpdma: fix lockup in cpdma_ctlr_destroy()

2016-07-22 Thread kbuild test robot
Hi,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Grygorii-Strashko/drivers-net-cpsw-fix-driver-loading-unloading/20160722-221708
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/ti/davinci_cpdma.c: In function 'cpdma_ctlr_destroy':
>> drivers/net/ethernet/ti/davinci_cpdma.c:433:16: warning: unused variable 
>> 'flags' [-Wunused-variable]
 unsigned long flags;
   ^

vim +/flags +433 drivers/net/ethernet/ti/davinci_cpdma.c

ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
417   dma_reg_read(ctlr, CPDMA_DMASTATUS));
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
418  dev_info(dev, "CPDMA: rxbuffofs: %x",
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
419   dma_reg_read(ctlr, CPDMA_RXBUFFOFS));
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
420  }
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
421  
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
422  for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
423  if (ctlr->channels[i])
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
424  cpdma_chan_dump(ctlr->channels[i]);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
425  
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
426  spin_unlock_irqrestore(&ctlr->lock, flags);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
427  return 0;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
428  }
32a6d90b drivers/net/ethernet/ti/davinci_cpdma.c Arnd Bergmann 2012-04-20  
429  EXPORT_SYMBOL_GPL(cpdma_ctlr_dump);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
430  
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
431  int cpdma_ctlr_destroy(struct cpdma_ctlr *ctlr)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
432  {
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 
@433  unsigned long flags;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
434  int ret = 0, i;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
435  
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
436  if (!ctlr)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
437  return -EINVAL;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
438  
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
439  if (ctlr->state != CPDMA_STATE_IDLE)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
440  cpdma_ctlr_stop(ctlr);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15  
441  

:: The code at line 433 was first introduced by commit
:: ef8c2dab01b6e30c4b2ca3ea3b8db33430493589 net: davinci_emac: separate out 
cpdma code

:: TO: Cyril Chemparathy 
:: CC: Kevin Hilman 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-07-22 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation 
of a VDSO
date:   8 months ago
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ebb5e78cc63417a35254a791de66e1cc84f963cc
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
/*
^
--
>> arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
/*
^

vim +1 arch/mips/vdso/elf.S

   > 1  /*
 2   * Copyright (C) 2015 Imagination Technologies
 3   * Author: Alex Smith 
 4   *

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-07-22 Thread kbuild test robot
Hi,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error 
with binutils 2.24 and earlier
date:   7 months ago
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
/*
^

vim +1 arch/mips/vdso/gettimeofday.c

a7f4df4e Alex Smith 2015-10-21 @1  /*
a7f4df4e Alex Smith 2015-10-21  2   * Copyright (C) 2015 Imagination 
Technologies
a7f4df4e Alex Smith 2015-10-21  3   * Author: Alex Smith 
a7f4df4e Alex Smith 2015-10-21  4   *
a7f4df4e Alex Smith 2015-10-21  5   * This program is free software; you can 
redistribute it and/or modify it
a7f4df4e Alex Smith 2015-10-21  6   * under the terms of the GNU General Public 
License as published by the
a7f4df4e Alex Smith 2015-10-21  7   * Free Software Foundation;  either version 
2 of the  License, or (at your
a7f4df4e Alex Smith 2015-10-21  8   * option) any later version.
a7f4df4e Alex Smith 2015-10-21  9   */

:: The code at line 1 was first introduced by commit
:: a7f4df4e21dd8a8dab96e88acd2c9c5017b83fc6 MIPS: VDSO: Add implementations 
of gettimeofday() and clock_gettime()

:: TO: Alex Smith 
:: CC: Ralf Baechle 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-07-22 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation 
of a VDSO
date:   9 months ago
config: mips-decstation_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ebb5e78cc63417a35254a791de66e1cc84f963cc
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'
/*
^
--
>> arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3000' requires '-mfp32'
/*
^

vim +1 arch/mips/vdso/elf.S

   > 1  /*
 2   * Copyright (C) 2015 Imagination Technologies
 3   * Author: Alex Smith 
 4   *

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3 1/7] firmware: rockchip: sip: Add rockchip SIP runtime service

2016-07-22 Thread kbuild test robot
Hi,

[auto build test ERROR on next-20160722]
[also build test ERROR on v4.7-rc7]
[cannot apply to rockchip/for-next stable/master linux/master v4.7-rc7 v4.7-rc6 
v4.7-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Lin-Huang/rk3399-support-ddr-frequency-scaling/20160722-173343
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `sip_smc_ddr_init':
>> binder.c:(.text+0x279074): undefined reference to `__invoke_psci_fn_smc'
   drivers/built-in.o: In function `sip_smc_set_ddr_param':
   binder.c:(.text+0x2790ac): undefined reference to `__invoke_psci_fn_smc'
   drivers/built-in.o: In function `sip_smc_set_ddr_rate':
   binder.c:(.text+0x2790ec): undefined reference to `__invoke_psci_fn_smc'
   drivers/built-in.o: In function `sip_smc_get_ddr_rate':
   binder.c:(.text+0x279124): undefined reference to `__invoke_psci_fn_smc'
   drivers/built-in.o: In function `sip_smc_clr_ddr_irq':
   binder.c:(.text+0x279154): undefined reference to `__invoke_psci_fn_smc'
   drivers/built-in.o:binder.c:(.text+0x279184): more undefined references to 
`__invoke_psci_fn_smc' follow

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

2016-07-22 Thread kbuild test robot
Hi,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   47ef4ad2684d380dd6d596140fb79395115c3950
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error 
with binutils 2.24 and earlier
date:   7 months ago
config: mips-decstation_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'
/*
^

vim +1 arch/mips/vdso/gettimeofday.c

a7f4df4e Alex Smith 2015-10-21 @1  /*
a7f4df4e Alex Smith 2015-10-21  2   * Copyright (C) 2015 Imagination 
Technologies
a7f4df4e Alex Smith 2015-10-21  3   * Author: Alex Smith 
a7f4df4e Alex Smith 2015-10-21  4   *
a7f4df4e Alex Smith 2015-10-21  5   * This program is free software; you can 
redistribute it and/or modify it
a7f4df4e Alex Smith 2015-10-21  6   * under the terms of the GNU General Public 
License as published by the
a7f4df4e Alex Smith 2015-10-21  7   * Free Software Foundation;  either version 
2 of the  License, or (at your
a7f4df4e Alex Smith 2015-10-21  8   * option) any later version.
a7f4df4e Alex Smith 2015-10-21  9   */

:: The code at line 1 was first introduced by commit
:: a7f4df4e21dd8a8dab96e88acd2c9c5017b83fc6 MIPS: VDSO: Add implementations 
of gettimeofday() and clock_gettime()

:: TO: Alex Smith 
:: CC: Ralf Baechle 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


[tip:smp/hotplug 3/4] enlighten.c:undefined reference to `xen_smp_intr_free'

2016-07-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/hotplug
head:   484afa6961eb9409ea120b38397e6883696d8aa6
commit: 4c90758355117d2b6343ec6d0d37e10842ede11f [3/4] xen/x86: Move irq 
allocation from Xen smp_op.cpu_up()
config: x86_64-randconfig-s0-07230529 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 4c90758355117d2b6343ec6d0d37e10842ede11f
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/built-in.o: In function `xen_cpu_notify':
>> enlighten.c:(.text+0x11255): undefined reference to `xen_smp_intr_free'
>> enlighten.c:(.text+0x11285): undefined reference to `xen_smp_intr_init'
   enlighten.c:(.text+0x112b6): undefined reference to `xen_smp_intr_free'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH net-next v3] cdc_ether: Improve ZTE MF823/831/910 handling

2016-07-22 Thread kbuild test robot
Hi,

[auto build test WARNING on net-next/master]

url:
https://github.com/0day-ci/linux/commits/Kristian-Evensen/cdc_ether-Improve-ZTE-MF823-831-910-handling/20160723-093100
config: x86_64-randconfig-i0-201629 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/usb/cdc_ether.c: In function 'usbnet_cdc_zte_rx_fixup':
>> drivers/net/usb/cdc_ether.c:461:5: warning: unused variable 
>> 'buggy_hwaddrs_idx' [-Wunused-variable]
 u8 buggy_hwaddrs_idx = 0;
^
>> drivers/net/usb/cdc_ether.c:460:5: warning: unused variable 
>> 'num_buggy_hwaddrs' [-Wunused-variable]
 u8 num_buggy_hwaddrs;
^

vim +/buggy_hwaddrs_idx +461 drivers/net/usb/cdc_ether.c

   454   * device sends packets with a static, bogus, random MAC address (event 
if
   455   * device MAC address has been updated). Always set MAC address to that 
of the
   456   * device.
   457   */
   458  static int usbnet_cdc_zte_rx_fixup(struct usbnet *dev, struct sk_buff 
*skb)
   459  {
 > 460  u8 num_buggy_hwaddrs;
 > 461  u8 buggy_hwaddrs_idx = 0;
   462  
   463  if (skb->len < ETH_HLEN || !(skb->data[0] & 0x02))
   464  return 1;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2] iio: dac: ad5380: Fix probe failure when no external reference is supplied

2016-07-23 Thread kbuild test robot
Hi,

[auto build test WARNING on iio/togreg]
[also build test WARNING on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Pawe-Grudzi-ski/iio-dac-ad5380-Fix-probe-failure-when-no-external-reference-is-supplied/20160723-221946
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/iio/dac/ad5380.c: In function 'ad5380_probe':
>> drivers/iio/dac/ad5380.c:423:8: warning: assignment makes integer from 
>> pointer without a cast [-Wint-conversion]
   ret = st->vref_reg;
   ^

vim +423 drivers/iio/dac/ad5380.c

   407  if (ret) {
   408  dev_err(dev, "Failed to enable vref regulators: 
%d\n",
   409  ret);
   410  goto error_free_reg;
   411  }
   412  
   413  ret = regulator_get_voltage(st->vref_reg);
   414  if (ret < 0)
   415  goto error_disable_reg;
   416  
   417  st->vref = ret / 1000;
   418  } else {
   419  if (PTR_ERR(st->vref_reg) == -ENODEV) {
   420  st->vref = st->chip_info->int_vref;
   421  ctrl |= AD5380_CTRL_INT_VREF_EN;
   422  } else {
 > 423  ret = st->vref_reg;
   424  goto error_free_reg;
   425  }
   426  }
   427  
   428  ret = regmap_write(st->regmap, AD5380_REG_SF_CTRL, ctrl);
   429  if (ret) {
   430  dev_err(dev, "Failed to write to device: %d\n", ret);
   431  goto error_disable_reg;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3] virtio: new feature to detect IOMMU device quirk

2016-07-23 Thread kbuild test robot
Hi,

[auto build test WARNING on stable/master]
[also build test WARNING on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/virtio-new-feature-to-detect-IOMMU-device-quirk/20160724-030032
base:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 
master
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
   drivers/virtio/virtio_ring.c:1109:22: sparse: undefined identifier 
'VIRTIO_F_IOMMU_PASSTHROUGH'
   drivers/virtio/virtio_ring.c:1113:50: sparse: undefined identifier 
'VIRTIO_F_IOMMU_PASSTHROUGH'
>> drivers/virtio/virtio_ring.c:1109:22: sparse: incompatible types for 'case' 
>> statement
   drivers/virtio/virtio_ring.c:1109:22: sparse: Expected constant expression 
in case statement
   drivers/virtio/virtio_ring.c: In function 'vring_transport_features':
   drivers/virtio/virtio_ring.c:1109:8: error: 'VIRTIO_F_IOMMU_PASSTHROUGH' 
undeclared (first use in this function)
  case VIRTIO_F_IOMMU_PASSTHROUGH:
   ^~
   drivers/virtio/virtio_ring.c:1109:8: note: each undeclared identifier is 
reported only once for each function it appears in

vim +/case +1109 drivers/virtio/virtio_ring.c

  1093  }
  1094  EXPORT_SYMBOL_GPL(vring_del_virtqueue);
  1095  
  1096  /* Manipulates transport-specific feature bits. */
  1097  void vring_transport_features(struct virtio_device *vdev)
  1098  {
  1099  unsigned int i;
  1100  
  1101  for (i = VIRTIO_TRANSPORT_F_START; i < VIRTIO_TRANSPORT_F_END; 
i++) {
  1102  switch (i) {
  1103  case VIRTIO_RING_F_INDIRECT_DESC:
  1104  break;
  1105  case VIRTIO_RING_F_EVENT_IDX:
  1106  break;
  1107  case VIRTIO_F_VERSION_1:
  1108  break;
> 1109  case VIRTIO_F_IOMMU_PASSTHROUGH:
  1110  break;
    case VIRTIO_F_IOMMU_PLATFORM:
  1112  /* Ignore passthrough hint for now, obey kernel 
config. */
  1113  __virtio_clear_bit(vdev, 
VIRTIO_F_IOMMU_PASSTHROUGH);
  1114  break;
  1115  default:
  1116  /* We don't understand this bit. */
  1117  __virtio_clear_bit(vdev, i);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


Re: [PATCH v5 3/3] arm: dts: mt2701: Add auxadc node.

2016-07-23 Thread kbuild test robot
Hi,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Zhiyong-Tao/AUXADC-Mediatek-auxadc-driver/20160724-043228
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm-allnoconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   Error: arch/arm/boot/dts/mt2701.dtsi:145.22-23 syntax error
>> FATAL ERROR: Unable to parse input tree

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/3] x86/apic: Clean up the apic delivery mode macro definition

2016-07-23 Thread kbuild test robot
Hi,

[auto build test ERROR on iommu/next]
[also build test ERROR on v4.7-rc7 next-20160722]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Baoquan-He/Enable-legacy-irq-mode-before-jump-to-kexec-kdump-kernel/20160724-054857
base:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: i386-randconfig-i0-201630 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kvm/lapic.c: In function '__apic_accept_irq':
>> arch/x86/kvm/lapic.c:963:7: error: 'APIC_DM_EXTINT' undeclared (first use in 
>> this function)
 case APIC_DM_EXTINT:
  ^
   arch/x86/kvm/lapic.c:963:7: note: each undeclared identifier is reported 
only once for each function it appears in

vim +/APIC_DM_EXTINT +963 arch/x86/kvm/lapic.c

66450a21f arch/x86/kvm/lapic.c Jan Kiszka  2013-03-13  957  
smp_wmb();
66450a21f arch/x86/kvm/lapic.c Jan Kiszka  2013-03-13  958  
set_bit(KVM_APIC_SIPI, &apic->pending_events);
3842d135f arch/x86/kvm/lapic.c Avi Kivity  2010-07-27  959  
kvm_make_request(KVM_REQ_EVENT, vcpu);
d76901750 arch/x86/kvm/lapic.c Marcelo Tosatti 2008-09-08  960  
kvm_vcpu_kick(vcpu);
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  961  
break;
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  962  
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26 @963  case 
APIC_DM_EXTINT:
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  964  
/*
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  965  
 * Should only be called by kvm_apic_local_deliver() with LVT0,
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  966  
 * before NMI watchdog was enabled. Already handled by

:: The code at line 963 was first introduced by commit
:: 23930f9521c9c4d4aa96cdb9d1e1703f3782bb94 KVM: x86: Enable NMI Watchdog 
via in-kernel PIT source

:: TO: Jan Kiszka 
:: CC: Avi Kivity 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/5] namespaces: move user_ns into ns_common

2016-07-23 Thread kbuild test robot
Hi,

[auto build test ERROR on net/master]
[also build test ERROR on v4.7-rc7]
[cannot apply to next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Andrey-Vagin/namespaces-move-user_ns-into-ns_common/20160716-093057
config: x86_64-randconfig-s0-07240634 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> kernel/user.c:53: error: unknown field 'ns' specified in initializer
   kernel/user.c:53: warning: missing braces around initializer
   kernel/user.c:53: warning: (near initialization for 
'init_user_ns.')
>> kernel/user.c:53: error: incompatible types when initializing type 'struct 
>> user_namespace *' using type 'enum '
   kernel/user.c:55: error: unknown field 'ns' specified in initializer
   kernel/user.c:55: warning: initialization makes integer from pointer without 
a cast

vim +53 kernel/user.c

f76d207a Eric W. Biederman 2012-08-30  47   .count = 
4294967295U,
f76d207a Eric W. Biederman 2012-08-30  48   },
f76d207a Eric W. Biederman 2012-08-30  49   },
c61a2810 Eric W. Biederman 2012-12-28  50   .count = ATOMIC_INIT(3),
783291e6 Eric W. Biederman 2011-11-17  51   .owner = GLOBAL_ROOT_UID,
783291e6 Eric W. Biederman 2011-11-17  52   .group = GLOBAL_ROOT_GID,
435d5f4b Al Viro   2014-10-31 @53   .ns.inum = PROC_USER_INIT_INO,
33c42940 Al Viro   2014-11-01  54  #ifdef CONFIG_USER_NS
33c42940 Al Viro   2014-11-01  55   .ns.ops = &userns_operations,
33c42940 Al Viro   2014-11-01  56  #endif

:: The code at line 53 was first introduced by commit
:: 435d5f4bb2ccba3b791d9ef61d2590e30b8e806e common object embedded into 
various struct ns

:: TO: Al Viro 
:: CC: Al Viro 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/3] x86/apic: Clean up the apic delivery mode macro definition

2016-07-23 Thread kbuild test robot
Hi,

[auto build test WARNING on iommu/next]
[also build test WARNING on v4.7-rc7 next-20160722]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Baoquan-He/Enable-legacy-irq-mode-before-jump-to-kexec-kdump-kernel/20160724-054857
base:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
   arch/x86/kvm/lapic.c:186:15: sparse: incompatible types in comparison 
expression (different address spaces)
   arch/x86/kvm/lapic.c:963:14: sparse: undefined identifier 'APIC_DM_EXTINT'
>> arch/x86/kvm/lapic.c:963:14: sparse: incompatible types for 'case' statement
   arch/x86/kvm/lapic.c:699:15: sparse: incompatible types in comparison 
expression (different address spaces)
   arch/x86/kvm/lapic.c:799:15: sparse: incompatible types in comparison 
expression (different address spaces)
   arch/x86/kvm/lapic.c:963:14: sparse: Expected constant expression in case 
statement
   arch/x86/kvm/lapic.c: In function '__apic_accept_irq':
   arch/x86/kvm/lapic.c:963:7: error: 'APIC_DM_EXTINT' undeclared (first use in 
this function)
 case APIC_DM_EXTINT:
  ^~
   arch/x86/kvm/lapic.c:963:7: note: each undeclared identifier is reported 
only once for each function it appears in

vim +/case +963 arch/x86/kvm/lapic.c

c5ec15340 drivers/kvm/lapic.c  He, Qing2007-09-03  947  
   vcpu->vcpu_id);
c5ec15340 drivers/kvm/lapic.c  He, Qing2007-09-03  948  
}
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  949  
break;
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  950  
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  951  case 
APIC_DM_STARTUP:
1b10bf31a arch/x86/kvm/lapic.c Jan Kiszka  2008-09-30  952  
apic_debug("SIPI to vcpu %d vector 0x%02x\n",
c5ec15340 drivers/kvm/lapic.c  He, Qing2007-09-03  953  
   vcpu->vcpu_id, vector);
6da7e3f64 arch/x86/kvm/lapic.c Gleb Natapov2009-03-05  954  
result = 1;
66450a21f arch/x86/kvm/lapic.c Jan Kiszka  2013-03-13  955  
apic->sipi_vector = vector;
66450a21f arch/x86/kvm/lapic.c Jan Kiszka  2013-03-13  956  
/* make sure sipi_vector is visible for the receiver */
66450a21f arch/x86/kvm/lapic.c Jan Kiszka  2013-03-13  957  
smp_wmb();
66450a21f arch/x86/kvm/lapic.c Jan Kiszka  2013-03-13  958  
set_bit(KVM_APIC_SIPI, &apic->pending_events);
3842d135f arch/x86/kvm/lapic.c Avi Kivity  2010-07-27  959  
kvm_make_request(KVM_REQ_EVENT, vcpu);
d76901750 arch/x86/kvm/lapic.c Marcelo Tosatti 2008-09-08  960  
kvm_vcpu_kick(vcpu);
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  961  
break;
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  962  
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26 @963  case 
APIC_DM_EXTINT:
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  964  
/*
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  965  
 * Should only be called by kvm_apic_local_deliver() with LVT0,
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  966  
 * before NMI watchdog was enabled. Already handled by
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  967  
 * kvm_apic_accept_pic_intr().
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  968  
 */
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  969  
break;
23930f952 arch/x86/kvm/lapic.c Jan Kiszka  2008-09-26  970  
97222cc83 drivers/kvm/lapic.c  Eddie Dong  2007-09-12  971  default:

:: The code at line 963 was first introduced by commit
:: 23930f9521c9c4d4aa96cdb9d1e1703f3782bb94 KVM: x86: Enable NMI Watchdog 
via in-kernel PIT source

:: TO: Jan Kiszka 
:: CC: Avi Kivity 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


drivers/gpu/drm/i915/i915_guc_submission.c:574: error: 'b_ret' may be used uninitialized in this function

2016-07-23 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   107df03203bb66de56e2caec3bde6d22b55480c5
commit: 0a793ad34f137f146119ec4a4a90694ccab77ea3 drm/i915: Force clean 
compilation with -Werror
date:   3 months ago
config: x86_64-randconfig-v0-07240812 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 0a793ad34f137f146119ec4a4a90694ccab77ea3
# save the attached .config to linux build tree
make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All errors (new ones prefixed by >>):

   cc1: warnings being treated as errors
   drivers/gpu/drm/i915/i915_guc_submission.c: In function 'i915_guc_submit':
>> drivers/gpu/drm/i915/i915_guc_submission.c:574: error: 'b_ret' may be used 
>> uninitialized in this function
   At top level:
>> cc1: error: unrecognized command line option "-Wno-maybe-uninitialized"
--
   cc1: warnings being treated as errors
   drivers/gpu/drm/i915/intel_sprite.c: In function 'intel_check_sprite_plane':
   drivers/gpu/drm/i915/intel_sprite.c:763: error: 'src_x' may be used 
uninitialized in this function
   drivers/gpu/drm/i915/intel_sprite.c:763: error: 'src_y' may be used 
uninitialized in this function
   drivers/gpu/drm/i915/intel_sprite.c:763: error: 'src_w' may be used 
uninitialized in this function
   drivers/gpu/drm/i915/intel_sprite.c:763: error: 'src_h' may be used 
uninitialized in this function
   At top level:
>> cc1: error: unrecognized command line option "-Wno-maybe-uninitialized"
--
   cc1: warnings being treated as errors
   drivers/gpu/drm/i915/intel_dp.c: In function 
'intel_dp_init_panel_power_sequencer':
   drivers/gpu/drm/i915/intel_dp.c:5101: error: 'pp_div_reg.reg' may be used 
uninitialized in this function
   drivers/gpu/drm/i915/intel_dp.c: In function 
'intel_dp_init_panel_power_sequencer_registers':
   drivers/gpu/drm/i915/intel_dp.c:5223: error: 'pp_div_reg.reg' may be used 
uninitialized in this function
   At top level:
>> cc1: error: unrecognized command line option "-Wno-maybe-uninitialized"
--
   cc1: warnings being treated as errors
   drivers/gpu/drm/i915/intel_tv.c: In function 'intel_tv_detect':
>> drivers/gpu/drm/i915/intel_tv.c:1308: error: 'type' may be used 
>> uninitialized in this function
   At top level:
>> cc1: error: unrecognized command line option "-Wno-maybe-uninitialized"

vim +/b_ret +574 drivers/gpu/drm/i915/i915_guc_submission.c

44a28b1d Dave Gordon2015-08-12  558  
44a28b1d Dave Gordon2015-08-12  559 return 0;
44a28b1d Dave Gordon2015-08-12  560  }
44a28b1d Dave Gordon2015-08-12  561  
44a28b1d Dave Gordon2015-08-12  562  /**
44a28b1d Dave Gordon2015-08-12  563   * i915_guc_submit() - Submit commands 
through GuC
44a28b1d Dave Gordon2015-08-12  564   * @client:the guc client where 
commands will go through
feda33ef Alex Dai   2015-10-19  565   * @rq:request 
associated with the commands
44a28b1d Dave Gordon2015-08-12  566   *
44a28b1d Dave Gordon2015-08-12  567   * Return: 0 if succeed
44a28b1d Dave Gordon2015-08-12  568   */
44a28b1d Dave Gordon2015-08-12  569  int i915_guc_submit(struct 
i915_guc_client *client,
44a28b1d Dave Gordon2015-08-12  570 struct 
drm_i915_gem_request *rq)
44a28b1d Dave Gordon2015-08-12  571  {
44a28b1d Dave Gordon2015-08-12  572 struct intel_guc *guc = 
client->guc;
4a570db5 Tvrtko Ursulin 2016-03-16  573 unsigned int engine_id = 
rq->engine->guc_id;
44a28b1d Dave Gordon2015-08-12 @574 int q_ret, b_ret;
44a28b1d Dave Gordon2015-08-12  575  
44a28b1d Dave Gordon2015-08-12  576 q_ret = 
guc_add_workqueue_item(client, rq);
44a28b1d Dave Gordon2015-08-12  577 if (q_ret == 0)
44a28b1d Dave Gordon2015-08-12  578 b_ret = 
guc_ring_doorbell(client);
44a28b1d Dave Gordon2015-08-12  579  
397097b0 Alex Dai   2016-01-23  580 client->submissions[engine_id] 
+= 1;
44a28b1d Dave Gordon2015-08-12  581 if (q_ret) {
44a28b1d Dave Gordon2015-08-12  582 client->q_fail += 1;

:: The code at line 574 was first introduced by commit
:: 44a28b1d36762499de6fd701fcce6814eefe31d7 drm/i915: Implementation of GuC 
submission client

:: TO: Dave Gordon 
:: CC: Daniel Vetter 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap'

2016-07-23 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   107df03203bb66de56e2caec3bde6d22b55480c5
commit: ca668f0edfae65438c3f0a3ad5d3e59e3515915f mfd: syscon: Set regmap 
max_register in of_syscon_register
date:   4 months ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
git checkout ca668f0edfae65438c3f0a3ad5d3e59e3515915f
# save the attached .config to linux build tree
make ARCH=um 

All errors (new ones prefixed by >>):

   drivers/mfd/syscon.c: In function 'of_syscon_register':
>> drivers/mfd/syscon.c:67:9: error: implicit declaration of function 'ioremap' 
>> [-Werror=implicit-function-declaration]
 base = ioremap(res.start, resource_size(&res));
^~~
   drivers/mfd/syscon.c:67:7: warning: assignment makes pointer from integer 
without a cast [-Wint-conversion]
 base = ioremap(res.start, resource_size(&res));
  ^
   drivers/mfd/syscon.c:109:2: error: implicit declaration of function 
'iounmap' [-Werror=implicit-function-declaration]
 iounmap(base);
 ^~~
   cc1: some warnings being treated as errors

vim +/ioremap +67 drivers/mfd/syscon.c

61  
62  if (of_address_to_resource(np, 0, &res)) {
63  ret = -ENOMEM;
64  goto err_map;
65  }
66  
  > 67  base = ioremap(res.start, resource_size(&res));
68  if (!base) {
69  ret = -ENOMEM;
70  goto err_map;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v11 4/8] vfio/type1: handle unmap/unpin and replay for VFIO_IOVA_RESERVED slots

2016-07-23 Thread kbuild test robot
Hi,

[auto build test ERROR on vfio/next]
[also build test ERROR on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Eric-Auger/KVM-PCIe-MSI-passthrough-on-ARM-ARM64-kernel-part-3-3-vfio-changes/20160724-082318
base:   https://github.com/awilliam/linux-vfio.git next
config: x86_64-rhel (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/vfio/vfio_iommu_type1.c:39:29: fatal error: linux/msi-iommu.h: No 
>> such file or directory
#include 
^
   compilation terminated.

vim +39 drivers/vfio/vfio_iommu_type1.c

33  #include 
34  #include 
35  #include 
36  #include 
37  #include 
38  #include 
  > 39  #include 
40  
41  #define DRIVER_VERSION  "0.2"
42  #define DRIVER_AUTHOR   "Alex Williamson "

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


fs/binfmt_em86.c:73:35: error: passing argument 2 of 'copy_strings_kernel' from incompatible pointer type

2016-07-23 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   107df03203bb66de56e2caec3bde6d22b55480c5
commit: ea8daa7b97842aab8507b5b5b1e3226cf2d514a6 kbuild: Add option to turn 
incompatible pointer check into error
date:   4 months ago
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ea8daa7b97842aab8507b5b5b1e3226cf2d514a6
# save the attached .config to linux build tree
make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   fs/binfmt_em86.c: In function 'load_em86':
>> fs/binfmt_em86.c:73:35: error: passing argument 2 of 'copy_strings_kernel' 
>> from incompatible pointer type [-Werror=incompatible-pointer-types]
  retval = copy_strings_kernel(1, &i_arg, bprm);
  ^
   In file included from fs/binfmt_em86.c:14:0:
   include/linux/binfmts.h:116:12: note: expected 'const char * const*' but 
argument is of type 'char **'
extern int copy_strings_kernel(int argc, const char *const *argv,
   ^
   fs/binfmt_em86.c:77:34: error: passing argument 2 of 'copy_strings_kernel' 
from incompatible pointer type [-Werror=incompatible-pointer-types]
 retval = copy_strings_kernel(1, &i_name, bprm);
 ^
   In file included from fs/binfmt_em86.c:14:0:
   include/linux/binfmts.h:116:12: note: expected 'const char * const*' but 
argument is of type 'char **'
extern int copy_strings_kernel(int argc, const char *const *argv,
   ^
   fs/binfmt_em86.c:68:2: warning: ignoring return value of 'remove_arg_zero', 
declared with attribute warn_unused_result [-Wunused-result]
 remove_arg_zero(bprm);
 ^
   cc1: some warnings being treated as errors

vim +/copy_strings_kernel +73 fs/binfmt_em86.c

^1da177e Linus Torvalds 2005-04-16  57  i_name = EM86_I_NAME;
^1da177e Linus Torvalds 2005-04-16  58  i_arg = NULL;   /* We 
reserve the right to add an arg later */
^1da177e Linus Torvalds 2005-04-16  59  
^1da177e Linus Torvalds 2005-04-16  60  /*
^1da177e Linus Torvalds 2005-04-16  61   * Splice in (1) the 
interpreter's name for argv[0]
^1da177e Linus Torvalds 2005-04-16  62   *   (2) (optional) 
argument to interpreter
^1da177e Linus Torvalds 2005-04-16  63   *   (3) filename of 
emulated file (replace argv[0])
^1da177e Linus Torvalds 2005-04-16  64   *
^1da177e Linus Torvalds 2005-04-16  65   * This is done in reverse 
order, because of how the
^1da177e Linus Torvalds 2005-04-16  66   * user environment and 
arguments are stored.
^1da177e Linus Torvalds 2005-04-16  67   */
^1da177e Linus Torvalds 2005-04-16  68  remove_arg_zero(bprm);
^1da177e Linus Torvalds 2005-04-16  69  retval = copy_strings_kernel(1, 
&bprm->filename, bprm);
^1da177e Linus Torvalds 2005-04-16  70  if (retval < 0) return retval; 
^1da177e Linus Torvalds 2005-04-16  71  bprm->argc++;
^1da177e Linus Torvalds 2005-04-16  72  if (i_arg) {
^1da177e Linus Torvalds 2005-04-16 @73  retval = 
copy_strings_kernel(1, &i_arg, bprm);
^1da177e Linus Torvalds 2005-04-16  74  if (retval < 0) return 
retval; 
^1da177e Linus Torvalds 2005-04-16  75  bprm->argc++;
^1da177e Linus Torvalds 2005-04-16  76  }
^1da177e Linus Torvalds 2005-04-16  77  retval = copy_strings_kernel(1, 
&i_name, bprm);
^1da177e Linus Torvalds 2005-04-16  78  if (retval < 0) return retval;
^1da177e Linus Torvalds 2005-04-16  79  bprm->argc++;
^1da177e Linus Torvalds 2005-04-16  80  
^1da177e Linus Torvalds 2005-04-16  81  /*

:: The code at line 73 was first introduced by commit
:: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:: TO: Linus Torvalds 
:: CC: Linus Torvalds 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6

2016-07-23 Thread kbuild test robot
Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   107df03203bb66de56e2caec3bde6d22b55480c5
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 
'xfs-misc-fixes-4.6-3' into for-next
date:   5 months ago
config: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
# save the attached .config to linux build tree
make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
   inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
>> fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared 
>> with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 
>> 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared 
>> with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
>> fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared 
>> with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_86 +86 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09   80
XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t, 12);
30cbc591 Darrick J. Wong 2016-03-09   81
XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t, 16);
30cbc591 Darrick J. Wong 2016-03-09   82
XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,  8);
30cbc591 Darrick J. Wong 2016-03-09   83
XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,16);
30cbc591 Darrick J. Wong 2016-03-09   84
XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t, 4);
30cbc591 Darrick J. Wong 2016-03-09   85
XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,  16);
30cbc591 Darrick J. Wong 2016-03-09  @86
XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,   6);
30cbc591 Darrick J. Wong 2016-03-09   87
XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,  16);
30cbc591 Darrick J. Wong 2016-03-09   88
XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,  16);
30cbc591 Darrick J. Wong 2016-03-09   89
XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,  4);
30cbc591 Darrick J. Wong 2016-03-09   90
XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,  8);
30cbc591 Darrick J. Wong 2016-03-09   91
XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,  8);
30cbc591 Darrick J. Wong 2016-03-09   92
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,8);
30cbc591 Darrick J. Wong 2016-03-09   93
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,  16);
30cbc591 Darrick J. Wong 2016-03-09   94
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,  16);
30cbc591 Darrick J. Wong 2016-03-09   95
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t, 4);
30cbc591 Darrick J. Wong 2016-03-09  @96
XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,  3);
30cbc591 Darrick J. Wong 2016-03-09  @97
XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,10);
30cbc591 Darrick J. Wong 2016-03-09   98
XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,2);
30cbc591 Darrick J. Wong 2016-03-09   99  
30cbc591 Darrick J. Wong 2016-03-09  100/* log structures */

:: The code at line 86 was first introduced by commit
:: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk 
structures at compile time

:: TO: Darrick J. Wong 
:: CC: Dave Chinner 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


core.c:undefined reference to `fpu_save'

2016-07-23 Thread kbuild test robot
Hi,

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:   68093c43f352e4ad36cf1324bbdbd7c723a24dbc
commit: c60f169202c7643991a8b4bfeea60e06843d5b5a 
arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h
date:   4 months ago
config: mn10300-allnoconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 4.9.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c60f169202c7643991a8b4bfeea60e06843d5b5a
# save the attached .config to linux build tree
make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   kernel/built-in.o: In function `.L412':
>> core.c:(.sched.text+0x257): undefined reference to `fpu_save'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] UBI: add debugfs file for tracking PEB state

2016-09-19 Thread kbuild test robot
Hi Ben,

[auto build test WARNING on mtd/master]
[also build test WARNING on v4.8-rc7 next-20160919]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Zach-Brown/UBI-add-debugfs-file-for-tracking-PEB-state/20160920-025147
base:   git://git.infradead.org/linux-mtd.git master
config: x86_64-randconfig-i0-201638 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/mtd/ubi/debug.c: In function 'eraseblk_count_open':
>> drivers/mtd/ubi/debug.c:515:30: warning: cast from pointer to integer of 
>> different size [-Wpointer-to-int-cast]
 s->private = ubi_get_device((int)inode->i_private);
 ^

vim +515 drivers/mtd/ubi/debug.c

   499  .start = eraseblk_count_seq_start,
   500  .next = eraseblk_count_seq_next,
   501  .stop = eraseblk_count_seq_stop,
   502  .show = eraseblk_count_seq_show
   503  };
   504  
   505  static int eraseblk_count_open(struct inode *inode, struct file *f)
   506  {
   507  struct seq_file *s;
   508  int err;
   509  
   510  err = seq_open(f, &eraseblk_count_seq_ops);
   511  if (err)
   512  return err;
   513  
   514  s = f->private_data;
 > 515  s->private = ubi_get_device((int)inode->i_private);
   516  
   517  if (!s->private)
   518  return -ENODEV;
   519  else
   520  return 0;
   521  }
   522  
   523  static int eraseblk_count_release(struct inode *inode, struct file *f)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


[tip:irq/urgent 2/2] drivers/irqchip/irq-gic-v3.c:551:40: error: 'cpu' undeclared

2016-09-19 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/urgent
head:   7e947926fc3bfa095644c2933ec209128cbfd61e
commit: 7e947926fc3bfa095644c2933ec209128cbfd61e [2/2] irqchip/gicv3: Silence 
noisy DEBUG_PER_CPU_MAPS warning
config: arm64-allnoconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7e947926fc3bfa095644c2933ec209128cbfd61e
# save the attached .config to linux build tree
make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   In file included from drivers/irqchip/irq-gic-v3.c:39:0:
   drivers/irqchip/irq-gic-v3.c: In function 'gic_compute_target_list':
>> drivers/irqchip/irq-gic-v3.c:551:40: error: 'cpu' undeclared (first use in 
>> this function)
 unsigned long mpidr = cpu_logical_map(cpu);
   ^
   arch/arm64/include/asm/smp_plat.h:43:51: note: in definition of macro 
'cpu_logical_map'
#define cpu_logical_map(cpu)__cpu_logical_map[cpu]
  ^~~
   drivers/irqchip/irq-gic-v3.c:551:40: note: each undeclared identifier is 
reported only once for each function it appears in
 unsigned long mpidr = cpu_logical_map(cpu);
   ^
   arch/arm64/include/asm/smp_plat.h:43:51: note: in definition of macro 
'cpu_logical_map'
#define cpu_logical_map(cpu)__cpu_logical_map[cpu]
  ^~~

vim +/cpu +551 drivers/irqchip/irq-gic-v3.c

6670a6d8 Richard Cochran   2016-07-13  545  return 0;
021f6537 Marc Zyngier  2014-06-30  546  }
021f6537 Marc Zyngier  2014-06-30  547  
021f6537 Marc Zyngier  2014-06-30  548  static u16 
gic_compute_target_list(int *base_cpu, const struct cpumask *mask,
f6c86a41 Jean-Philippe Brucker 2015-10-01  549  
   unsigned long cluster_id)
021f6537 Marc Zyngier  2014-06-30  550  {
f6c86a41 Jean-Philippe Brucker 2015-10-01 @551  unsigned long mpidr = 
cpu_logical_map(cpu);
7e947926 James Morse   2016-09-19  552  int next_cpu, cpu = 
*base_cpu;
021f6537 Marc Zyngier  2014-06-30  553  u16 tlist = 0;
021f6537 Marc Zyngier  2014-06-30  554  

:: The code at line 551 was first introduced by commit
:: f6c86a41e1dc2214363b00cc0eadb8a5401c892d irqchip/gic-v3: Change unsigned 
types for AArch32 compatibility

:: TO: Jean-Philippe Brucker 
:: CC: Marc Zyngier 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


[PATCH] ALSA: line6: fix ifnullfree.cocci warnings

2016-09-19 Thread kbuild test robot
sound/usb/line6/driver.c:484:2-7: WARNING: NULL check before freeing functions 
like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not 
needed. Maybe consider reorganizing relevant code to avoid passing NULL values.

 NULL check before some freeing functions is not needed.

 Based on checkpatch warning
 "kfree(NULL) is safe this check is probably not required"
 and kfreeaddr.cocci by Julia Lawall.

Generated by: scripts/coccinelle/free/ifnullfree.cocci

CC: Andrej Krutak 
Signed-off-by: Fengguang Wu 
---

 driver.c |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/sound/usb/line6/driver.c
+++ b/sound/usb/line6/driver.c
@@ -480,8 +480,7 @@ static void line6_destruct(struct snd_ca
/* Free buffer memory first. We cannot depend on the existence of 
private
 * data from the (podhd) module, it may be gone already during this call
 */
-   if (line6->buffer_message)
-   kfree(line6->buffer_message);
+   kfree(line6->buffer_message);
 
kfree(line6->buffer_listen);
 


Re: [PATCH] nfs: cover ->migratepage with CONFIG_MIGRATION

2016-09-19 Thread kbuild test robot
Hi Chao,

[auto build test ERROR on nfs/linux-next]
[also build test ERROR on v4.8-rc7 next-20160919]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Chao-Yu/nfs-cover-migratepage-with-CONFIG_MIGRATION/20160920-121006
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: i386-randconfig-s1-09191616 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

>> fs/nfs/file.c:547:17: error: 'nfs_migrate_page' undeclared here (not in a 
>> function)
 .migratepage = nfs_migrate_page,
^~~~

vim +/nfs_migrate_page +547 fs/nfs/file.c

4899f9c8 Nick Piggin 2007-10-16  541.write_begin = nfs_write_begin,
4899f9c8 Nick Piggin 2007-10-16  542.write_end = nfs_write_end,
cd52ed35 Trond Myklebust 2006-03-20  543.invalidatepage = 
nfs_invalidate_page,
cd52ed35 Trond Myklebust 2006-03-20  544.releasepage = nfs_release_page,
^1da177e Linus Torvalds  2005-04-16  545.direct_IO = nfs_direct_IO,
daa42d9f Chao Yu 2016-09-20  546  #ifdef CONFIG_MIGRATION
074cc1de Trond Myklebust 2009-08-10 @547.migratepage = nfs_migrate_page,
daa42d9f Chao Yu 2016-09-20  548  #endif
e3db7691 Trond Myklebust 2007-01-10  549.launder_page = 
nfs_launder_page,
f919b196 Mel Gorman  2013-07-03  550.is_dirty_writeback = 
nfs_check_dirty_writeback,

:: The code at line 547 was first introduced by commit
:: 074cc1deec5dee63fcd5d966b36fa4f3765b50fc NFS: Add a ->migratepage() aop 
for NFS

:: TO: Trond Myklebust 
:: CC: Trond Myklebust 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [INFO] ratio of const vs dynamic usercopy

2016-09-19 Thread kbuild test robot
Hi Kees,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.8-rc7 next-20160919]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Kees-Cook/ratio-of-const-vs-dynamic-usercopy/20160920-130133
config: i386-randconfig-s0-09191616 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/preempt.h:6:0,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/mm_types.h:8,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_arp.h:26,
from net/ipx/af_ipx.c:33:
   In function 'check_object_size',
   inlined from 'copy_to_user' at arch/x86/include/asm/uaccess.h:742:3,
   inlined from 'ipx_getsockopt' at net/ipx/af_ipx.c:1316:2:
>> include/linux/thread_info.h:129:3: warning: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
  __check_object_size(ptr, n, to_user);
  ^~~~
   In function 'check_object_size',
   inlined from 'copy_from_user' at arch/x86/include/asm/uaccess.h:722:3,
   inlined from 'ipxitf_ioctl' at net/ipx/af_ipx.c:1129:3,
   inlined from 'ipx_ioctl' at net/ipx/af_ipx.c:1872:6:
>> include/linux/thread_info.h:131:3: warning: call to 
>> '__skip_check_object_size' declared with attribute warning: builtin-const 
>> usercopy
  __skip_check_object_size();
  ^~
   In function 'check_object_size',
   inlined from 'copy_from_user' at arch/x86/include/asm/uaccess.h:722:3,
   inlined from 'ipxitf_ioctl' at net/ipx/af_ipx.c:1154:3,
   inlined from 'ipx_ioctl' at net/ipx/af_ipx.c:1872:6:
>> include/linux/thread_info.h:131:3: warning: call to 
>> '__skip_check_object_size' declared with attribute warning: builtin-const 
>> usercopy
  __skip_check_object_size();
  ^~
   In function 'check_object_size',
   inlined from 'copy_to_user' at arch/x86/include/asm/uaccess.h:742:3,
   inlined from 'ipxitf_ioctl' at net/ipx/af_ipx.c:1172:3,
   inlined from 'ipx_ioctl' at net/ipx/af_ipx.c:1872:6:
>> include/linux/thread_info.h:131:3: warning: call to 
>> '__skip_check_object_size' declared with attribute warning: builtin-const 
>> usercopy
  __skip_check_object_size();
  ^~
   In function 'check_object_size',
   inlined from 'copy_to_user' at arch/x86/include/asm/uaccess.h:742:3,
   inlined from 'ipxcfg_get_config_data' at net/ipx/af_ipx.c:105:9,
   inlined from 'ipx_ioctl' at net/ipx/af_ipx.c:1875:6:
>> include/linux/thread_info.h:131:3: warning: call to 
>> '__skip_check_object_size' declared with attribute warning: builtin-const 
>> usercopy
  __skip_check_object_size();
  ^~
--
   In file included from arch/x86/include/asm/preempt.h:6:0,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/slab.h:14,
from net/ipx/ipx_route.c:12:
   In function 'check_object_size',
   inlined from 'copy_from_user' at arch/x86/include/asm/uaccess.h:722:3,
   inlined from 'ipxrtr_ioctl' at net/ipx/ipx_route.c:264:2:
>> include/linux/thread_info.h:131:3: warning: call to 
>> '__skip_check_object_size' declared with attribute warning: builtin-const 
>> usercopy
  __skip_check_object_size();
  ^~
--
   In file included from arch/x86/include/asm/preempt.h:6:0,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/uapi/linux/timex.h:56,
from include/linux/timex.h:56,
from include/linux/sched.h:19,
from include/linux/uaccess.h:4,
from security/keys/encrypted-keys/encrypted.c:17:
   In function 'check_object_size',
   inlined from 'copy_to_user' at arch/x86/include/asm/uaccess.h:742:3,
   inlined from 'encrypted_read' at 
security/keys/encrypted-keys/encrypted.c:961:2:
>> include/linux/thread_info.h:129:3: warning: call to '__check_object_si

Re: [PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-09-20 Thread kbuild test robot
Hi Stefan,

[auto build test ERROR on net-next/master]

url:
https://github.com/0day-ci/linux/commits/Stefan-Wahren/net-qualcomm-add-QCA7000-UART-driver/20160920-210908
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/qualcomm/qca_uart.c: In function 'qcauart_netdev_xmit':
>> drivers/net/ethernet/qualcomm/qca_uart.c:302:5: error: 'struct net_device' 
>> has no member named 'trans_start'; did you mean 'mem_start'?
 dev->trans_start = jiffies;
^~
   drivers/net/ethernet/qualcomm/qca_uart.c: In function 
'qcauart_netdev_tx_timeout':
   drivers/net/ethernet/qualcomm/qca_uart.c:314:29: error: 'struct net_device' 
has no member named 'trans_start'; did you mean 'mem_start'?
  jiffies, jiffies - dev->trans_start);
^~

vim +302 drivers/net/ethernet/qualcomm/qca_uart.c

   296  written = qca->tty->ops->write(qca->tty, qca->xbuff, pos - 
qca->xbuff);
   297  qca->xleft = (pos - qca->xbuff) - written;
   298  qca->xhead = qca->xbuff + written;
   299  n_stats->tx_bytes += written;
   300  spin_unlock(&qca->lock);
   301  
 > 302  dev->trans_start = jiffies;
   303  out:
   304  kfree_skb(skb);
   305  return NETDEV_TX_OK;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH 1/2 v2] drivers/base: Combine topology.c and cpu.c

2016-09-20 Thread kbuild test robot
Hi Prarit,

[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on v4.8-rc7 next-20160920]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Prarit-Bhargava/cpu-hotplug-Preserve-topology-directory-after-soft-remove-event/20160920-233904
config: sparc64-defconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

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

   In file included from arch/sparc/include/asm/topology.h:4:0,
from include/linux/topology.h:35,
from include/linux/gfp.h:8,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from drivers/base/cpu.c:6:
   drivers/base/cpu.c: In function 'physical_package_id_show':
>> arch/sparc/include/asm/topology_64.h:44:44: error: implicit declaration of 
>> function 'cpu_data' [-Werror=implicit-function-declaration]
#define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
   ^
>> drivers/base/cpu.c:188:30: note: in expansion of macro 
>> 'topology_physical_package_id'
 return sprintf(buf, "%d\n", topology_##name(dev->id)); \
 ^
>> drivers/base/cpu.c:210:1: note: in expansion of macro 'define_id_show_func'
define_id_show_func(physical_package_id);
^~~
>> arch/sparc/include/asm/topology_64.h:44:57: error: request for member 
>> 'proc_id' in something not a structure or union
#define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
^
>> drivers/base/cpu.c:188:30: note: in expansion of macro 
>> 'topology_physical_package_id'
 return sprintf(buf, "%d\n", topology_##name(dev->id)); \
 ^
>> drivers/base/cpu.c:210:1: note: in expansion of macro 'define_id_show_func'
define_id_show_func(physical_package_id);
^~~
   drivers/base/cpu.c: In function 'core_id_show':
>> arch/sparc/include/asm/topology_64.h:45:47: error: request for member 
>> 'core_id' in something not a structure or union
#define topology_core_id(cpu)   (cpu_data(cpu).core_id)
  ^
>> drivers/base/cpu.c:188:30: note: in expansion of macro 'topology_core_id'
 return sprintf(buf, "%d\n", topology_##name(dev->id)); \
 ^
   drivers/base/cpu.c:213:1: note: in expansion of macro 'define_id_show_func'
define_id_show_func(core_id);
^~~
>> drivers/base/cpu.c:186:10: warning: control reaches end of non-void function 
>> [-Wreturn-type]
  struct device_attribute *attr, char *buf) \
 ^
   drivers/base/cpu.c:213:1: note: in expansion of macro 'define_id_show_func'
define_id_show_func(core_id);
^~~
   drivers/base/cpu.c: In function 'physical_package_id_show':
>> drivers/base/cpu.c:186:10: warning: control reaches end of non-void function 
>> [-Wreturn-type]
  struct device_attribute *attr, char *buf) \
 ^
>> drivers/base/cpu.c:210:1: note: in expansion of macro 'define_id_show_func'
define_id_show_func(physical_package_id);
^~~
   cc1: some warnings being treated as errors

vim +/core_id +45 arch/sparc/include/asm/topology_64.h

f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17  
38  
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17  
39  #include 
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17  
40  
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17  
41  #endif /* !(CONFIG_NUMA) */
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17  
42  
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17  
43  #ifdef CONFIG_SMP
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17 
@44  #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
f5e706ad include/asm-sparc/topology_64.h  Sam Ravnborg2008-07-17 
@45  #define topology_core_id(cpu) (cpu_data(cpu).core_id)
acc455cf arch/sparc/include/asm/topology_64.h chris hyser 2015-04-22  
46  #define topology_core_cpumask(cpu)(&cpu_core_sib_

Re: [INFO] ratio of const vs dynamic usercopy

2016-09-20 Thread kbuild test robot
Hi Kees,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc7 next-20160920]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Kees-Cook/ratio-of-const-vs-dynamic-usercopy/20160920-130133
config: x86_64-randconfig-s2-09211158 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   cc1: warnings being treated as errors
   In file included from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/compat.h:12,
from drivers/gpu/drm/i915/i915_ioc32.c:32:
   In function 'copy_from_user',
   inlined from 'compat_i915_getparam' at 
drivers/gpu/drm/i915/i915_ioc32.c:54:
>> include/linux/thread_info.h:131: error: call to '__skip_check_object_size' 
>> declared with attribute warning: builtin-const usercopy
--
   cc1: warnings being treated as errors
   In file included from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from include/linux/seq_file.h:10,
from drivers/gpu/drm/i915/i915_debugfs.c:29:
   include/linux/thread_info.h: In function 'wm_latency_write':
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
   In function 'copy_to_user',
   inlined from 'i915_pipe_crc_read' at 
drivers/gpu/drm/i915/i915_debugfs.c:3641:
>> include/linux/thread_info.h:131: error: call to '__skip_check_object_size' 
>> declared with attribute warning: builtin-const usercopy
   include/linux/thread_info.h: In function 'display_crc_ctl_write':
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
   include/linux/thread_info.h: In function 
'i915_displayport_test_active_write':
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
--
   cc1: warnings being treated as errors
   In file included from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/rcupdate.h:38,
from include/linux/idr.h:18,
from include/linux/kernfs.h:14,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/cdev.h:4,
from include/drm/drmP.h:36,
from drivers/gpu/drm/i915/i915_gem_execbuffer.c:29:
   include/linux/thread_info.h: In function 'i915_gem_execbuffer_relocate_vma':
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
   In function 'copy_from_user',
   inlined from 'i915_gem_execbuffer_relocate_slow' at 
drivers/gpu/drm/i915/i915_gem_execbuffer.c:872:
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
   include/linux/thread_info.h: In function 'i915_gem_execbuffer_relocate_slow':
>> include/linux/thread_info.h:131: error: call to '__skip_check_object_size' 
>> declared with attribute warning: builtin-const usercopy
   In function 'copy_from_user',
   inlined from 'i915_gem_execbuffer2' at 
drivers/gpu/drm/i915/i915_gem_execbuffer.c:1776:
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
   include/linux/thread_info.h: In function 'i915_gem_execbuffer2':
>> include/linux/thread_info.h:131: error: call to '__skip_check_object_size' 
>> declared with attribute warning: builtin-const usercopy
   In function 'copy_from_user',
   inlined from 'i915_gem_execbuffer' at 
drivers/gpu/drm/i915/i915_gem_execbuffer.c:1688:
>> include/linux/thread_info.h:129: error: call to '__check_object_size' 
>> declared with attribute warning: dynamic usercopy
   include/linux/thread_info.h: In function 'i915_gem_execbuffer':
>> include/linux/thread_info.h:131: error: call to '__skip_check_object_size' 
>> declared with at

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread kbuild test robot
Hi Nicholas,

[auto build test ERROR on asm-generic/master]
[also build test ERROR on v4.8-rc7 next-20160920]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Nicholas-Piggin/percpu-improve-generic-percpu-modify-return-implementation/20160921-170016
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git 
master
config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=blackfin 

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

   mm/vmstat.c: In function 'refresh_cpu_vm_stats':
>> mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
>> but only 1 given
   v = this_cpu_xchg(p->vm_stat_diff[i], 0);
^  
   In file included from arch/blackfin/include/generated/asm/percpu.h:1:0,
from include/linux/percpu.h:12,
from include/linux/percpu-rwsem.h:6,
from include/linux/fs.h:30,
from mm/vmstat.c:12:
>> include/asm-generic/percpu.h:152:10: error: 'raw_cpu_generic_xchg' 
>> undeclared (first use in this function)
 __ret = raw_cpu_generic_xchg(pcp);\
 ^
>> include/asm-generic/percpu.h:382:36: note: in expansion of macro 
>> 'this_cpu_generic_xchg'
#define this_cpu_xchg_1(pcp, nval) this_cpu_generic_xchg(pcp, nval)
   ^
>> include/linux/percpu-defs.h:323:24: note: in expansion of macro 
>> 'this_cpu_xchg_1'
 case 1: pscr2_ret__ = stem##1(variable, __VA_ARGS__); break; \
   ^~~~
>> include/linux/percpu-defs.h:500:34: note: in expansion of macro 
>> '__pcpu_size_call_return2'
#define this_cpu_xchg(pcp, nval) __pcpu_size_call_return2(this_cpu_xchg_, 
pcp, nval)
 ^~~~
>> mm/vmstat.c:476:8: note: in expansion of macro 'this_cpu_xchg'
   v = this_cpu_xchg(p->vm_stat_diff[i], 0);
   ^
   include/asm-generic/percpu.h:152:10: note: each undeclared identifier is 
reported only once for each function it appears in
 __ret = raw_cpu_generic_xchg(pcp);\
 ^
>> include/asm-generic/percpu.h:382:36: note: in expansion of macro 
>> 'this_cpu_generic_xchg'
#define this_cpu_xchg_1(pcp, nval) this_cpu_generic_xchg(pcp, nval)
   ^
>> include/linux/percpu-defs.h:323:24: note: in expansion of macro 
>> 'this_cpu_xchg_1'
 case 1: pscr2_ret__ = stem##1(variable, __VA_ARGS__); break; \
   ^~~~
>> include/linux/percpu-defs.h:500:34: note: in expansion of macro 
>> '__pcpu_size_call_return2'
#define this_cpu_xchg(pcp, nval) __pcpu_size_call_return2(this_cpu_xchg_, 
pcp, nval)
 ^~~~
>> mm/vmstat.c:476:8: note: in expansion of macro 'this_cpu_xchg'
   v = this_cpu_xchg(p->vm_stat_diff[i], 0);
   ^
>> mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
>> but only 1 given
   v = this_cpu_xchg(p->vm_stat_diff[i], 0);
^  
>> mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
>> but only 1 given
>> mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
>> but only 1 given

vim +/raw_cpu_generic_xchg +476 mm/vmstat.c

ee99c71c KOSAKI Motohiro   2009-03-31  470  for_each_populated_zone(zone) {
fbc2edb0 Christoph Lameter 2013-09-11  471  struct per_cpu_pageset 
__percpu *p = zone->pageset;
2244b95a Christoph Lameter 2006-06-30  472  
fbc2edb0 Christoph Lameter 2013-09-11  473  for (i = 0; i < 
NR_VM_ZONE_STAT_ITEMS; i++) {
a7f75e25 Christoph Lameter 2008-02-04  474  int v;
a7f75e25 Christoph Lameter 2008-02-04  475  
fbc2edb0 Christoph Lameter 2013-09-11 @476  v = 
this_cpu_xchg(p->vm_stat_diff[i], 0);
fbc2edb0 Christoph Lameter 2013-09-11  477  if (v) {
fbc2edb0 Christoph Lameter 2013-09-11  478  
a7f75e25 Christoph Lameter 2008-02-04  479  
atomic_long_add(v, &zone->vm_stat[i]);

:: The code at line 476 was first introduced by commit
:: fbc2edb05354480a88aa39db8a6acb5782fa1a1b vmstat: use this_cpu() to avoid 
irqon/off sequence in refresh_cpu_vm_stats

:: TO: Christoph Lameter 
:: CC: Linus Torvalds 


Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread kbuild test robot
Hi Nicholas,

[auto build test ERROR on asm-generic/master]
[also build test ERROR on v4.8-rc7 next-20160920]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Nicholas-Piggin/percpu-improve-generic-percpu-modify-return-implementation/20160921-170016
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git 
master
config: tile-tilegx_defconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile 

All errors (new ones prefixed by >>):

   mm/vmstat.c: In function 'refresh_cpu_vm_stats':
   mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
but only 1 given
>> mm/vmstat.c:476:1: error: 'raw_cpu_generic_xchg' undeclared (first use in 
>> this function)
   mm/vmstat.c:476:1: note: each undeclared identifier is reported only once 
for each function it appears in
   mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
but only 1 given
   mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
but only 1 given
   mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
but only 1 given

vim +/raw_cpu_generic_xchg +476 mm/vmstat.c

ee99c71c KOSAKI Motohiro   2009-03-31  470  for_each_populated_zone(zone) {
fbc2edb0 Christoph Lameter 2013-09-11  471  struct per_cpu_pageset 
__percpu *p = zone->pageset;
2244b95a Christoph Lameter 2006-06-30  472  
fbc2edb0 Christoph Lameter 2013-09-11  473  for (i = 0; i < 
NR_VM_ZONE_STAT_ITEMS; i++) {
a7f75e25 Christoph Lameter 2008-02-04  474  int v;
a7f75e25 Christoph Lameter 2008-02-04  475  
fbc2edb0 Christoph Lameter 2013-09-11 @476  v = 
this_cpu_xchg(p->vm_stat_diff[i], 0);
fbc2edb0 Christoph Lameter 2013-09-11  477  if (v) {
fbc2edb0 Christoph Lameter 2013-09-11  478  
a7f75e25 Christoph Lameter 2008-02-04  479  
atomic_long_add(v, &zone->vm_stat[i]);

:: The code at line 476 was first introduced by commit
:: fbc2edb05354480a88aa39db8a6acb5782fa1a1b vmstat: use this_cpu() to avoid 
irqon/off sequence in refresh_cpu_vm_stats

:: TO: Christoph Lameter 
:: CC: Linus Torvalds 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread kbuild test robot
Hi Nicholas,

[auto build test WARNING on asm-generic/master]
[also build test WARNING on v4.8-rc7 next-20160920]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Nicholas-Piggin/percpu-improve-generic-percpu-modify-return-implementation/20160921-170016
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git 
master
config: i386-randconfig-s0-201638 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/percpu.h:551:0,
from arch/x86/include/asm/preempt.h:5,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from arch/x86/kernel/nmi.c:13:
   arch/x86/kernel/nmi.c: In function 'do_nmi':
   include/asm-generic/percpu.h:138:17: warning: unused variable '__p' 
[-Wunused-variable]
 typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp));   \
^
   include/asm-generic/percpu.h:378:41: note: in expansion of macro 
'this_cpu_generic_add_return'
#define this_cpu_add_return_8(pcp, val) this_cpu_generic_add_return(pcp, 
val)
^~~
   include/linux/percpu-defs.h:326:24: note: in expansion of macro 
'this_cpu_add_return_8'
 case 8: pscr2_ret__ = stem##8(variable, __VA_ARGS__); break; \
   ^~~~
   include/linux/percpu-defs.h:499:39: note: in expansion of macro 
'__pcpu_size_call_return2'
#define this_cpu_add_return(pcp, val) 
__pcpu_size_call_return2(this_cpu_add_return_, pcp, val)
  ^~~~
   include/linux/percpu-defs.h:511:34: note: in expansion of macro 
'this_cpu_add_return'
#define this_cpu_dec_return(pcp) this_cpu_add_return(pcp, -1)
 ^~~
>> arch/x86/kernel/nmi.c:544:6: note: in expansion of macro 
>> 'this_cpu_dec_return'
 if (this_cpu_dec_return(nmi_state))
 ^~~
--
   mm/vmstat.c: In function 'refresh_cpu_vm_stats':
   mm/vmstat.c:476:1: error: macro "raw_cpu_generic_xchg" requires 2 arguments, 
but only 1 given
   v = this_cpu_xchg(p->vm_stat_diff[i], 0);
^  
   In file included from arch/x86/include/asm/percpu.h:551:0,
from arch/x86/include/asm/preempt.h:5,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from mm/vmstat.c:12:
   include/asm-generic/percpu.h:152:10: error: 'raw_cpu_generic_xchg' 
undeclared (first use in this function)
 __ret = raw_cpu_generic_xchg(pcp);\
 ^
   include/asm-generic/percpu.h:391:36: note: in expansion of macro 
'this_cpu_generic_xchg'
#define this_cpu_xchg_8(pcp, nval) this_cpu_generic_xchg(pcp, nval)
   ^
>> include/linux/percpu-defs.h:326:24: note: in expansion of macro 
>> 'this_cpu_xchg_8'
 case 8: pscr2_ret__ = stem##8(variable, __VA_ARGS__); break; \
   ^~~~
   include/linux/percpu-defs.h:500:34: note: in expansion of macro 
'__pcpu_size_call_return2'
#define this_cpu_xchg(pcp, nval) __pcpu_size_call_return2(this_cpu_xchg_, 
pcp, nval)
 ^~~~
   mm/vmstat.c:476:8: note: in expansion of macro 'this_cpu_xchg'
   v = this_cpu_xchg(p->vm_stat_diff[i], 0);
   ^
   include/asm-generic/percpu.h:152:10: note: each undeclared identifier is 
reported only once for each function it appears in
 __ret = raw_cpu_generic_xchg(pcp);\
 ^
   include/asm-generic/percpu.h:391:36: note: in expansion of macro 
'this_cpu_generic_xchg'
#define this_cpu_xchg_8(pcp, nval) this_cpu_generic_xchg(pcp, nval)
   ^
>> include/linux/percpu-defs.h:326:24: note: in expansion of macro 
>> 'this_cpu_xchg_8'
 case 8: pscr2_ret__ = stem##8(variable, __VA_ARGS__); break; \
   ^~~~
   include/linux/percpu-defs.h:500:34: note: in expansion of macro 
'__pcpu_size_call_return2'
#define this_cpu_xchg(pcp, nval) __pcpu_size_call_return2(this_cpu_xchg_, 
pcp, nval)
 ^~~~
   mm/vmstat.c:476:8: note: in expansion of macro 'this_cpu_xchg'
   v = this_cpu_xchg(p->vm_stat_diff[i], 

Re: [PATCH v2 02/46] mtd: nand: Provide nand_cleanup() function to free NAND related resources

2016-09-21 Thread kbuild test robot
Hi Richard,

[auto build test WARNING on mtd/master]
[also build test WARNING on v4.8-rc7]
[cannot apply to next-20160921]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Daniel-Walter/Nandsim-facelift-part-I-of-II/20160921-182636
base:   git://git.infradead.org/linux-mtd.git master
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

>> drivers/mtd/nand/nand_base.c:4608: warning: No description found for 
>> parameter 'mtd'
>> drivers/mtd/nand/nand_base.c:4608: warning: Excess function parameter 'mts' 
>> description in 'nand_cleanup'
   drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found
>> drivers/mtd/nand/nand_base.c:4608: warning: No description found for 
>> parameter 'mtd'
>> drivers/mtd/nand/nand_base.c:4608: warning: Excess function parameter 'mts' 
>> description in 'nand_cleanup'

vim +/mtd +4608 drivers/mtd/nand/nand_base.c

3b85c321 David Woodhouse2006-09-25  4592  int nand_scan(struct mtd_info 
*mtd, int maxchips)
3b85c321 David Woodhouse2006-09-25  4593  {
3b85c321 David Woodhouse2006-09-25  4594int ret;
3b85c321 David Woodhouse2006-09-25  4595  
5e81e88a David Woodhouse2010-02-26  4596ret = nand_scan_ident(mtd, 
maxchips, NULL);
3b85c321 David Woodhouse2006-09-25  4597if (!ret)
3b85c321 David Woodhouse2006-09-25  4598ret = 
nand_scan_tail(mtd);
3b85c321 David Woodhouse2006-09-25  4599return ret;
3b85c321 David Woodhouse2006-09-25  4600  }
7351d3a5 Florian Fainelli   2010-09-07  4601  EXPORT_SYMBOL(nand_scan);
3b85c321 David Woodhouse2006-09-25  4602  
^1da177e Linus Torvalds 2005-04-16  4603  /**
26e1c20c Richard Weinberger 2016-09-21  4604   * nand_cleanup - [NAND 
Interface] Free resources held by the NAND device
26e1c20c Richard Weinberger 2016-09-21  4605   * @mts: MTD device structure
^1da177e Linus Torvalds 2005-04-16  4606   */
26e1c20c Richard Weinberger 2016-09-21  4607  void nand_cleanup(struct mtd_info 
*mtd)
^1da177e Linus Torvalds 2005-04-16 @4608  {
862eba51 Boris Brezillon2015-12-01  4609struct nand_chip *chip = 
mtd_to_nand(mtd);
^1da177e Linus Torvalds 2005-04-16  4610  
e4225ae8 Rafał Miłecki  2016-04-17  4611if (chip->ecc.mode == 
NAND_ECC_SOFT &&
06f384c9 Rafał Miłecki  2016-04-17  4612chip->ecc.algo == 
NAND_ECC_BCH)
193bd400 Ivan Djelic2011-03-11  4613nand_bch_free((struct 
nand_bch_control *)chip->ecc.priv);
193bd400 Ivan Djelic2011-03-11  4614  
fa671646 Jesper Juhl2005-11-07  4615/* Free bad block table memory 
*/
ace4dfee Thomas Gleixner2006-05-24  4616kfree(chip->bbt);

:: The code at line 4608 was first introduced by commit
:: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:: TO: Linus Torvalds 
:: CC: Linus Torvalds 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH v2 21/46] mtd: nandsim: Implement preliminary destructor function

2016-09-21 Thread kbuild test robot
Hi Richard,

[auto build test ERROR on mtd/master]
[also build test ERROR on v4.8-rc7]
[cannot apply to next-20160921]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Daniel-Walter/Nandsim-facelift-part-I-of-II/20160921-182636
base:   git://git.infradead.org/linux-mtd.git master
config: i386-randconfig-s1-201638 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

>> ERROR: "nand_cleanup" [drivers/mtd/nand/nandsim.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH] usb: xhci: Fix the patch inherit dma configuration from

2016-09-21 Thread kbuild test robot
Hi Sriram,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.8-rc7 next-20160921]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Sriram-Dash/usb-xhci-Fix-the-patch-inherit-dma-configuration-from/20160922-004329
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 
usb-testing
config: x86_64-randconfig-x012-201638 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

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

   In file included from include/linux/list.h:8:0,
from include/linux/pci.h:25,
from drivers/usb/host/xhci.c:23:
   drivers/usb/host/xhci.c: In function 'xhci_setup_msi':
>> drivers/usb/host/xhci.c:234:60: error: 'struct usb_bus' has no member named 
>> 'sysdev'
 struct pci_dev  *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.sysdev);
   ^
   include/linux/kernel.h:831:49: note: in definition of macro 'container_of'
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
>> drivers/usb/host/xhci.c:234:26: note: in expansion of macro 'to_pci_dev'
 struct pci_dev  *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.sysdev);
 ^~
   drivers/usb/host/xhci.c: In function 'xhci_free_irq':
   drivers/usb/host/xhci.c:260:59: error: 'struct usb_bus' has no member named 
'sysdev'
 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.sysdev);
  ^
   include/linux/kernel.h:831:49: note: in definition of macro 'container_of'
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
   drivers/usb/host/xhci.c:260:25: note: in expansion of macro 'to_pci_dev'
 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.sysdev);
^~
   drivers/usb/host/xhci.c: In function 'xhci_setup_msix':
   drivers/usb/host/xhci.c:283:45: error: 'struct usb_bus' has no member named 
'sysdev'
 struct pci_dev *pdev = to_pci_dev(hcd->self.sysdev);
^
   include/linux/kernel.h:831:49: note: in definition of macro 'container_of'
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
   drivers/usb/host/xhci.c:283:25: note: in expansion of macro 'to_pci_dev'
 struct pci_dev *pdev = to_pci_dev(hcd->self.sysdev);
^~
   drivers/usb/host/xhci.c: In function 'xhci_cleanup_msix':
   drivers/usb/host/xhci.c:338:45: error: 'struct usb_bus' has no member named 
'sysdev'
 struct pci_dev *pdev = to_pci_dev(hcd->self.sysdev);
^
   include/linux/kernel.h:831:49: note: in definition of macro 'container_of'
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
   drivers/usb/host/xhci.c:338:25: note: in expansion of macro 'to_pci_dev'
 struct pci_dev *pdev = to_pci_dev(hcd->self.sysdev);
^~
   drivers/usb/host/xhci.c: In function 'xhci_try_enable_msi':
   drivers/usb/host/xhci.c:377:43: error: 'struct usb_bus' has no member named 
'sysdev'
 pdev = to_pci_dev(xhci_to_hcd(xhci)->self.sysdev);
  ^
   include/linux/kernel.h:831:49: note: in definition of macro 'container_of'
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
   drivers/usb/host/xhci.c:377:9: note: in expansion of macro 'to_pci_dev'
 pdev = to_pci_dev(xhci_to_hcd(xhci)->self.sysdev);
^~
   drivers/usb/host/xhci.c: In function 'xhci_shutdown':
   drivers/usb/host/xhci.c:746:46: error: 'struct usb_bus' has no member named 
'sysdev'
  usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev));
 ^
   include/linux/kernel.h:831:49: note: in definition of macro 'container_of'
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
   drivers/usb/host/xhci.c:746:26: note: in expansion of macro 'to_pci_dev'
  usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev));
 ^~
   drivers/usb/host/xhci.c:763:43: error: 'struct usb_bus' has no member named 
'sysdev'
  pci_set_power_state(to_pci_dev(hcd->

Re: [PATCH v4 07/10] x86/sched: Add SD_ASYM_PACKING flags to x86 ITMT CPU

2016-09-21 Thread kbuild test robot
Hi Tim,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.8-rc7 next-20160921]
[cannot apply to tip/x86/core tip/sched/core]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Srinivas-Pandruvada/Support-Intel-Turbo-Boost-Max-Technology-3-0/20160922-032652
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: i386-randconfig-x010-201638 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/smpboot.c: In function 'x86_smt_flags':
>> arch/x86/kernel/smpboot.c:506:9: error: implicit declaration of function 
>> 'cpu_smt_flags' [-Werror=implicit-function-declaration]
 return cpu_smt_flags() | x86_sched_itmt_flags();
^
   At top level:
   arch/x86/kernel/smpboot.c:504:12: warning: 'x86_smt_flags' defined but not 
used [-Wunused-function]
static int x86_smt_flags(void)
   ^
   cc1: some warnings being treated as errors

vim +/cpu_smt_flags +506 arch/x86/kernel/smpboot.c

   500  {
   501  return cpu_core_flags() | x86_sched_itmt_flags();
   502  }
   503  
   504  static int x86_smt_flags(void)
   505  {
 > 506  return cpu_smt_flags() | x86_sched_itmt_flags();
   507  }
   508  
   509  static struct sched_domain_topology_level 
x86_numa_in_package_topology[] = {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH v5] soc: qcom: add l2 cache perf events driver

2016-09-21 Thread kbuild test robot
Hi Neil,

[auto build test ERROR on next-20160921]
[cannot apply to linus/master linux/master v4.8-rc7 v4.8-rc6 v4.8-rc5 v4.8-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Neil-Leeder/soc-qcom-add-l2-cache-perf-events-driver/20160922-000500
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

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

   drivers/soc/qcom/perf_event_l2.c: In function 'set_l2_indirect_reg':
>> drivers/soc/qcom/perf_event_l2.c:92:2: error: implicit declaration of 
>> function 'write_sysreg' [-Werror=implicit-function-declaration]
 write_sysreg(reg, L2CPUSRSELR_EL1);
 ^~~~
>> drivers/soc/qcom/perf_event_l2.c:74:33: error: 'S3_3_c15_c0_6' undeclared 
>> (first use in this function)
#define L2CPUSRSELR_EL1 S3_3_c15_c0_6
^
>> drivers/soc/qcom/perf_event_l2.c:92:20: note: in expansion of macro 
>> 'L2CPUSRSELR_EL1'
 write_sysreg(reg, L2CPUSRSELR_EL1);
   ^~~
   drivers/soc/qcom/perf_event_l2.c:74:33: note: each undeclared identifier is 
reported only once for each function it appears in
#define L2CPUSRSELR_EL1 S3_3_c15_c0_6
^
>> drivers/soc/qcom/perf_event_l2.c:92:20: note: in expansion of macro 
>> 'L2CPUSRSELR_EL1'
 write_sysreg(reg, L2CPUSRSELR_EL1);
   ^~~
>> drivers/soc/qcom/perf_event_l2.c:75:33: error: 'S3_3_c15_c0_7' undeclared 
>> (first use in this function)
#define L2CPUSRDR_EL1   S3_3_c15_c0_7
^
>> drivers/soc/qcom/perf_event_l2.c:94:20: note: in expansion of macro 
>> 'L2CPUSRDR_EL1'
 write_sysreg(val, L2CPUSRDR_EL1);
   ^
   drivers/soc/qcom/perf_event_l2.c: In function 'get_l2_indirect_reg':
>> drivers/soc/qcom/perf_event_l2.c:74:33: error: 'S3_3_c15_c0_6' undeclared 
>> (first use in this function)
#define L2CPUSRSELR_EL1 S3_3_c15_c0_6
^
   drivers/soc/qcom/perf_event_l2.c:112:20: note: in expansion of macro 
'L2CPUSRSELR_EL1'
 write_sysreg(reg, L2CPUSRSELR_EL1);
   ^~~
>> drivers/soc/qcom/perf_event_l2.c:114:8: error: implicit declaration of 
>> function 'read_sysreg' [-Werror=implicit-function-declaration]
 val = read_sysreg(L2CPUSRDR_EL1);
   ^~~
>> drivers/soc/qcom/perf_event_l2.c:75:33: error: 'S3_3_c15_c0_7' undeclared 
>> (first use in this function)
#define L2CPUSRDR_EL1   S3_3_c15_c0_7
^
   drivers/soc/qcom/perf_event_l2.c:114:20: note: in expansion of macro 
'L2CPUSRDR_EL1'
 val = read_sysreg(L2CPUSRDR_EL1);
   ^
   drivers/soc/qcom/perf_event_l2.c: In function 'l2_cache_pmu_probe_cluster':
>> drivers/soc/qcom/perf_event_l2.c:787:6: error: implicit declaration of 
>> function 'acpi_bus_get_device' [-Werror=implicit-function-declaration]
 if (acpi_bus_get_device(ACPI_HANDLE(dev), &device))
 ^~~
>> drivers/soc/qcom/perf_event_l2.c:790:20: error: dereferencing pointer to 
>> incomplete type 'struct acpi_device'
 if (kstrtol(device->pnp.unique_id, 10, &fw_cluster_id) < 0) {
   ^~
   cc1: some warnings being treated as errors

vim +/write_sysreg +92 drivers/soc/qcom/perf_event_l2.c

68  
69  #define L2_EVT_GROUP_MAX7
70  
71  #define L2_MAX_PERIOD   U32_MAX
72  #define L2_CNT_PERIOD   (U32_MAX - GENMASK(26, 0))
73  
  > 74  #define L2CPUSRSELR_EL1 S3_3_c15_c0_6
  > 75  #define L2CPUSRDR_EL1   S3_3_c15_c0_7
76  
77  static DEFINE_RAW_SPINLOCK(l2_access_lock);
78  
79  /**
80   * set_l2_indirect_reg: write value to an L2 register
81   * @reg: Address of L2 register.
82   * @value: Value to be written to register.
83   *
84   * Use architecturally required barriers for ordering between system 
register
85   * accesses
86   */
87  static void set_l2_indirect_reg(u64 reg, u64 val)
88  {
89  unsigned long flags;
90  
91  raw_spin_lock_irqsave(&l2_access_lock, flags);
  > 92  write_sysreg(reg, L2CPUSRSELR_EL1);
93  isb();
  > 94  write_sysreg(val, L2CPUSRDR_EL1);
95  

Re: [PATCH v4 07/10] x86/sched: Add SD_ASYM_PACKING flags to x86 ITMT CPU

2016-09-21 Thread kbuild test robot
Hi Tim,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.8-rc7 next-20160921]
[cannot apply to tip/x86/core tip/sched/core]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Srinivas-Pandruvada/Support-Intel-Turbo-Boost-Max-Technology-3-0/20160922-032652
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: i386-randconfig-x014-201638 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/smpboot.c: In function 'x86_core_flags':
>> arch/x86/kernel/smpboot.c:501:9: error: implicit declaration of function 
>> 'cpu_core_flags' [-Werror=implicit-function-declaration]
 return cpu_core_flags() | x86_sched_itmt_flags();
^~
   arch/x86/kernel/smpboot.c: In function 'x86_smt_flags':
   arch/x86/kernel/smpboot.c:506:9: error: implicit declaration of function 
'cpu_smt_flags' [-Werror=implicit-function-declaration]
 return cpu_smt_flags() | x86_sched_itmt_flags();
^
   At top level:
   arch/x86/kernel/smpboot.c:504:12: warning: 'x86_smt_flags' defined but not 
used [-Wunused-function]
static int x86_smt_flags(void)
   ^
   arch/x86/kernel/smpboot.c:499:12: warning: 'x86_core_flags' defined but not 
used [-Wunused-function]
static int x86_core_flags(void)
   ^~
   cc1: some warnings being treated as errors

vim +/cpu_core_flags +501 arch/x86/kernel/smpboot.c

   495  {
   496  return sysctl_sched_itmt_enabled ? SD_ASYM_PACKING : 0;
   497  }
   498  
   499  static int x86_core_flags(void)
   500  {
 > 501  return cpu_core_flags() | x86_sched_itmt_flags();
   502  }
   503  
   504  static int x86_smt_flags(void)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH net-next 8/9] rxrpc: Reduce the number of PING ACKs sent

2016-09-21 Thread kbuild test robot
Hi David,

[auto build test ERROR on net-next/master]

url:
https://github.com/0day-ci/linux/commits/David-Howells/rxrpc-Preparation-for-slow-start-algorithm/20160922-085242
config: i386-randconfig-x009-201638 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

Note: the 
linux-review/David-Howells/rxrpc-Preparation-for-slow-start-algorithm/20160922-085242
 HEAD f739ad653a9471b67eb8fc01185c01c2ca1dcb4b builds fine.
  It only hurts bisectibility.

All errors (new ones prefixed by >>):

   net/rxrpc/input.c: In function 'rxrpc_send_ping':
>> net/rxrpc/input.c:50:42: error: 'struct rxrpc_peer' has no member named 
>> 'rtt_last_req'; did you mean 'rtt_cache'?
 ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), now))
 ^~

vim +50 net/rxrpc/input.c

44  int skew)
45  {
46  struct rxrpc_skb_priv *sp = rxrpc_skb(skb);
47  ktime_t now = skb->tstamp;
48  
49  if (call->peer->rtt_usage < 3 ||
  > 50  ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), 
now))
51  rxrpc_propose_ACK(call, RXRPC_ACK_PING, skew, 
sp->hdr.serial,
52true, true);
53  }

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


core.c:undefined reference to `fpu_save'

2016-09-21 Thread kbuild test robot
Hi Andrew,

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:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: c60f169202c7643991a8b4bfeea60e06843d5b5a 
arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h
date:   6 months ago
config: mn10300-allnoconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c60f169202c7643991a8b4bfeea60e06843d5b5a
# save the attached .config to linux build tree
make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   kernel/built-in.o: In function `.L410':
>> core.c:(.sched.text+0x28a): undefined reference to `fpu_save'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-21 Thread kbuild test robot
Hi Nicolas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: 461a5e51060c93f5844113f4be9dba513cc92830 do_div(): generic optimization 
for constant divisor on 32-bit machines
date:   10 months ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 461a5e51060c93f5844113f4be9dba513cc92830
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rpc_print_iostats':
>> net/sunrpc/stats.c:204: undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52:  5714 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

vim +204 net/sunrpc/stats.c

840210fc Weston Andros Adamson 2014-06-24  188  
  &stats[task->tk_msg.rpc_proc->p_statidx]);
840210fc Weston Andros Adamson 2014-06-24  189  }
0a702195 Weston Andros Adamson 2012-02-17  190  
EXPORT_SYMBOL_GPL(rpc_count_iostats);
11c556b3 Chuck Lever   2006-03-20  191  
ec535ce1 Adrian Bunk   2006-04-18  192  static void _print_name(struct 
seq_file *seq, unsigned int op,
ec535ce1 Adrian Bunk   2006-04-18  193  struct 
rpc_procinfo *procs)
cc0175c1 Chuck Lever   2006-03-20  194  {
cc0175c1 Chuck Lever   2006-03-20  195  if (procs[op].p_name)
cc0175c1 Chuck Lever   2006-03-20  196  seq_printf(seq, 
"\t%12s: ", procs[op].p_name);
cc0175c1 Chuck Lever   2006-03-20  197  else if (op == 0)
cc0175c1 Chuck Lever   2006-03-20  198  seq_printf(seq, 
"\tNULL: ");
cc0175c1 Chuck Lever   2006-03-20  199  else
cc0175c1 Chuck Lever   2006-03-20  200  seq_printf(seq, 
"\t%12u: ", op);
cc0175c1 Chuck Lever   2006-03-20  201  }
cc0175c1 Chuck Lever   2006-03-20  202  
11c556b3 Chuck Lever   2006-03-20  203  void rpc_print_iostats(struct 
seq_file *seq, struct rpc_clnt *clnt)
11c556b3 Chuck Lever   2006-03-20 @204  {
11c556b3 Chuck Lever   2006-03-20  205  struct rpc_iostats 
*stats = clnt->cl_metrics;
2446ab60 Trond Myklebust   2012-03-01  206  struct rpc_xprt *xprt;
11c556b3 Chuck Lever   2006-03-20  207  unsigned int op, 
maxproc = clnt->cl_maxproc;
11c556b3 Chuck Lever   2006-03-20  208  
11c556b3 Chuck Lever   2006-03-20  209  if (!stats)
11c556b3 Chuck Lever   2006-03-20  210  return;
11c556b3 Chuck Lever   2006-03-20  211  
11c556b3 Chuck Lever   2006-03-20  212  seq_printf(seq, "\tRPC 
iostats version: %s  ", RPC_IOSTATS_VERS);

:: The code at line 204 was first introduced by commit
:: 11c556b3d8d481829ab5f9933a25d29b00913b5a SUNRPC: provide a mechanism for 
collecting stats in the RPC client

:: TO: Chuck Lever 
:: CC: Trond Myklebust 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH net-next 3/9] rxrpc: Add per-peer RTT tracker

2016-09-21 Thread kbuild test robot
Hi David,

[auto build test ERROR on net-next/master]

url:
https://github.com/0day-ci/linux/commits/David-Howells/rxrpc-Preparation-for-slow-start-algorithm/20160922-085242
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> ERROR: "__aeabi_uldivmod" [net/rxrpc/af-rxrpc.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH v3 7/9] dmaengine: edma: enable COMPILE_TEST

2016-09-21 Thread kbuild test robot
Hi Peter,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc7 next-20160921]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:
https://github.com/0day-ci/linux/commits/Peter-Ujfalusi/dmaengine-ti-drivers-enable-COMPILE_TESTing/20160921-212008
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

>> drivers/dma/edma.c:415:20: error: conflicting types for 'set_bits'
static inline void set_bits(int offset, int len, unsigned long *p)
   ^~~~
   In file included from include/linux/bitops.h:36:0,
from include/linux/kernel.h:10,
from include/linux/list.h:8,
from include/linux/kobject.h:20,
from include/linux/device.h:17,
from include/linux/dmaengine.h:20,
from drivers/dma/edma.c:16:
   arch/powerpc/include/asm/bitops.h:75:14: note: previous definition of 
'set_bits' was here
DEFINE_BITOP(set_bits, or, "")
 ^
   arch/powerpc/include/asm/bitops.h:58:24: note: in definition of macro 
'DEFINE_BITOP'
static __inline__ void fn(unsigned long mask, \
   ^~
>> drivers/dma/edma.c:421:20: error: conflicting types for 'clear_bits'
static inline void clear_bits(int offset, int len, unsigned long *p)
   ^~
   In file included from include/linux/bitops.h:36:0,
from include/linux/kernel.h:10,
from include/linux/list.h:8,
from include/linux/kobject.h:20,
from include/linux/device.h:17,
from include/linux/dmaengine.h:20,
from drivers/dma/edma.c:16:
   arch/powerpc/include/asm/bitops.h:76:14: note: previous definition of 
'clear_bits' was here
DEFINE_BITOP(clear_bits, andc, "")
 ^
   arch/powerpc/include/asm/bitops.h:58:24: note: in definition of macro 
'DEFINE_BITOP'
static __inline__ void fn(unsigned long mask, \
   ^~

vim +/set_bits +415 drivers/dma/edma.c

d9c345d1 Peter Ujfalusi 2015-10-16  409  static inline void 
edma_param_or(struct edma_cc *ecc, int offset, int param_no,
2b6b3b74 Peter Ujfalusi 2015-10-14  410  
unsigned or)
2b6b3b74 Peter Ujfalusi 2015-10-14  411  {
2b6b3b74 Peter Ujfalusi 2015-10-14  412 edma_or(ecc, EDMA_PARM + offset 
+ (param_no << 5), or);
2b6b3b74 Peter Ujfalusi 2015-10-14  413  }
2b6b3b74 Peter Ujfalusi 2015-10-14  414  
2b6b3b74 Peter Ujfalusi 2015-10-14 @415  static inline void set_bits(int 
offset, int len, unsigned long *p)
2b6b3b74 Peter Ujfalusi 2015-10-14  416  {
2b6b3b74 Peter Ujfalusi 2015-10-14  417 for (; len > 0; len--)
2b6b3b74 Peter Ujfalusi 2015-10-14  418 set_bit(offset + (len - 
1), p);
2b6b3b74 Peter Ujfalusi 2015-10-14  419  }
2b6b3b74 Peter Ujfalusi 2015-10-14  420  
2b6b3b74 Peter Ujfalusi 2015-10-14 @421  static inline void clear_bits(int 
offset, int len, unsigned long *p)
2b6b3b74 Peter Ujfalusi 2015-10-14  422  {
2b6b3b74 Peter Ujfalusi 2015-10-14  423 for (; len > 0; len--)
2b6b3b74 Peter Ujfalusi 2015-10-14  424 clear_bit(offset + (len 
- 1), p);

:: The code at line 415 was first introduced by commit
:: 2b6b3b7420190888793c49e97276e1e73bd7eaed ARM/dmaengine: edma: Merge the 
two drivers under drivers/dma/

:: TO: Peter Ujfalusi 
:: CC: Vinod Koul 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH net-next 3/9] rxrpc: Add per-peer RTT tracker

2016-09-21 Thread kbuild test robot
Hi David,

[auto build test ERROR on net-next/master]

url:
https://github.com/0day-ci/linux/commits/David-Howells/rxrpc-Preparation-for-slow-start-algorithm/20160922-085242
config: i386-randconfig-h0-09220655 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `rxrpc_peer_add_rtt':
>> (.text+0x239e99): undefined reference to `__udivdi3'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


Re: [PATCH net-next 9/9] rxrpc: Reduce the number of ACK-Requests sent

2016-09-21 Thread kbuild test robot
Hi David,

[auto build test ERROR on net-next/master]

url:
https://github.com/0day-ci/linux/commits/David-Howells/rxrpc-Preparation-for-slow-start-algorithm/20160922-085242
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> ERROR: "__aeabi_ldivmod" [net/rxrpc/af-rxrpc.ko] undefined!
   ERROR: "__aeabi_uldivmod" [net/rxrpc/af-rxrpc.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


mm/slub.o:undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-21 Thread kbuild test robot
Hi Jesper,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: d0ecd894e3d5f768a84403b34019c4a7daa05882 slub: optimize bulk slowpath 
free by detached freelist
date:   10 months ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d0ecd894e3d5f768a84403b34019c4a7daa05882
# save the attached .config to linux build tree
make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   mm/built-in.o: In function `__slab_free.isra.14':
>> mm/slub.o:(.text+0x28d1c): undefined reference to `_GLOBAL_OFFSET_TABLE_'
   scripts/link-vmlinux.sh: line 52: 18051 Segmentation fault  ${LD} 
${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${KBUILD_VMLINUX_INIT} 
--start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

2016-09-21 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: e34cadde3be793f179107228243242ccabdbb57c Pratyush Anand has moved
date:   1 year, 3 months ago
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e34cadde3be793f179107228243242ccabdbb57c
# save the attached .config to linux build tree
make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   In file included from drivers/nfc/nxp-nci/firmware.c:27:0:
>> include/linux/unaligned/access_ok.h:7:19: error: redefinition of 
>> 'get_unaligned_le16'
static inline u16 get_unaligned_le16(const void *p)
  ^~
   In file included from arch/ia64/include/asm/unaligned.h:4:0,
from arch/ia64/include/asm/io.h:22,
from arch/ia64/include/asm/smp.h:20,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/firmware.h:6,
from drivers/nfc/nxp-nci/firmware.c:25:
   include/linux/unaligned/le_struct.h:6:19: note: previous definition of 
'get_unaligned_le16' was here
static inline u16 get_unaligned_le16(const void *p)
  ^~
   In file included from drivers/nfc/nxp-nci/firmware.c:27:0:
>> include/linux/unaligned/access_ok.h:12:19: error: redefinition of 
>> 'get_unaligned_le32'
static inline u32 get_unaligned_le32(const void *p)
  ^~
   In file included from arch/ia64/include/asm/unaligned.h:4:0,
from arch/ia64/include/asm/io.h:22,
from arch/ia64/include/asm/smp.h:20,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/firmware.h:6,
from drivers/nfc/nxp-nci/firmware.c:25:
   include/linux/unaligned/le_struct.h:11:19: note: previous definition of 
'get_unaligned_le32' was here
static inline u32 get_unaligned_le32(const void *p)
  ^~
   In file included from drivers/nfc/nxp-nci/firmware.c:27:0:
>> include/linux/unaligned/access_ok.h:17:19: error: redefinition of 
>> 'get_unaligned_le64'
static inline u64 get_unaligned_le64(const void *p)
  ^~
   In file included from arch/ia64/include/asm/unaligned.h:4:0,
from arch/ia64/include/asm/io.h:22,
from arch/ia64/include/asm/smp.h:20,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/firmware.h:6,
from drivers/nfc/nxp-nci/firmware.c:25:
   include/linux/unaligned/le_struct.h:16:19: note: previous definition of 
'get_unaligned_le64' was here
static inline u64 get_unaligned_le64(const void *p)
  ^~
   In file included from drivers/nfc/nxp-nci/firmware.c:27:0:
>> include/linux/unaligned/access_ok.h:22:19: error: redefinition of 
>> 'get_unaligned_be16'
static inline u16 get_unaligned_be16(const void *p)
  ^~
   In file included from arch/ia64/include/asm/unaligned.h:5:0,
from arch/ia64/include/asm/io.h:22,
from arch/ia64/include/asm/smp.h:20,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/firmware.h:6,
from drivers/nfc/nxp-nci/firmware.c:25:
   include/linux/unaligned/be_byteshift.h:40:19: note: previous definition of 
'get_unaligned_be16' was here
static inline u16 get_unaligned_be16(const void *p)
  ^~
   In file included from drivers/nfc/nxp-nci/firmware.c:27:0:
>> include/linux/unaligned/access_ok.h:27:19: error: redefinition of 
>> 'get_unaligned_be32'
static inline u32 get_unaligned_be32(const void *p)
  ^~
   In file included from arch/ia64/include/asm/unaligned.h:5:0,
from arch/ia64/include/asm/io.h:22,
from arch/ia64/include/asm/smp.h:20,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/firmware.h:6,
from drivers/nfc/nxp-nci/firmware.c:25:
   include/linux/unaligned/be_byteshift.h:4

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-09-22 Thread kbuild test robot
Hi Will,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove 
HAVE_LATENCYTOP_SUPPORT
date:   8 months ago
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout da48d094ce5d7c7dcdad9011648a81c42fd1c2ef
# save the attached .config to linux build tree
make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   arch/ia64/kernel/entry.S: Assembler messages:
>> arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit 
>> integer (-8192-8191)
   arch/ia64/kernel/entry.S:728: Error: Operand 2 of `adds' should be a 14-bit 
integer (-8192-8191)
   arch/ia64/kernel/entry.S:859: Error: Operand 2 of `adds' should be a 14-bit 
integer (-8192-8191)
--
   arch/ia64/kernel/fsys.S: Assembler messages:
>> arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general 
>> register r0-r3
   arch/ia64/kernel/fsys.S:97: Error: Operand 3 of `add' should be a general 
register r0-r3
   arch/ia64/kernel/fsys.S:193: Error: Operand 3 of `add' should be a general 
register r0-r3
   arch/ia64/kernel/fsys.S:336: Error: Operand 3 of `add' should be a general 
register r0-r3
   arch/ia64/kernel/fsys.S:338: Error: Operand 3 of `add' should be a general 
register r0-r3
--
   arch/ia64/kernel/ivt.S: Assembler messages:
>> arch/ia64/kernel/ivt.S:759: Error: Operand 3 of `add' should be a general 
>> register r0-r3

vim +621 arch/ia64/kernel/entry.S

^1da177e Linus Torvalds 2005-04-16  605 PT_REGS_UNWIND_INFO(0)
^1da177e Linus Torvalds 2005-04-16  606  {  /*
^1da177e Linus Torvalds 2005-04-16  607  * Some versions of gas 
generate bad unwind info if the first instruction of a
^1da177e Linus Torvalds 2005-04-16  608  * procedure doesn't go into 
the first slot of a bundle.  This is a workaround.
^1da177e Linus Torvalds 2005-04-16  609  */
^1da177e Linus Torvalds 2005-04-16  610 nop.m 0
^1da177e Linus Torvalds 2005-04-16  611 nop.i 0
^1da177e Linus Torvalds 2005-04-16  612 /*
^1da177e Linus Torvalds 2005-04-16  613  * We need to call 
schedule_tail() to complete the scheduling process.
^1da177e Linus Torvalds 2005-04-16  614  * Called by ia64_switch_to() 
after do_fork()->copy_thread().  r8 contains the
^1da177e Linus Torvalds 2005-04-16  615  * address of the previously 
executing task.
^1da177e Linus Torvalds 2005-04-16  616  */
^1da177e Linus Torvalds 2005-04-16  617 br.call.sptk.many 
rp=ia64_invoke_schedule_tail
^1da177e Linus Torvalds 2005-04-16  618  }
^1da177e Linus Torvalds 2005-04-16  619  .ret8:
54d496c3 Al Viro2012-10-14  620  (pKStk)br.call.sptk.many 
rp=call_payload
^1da177e Linus Torvalds 2005-04-16 @621 adds 
r2=TI_FLAGS+IA64_TASK_SIZE,r13
^1da177e Linus Torvalds 2005-04-16  622 ;;
^1da177e Linus Torvalds 2005-04-16  623 ld4 r2=[r2]
^1da177e Linus Torvalds 2005-04-16  624 ;;
^1da177e Linus Torvalds 2005-04-16  625 mov r8=0
^1da177e Linus Torvalds 2005-04-16  626 and 
r2=_TIF_SYSCALL_TRACEAUDIT,r2
^1da177e Linus Torvalds 2005-04-16  627 ;;
^1da177e Linus Torvalds 2005-04-16  628 cmp.ne p6,p0=r2,r0
^1da177e Linus Torvalds 2005-04-16  629  (p6)   br.cond.spnt 
.strace_check_retval

:: The code at line 621 was first introduced by commit
:: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:: TO: Linus Torvalds 
:: CC: Linus Torvalds 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2016-09-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the 
various compiler-gcc[345].h files
date:   1 year, 3 months ago
config: mn10300-allyesconfig (attached as .config)
compiler: am33_2.0-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout cb984d101b30eb7478d32df56a0023e4603cba7f
# save the attached .config to linux build tree
make.cross ARCH=mn10300 

All errors (new ones prefixed by >>):

   In file included from drivers/misc/lkdtm.c:39:0:
   include/linux/kprobes.h: In function 'get_kprobe_ctlblk':
>> include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct 
>> kprobe_ctlblk'
 return this_cpu_ptr(&kprobe_ctlblk);
 ^~

vim +361 include/linux/kprobes.h

ef53d9c5e Srinivasa D S  2008-07-25  345  void 
kretprobe_hash_unlock(struct task_struct *tsk, unsigned long *flags);
b94cce926 Hien Nguyen2005-06-23  346  struct hlist_head * 
kretprobe_inst_table_head(struct task_struct *tsk);
^1da177e4 Linus Torvalds 2005-04-16  347  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  348  /* kprobe_running() will 
just return the current_kprobe on this CPU */
e65845235 Ananth N Mavinakayanahalli 2005-11-07  349  static inline struct 
kprobe *kprobe_running(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  350  {
b76834bc1 Christoph Lameter  2010-12-06  351return 
(__this_cpu_read(current_kprobe));
e65845235 Ananth N Mavinakayanahalli 2005-11-07  352  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  353  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  354  static inline void 
reset_current_kprobe(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  355  {
b76834bc1 Christoph Lameter  2010-12-06  356
__this_cpu_write(current_kprobe, NULL);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  357  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  358  
e65845235 Ananth N Mavinakayanahalli 2005-11-07  359  static inline struct 
kprobe_ctlblk *get_kprobe_ctlblk(void)
e65845235 Ananth N Mavinakayanahalli 2005-11-07  360  {
bdffd893a Christoph Lameter  2014-04-29 @361return 
this_cpu_ptr(&kprobe_ctlblk);
e65845235 Ananth N Mavinakayanahalli 2005-11-07  362  }
e65845235 Ananth N Mavinakayanahalli 2005-11-07  363  
^1da177e4 Linus Torvalds 2005-04-16  364  int 
register_kprobe(struct kprobe *p);
^1da177e4 Linus Torvalds 2005-04-16  365  void 
unregister_kprobe(struct kprobe *p);
9861668f7 Masami Hiramatsu   2008-04-28  366  int 
register_kprobes(struct kprobe **kps, int num);
9861668f7 Masami Hiramatsu   2008-04-28  367  void 
unregister_kprobes(struct kprobe **kps, int num);
^1da177e4 Linus Torvalds 2005-04-16  368  int 
setjmp_pre_handler(struct kprobe *, struct pt_regs *);
^1da177e4 Linus Torvalds 2005-04-16  369  int 
longjmp_break_handler(struct kprobe *, struct pt_regs *);

:: The code at line 361 was first introduced by commit
:: bdffd893a0e9c431304142d12d9a0a21d365c502 tracing: Replace __get_cpu_var 
uses with this_cpu_ptr

:: TO: Christoph Lameter 
:: CC: Steven Rostedt 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


{standard input}:199: Error: unknown opcode

2016-09-22 Thread kbuild test robot
Hi Rich,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: b4214e41b7152b1964a3421a40251d202ae2d2c0 sh: add SMP support for J2
date:   7 weeks ago
config: sh-j2_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b4214e41b7152b1964a3421a40251d202ae2d2c0
# save the attached .config to linux build tree
make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   {standard input}: Assembler messages:
>> {standard input}:199: Error: unknown opcode
   {standard input}:1229: Error: unknown opcode
--
   {standard input}: Assembler messages:
   {standard input}:162: Error: unknown opcode
>> {standard input}:199: Error: unknown opcode
   {standard input}:324: Error: unknown opcode
   {standard input}:520: Error: unknown opcode
   {standard input}:619: Error: unknown opcode

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


cygnus-pcm.c:undefined reference to `bad_dma_ops'

2016-09-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: 3ceeda1cbee9f93bb5537c9b840d1f7e767d7c01 Merge remote-tracking branches 
'asoc/topic/cs53l30', 'asoc/topic/cygnus', 'asoc/topic/da7219' and 
'asoc/topic/davinci' into asoc-next
date:   9 weeks ago
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 3ceeda1cbee9f93bb5537c9b840d1f7e767d7c01
# save the attached .config to linux build tree
make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfcf4): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfcf8): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfd48): undefined reference to `dma_common_mmap'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfd48): relocation truncated to fit: R_M32R_26_PCREL_RELA against 
undefined symbol `dma_common_mmap'
   sound/built-in.o: In function `cygnus_pcm_preallocate_dma_buffer':
>> cygnus-pcm.c:(.text+0x10e94c): undefined reference to `bad_dma_ops'
   cygnus-pcm.c:(.text+0x10e950): undefined reference to `bad_dma_ops'
   cygnus-pcm.c:(.text+0x10e984): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `cygnus_dma_free_dma_buffers':
   cygnus-pcm.c:(.text+0x10ea84): undefined reference to `bad_dma_ops'
   cygnus-pcm.c:(.text+0x10ea8c): undefined reference to `bad_dma_ops'
   sound/built-in.o:cygnus-pcm.c:(.text+0x10eb24): more undefined references to 
`bad_dma_ops' follow

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


arch/cris/arch-v32/mm/intmem.c:148:17: error: initialization from incompatible pointer type

2016-09-22 Thread kbuild test robot
Hi Daniel,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7d1e042314619115153a0f6f06e4552c09a50e13
commit: ea8daa7b97842aab8507b5b5b1e3226cf2d514a6 kbuild: Add option to turn 
incompatible pointer check into error
date:   6 months ago
config: cris-etraxfs_defconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ea8daa7b97842aab8507b5b5b1e3226cf2d514a6
# save the attached .config to linux build tree
make.cross ARCH=cris 

All errors (new ones prefixed by >>):

   arch/cris/arch-v32/mm/intmem.c: In function 'crisv32_intmem_free':
   arch/cris/arch-v32/mm/intmem.c:116:14: warning: comparison of distinct 
pointer types lacks a cast
   if ((prev != &intmem_allocations) &&
 ^~
   arch/cris/arch-v32/mm/intmem.c:123:14: warning: comparison of distinct 
pointer types lacks a cast
   if ((next != &intmem_allocations) &&
 ^~
   In file included from include/linux/printk.h:5:0,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from arch/cris/arch-v32/mm/intmem.c:7:
   arch/cris/arch-v32/mm/intmem.c: At top level:
>> arch/cris/arch-v32/mm/intmem.c:148:17: error: initialization from 
>> incompatible pointer type [-Werror=incompatible-pointer-types]
device_initcall(crisv32_intmem_init);
^
   include/linux/init.h:184:58: note: in definition of macro '__define_initcall'
 __attribute__((__section__(".initcall" #id ".init"))) = fn; \
 ^~
   arch/cris/arch-v32/mm/intmem.c:148:1: note: in expansion of macro 
'device_initcall'
device_initcall(crisv32_intmem_init);
^~~
   cc1: some warnings being treated as errors

vim +148 arch/cris/arch-v32/mm/intmem.c

108ecfbc Jesper Nilsson 2008-01-25  117 
(prev->status == STATUS_FREE)) {
51533b61 Mikael Starvik 2005-07-27  118 
prev->size += allocation->size;
51533b61 Mikael Starvik 2005-07-27  119 
list_del(&allocation->entry);
51533b61 Mikael Starvik 2005-07-27  120 
kfree(allocation);
51533b61 Mikael Starvik 2005-07-27  121 
allocation = prev;
51533b61 Mikael Starvik 2005-07-27  122 }
108ecfbc Jesper Nilsson 2008-01-25 @123 if ((next != 
&intmem_allocations) &&
108ecfbc Jesper Nilsson 2008-01-25  124 
(next->status == STATUS_FREE)) {
51533b61 Mikael Starvik 2005-07-27  125 
allocation->size += next->size;
51533b61 Mikael Starvik 2005-07-27  126 
list_del(&next->entry);
51533b61 Mikael Starvik 2005-07-27  127 
kfree(next);
51533b61 Mikael Starvik 2005-07-27  128 }
51533b61 Mikael Starvik 2005-07-27  129 
preempt_enable();
51533b61 Mikael Starvik 2005-07-27  130 return;
51533b61 Mikael Starvik 2005-07-27  131 }
51533b61 Mikael Starvik 2005-07-27  132 }
51533b61 Mikael Starvik 2005-07-27  133 preempt_enable();
51533b61 Mikael Starvik 2005-07-27  134  }
51533b61 Mikael Starvik 2005-07-27  135  
51533b61 Mikael Starvik 2005-07-27  136  void* 
crisv32_intmem_phys_to_virt(unsigned long addr)
51533b61 Mikael Starvik 2005-07-27  137  {
108ecfbc Jesper Nilsson 2008-01-25  138 return (void *)(addr - 
(MEM_INTMEM_START + RESERVED_SIZE) +
51533b61 Mikael Starvik 2005-07-27  139 (unsigned 
long)intmem_virtual);
51533b61 Mikael Starvik 2005-07-27  140  }
51533b61 Mikael Starvik 2005-07-27  141  
51533b61 Mikael Starvik 2005-07-27  142  unsigned long 
crisv32_intmem_virt_to_phys(void* addr)
51533b61 Mikael Starvik 2005-07-27  143  {
51533b61 Mikael Starvik 2005-07-27  144 return (unsigned 
long)((unsigned long )addr -
108ecfbc Jesper Nilsson 2008-01-25  145 (unsigned 
long)intmem_virtual + MEM_INTMEM_START +
108ecfbc Jesper Nilsson 2008-01-25  146 RESERVED_SIZE);
51533b61 Mikael Starvik 2005-07-27  147  }
73de14e8 Paul Gortmaker 2015-05-01 @148  device_initcall(crisv32_intmem_init);
51533b61 Mikael Starvik 2005-07-27  149  

:: The code at line 148 was first introduced by commit
:: 73de14e8cdc733bbc8eda006f813d5aa51511139 cris: don't use module_init for 
non-modular core intmem.c code

:: TO: Paul Gortmaker 
:: CC: Paul Gortmaker 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all

[rcu:rcu/next 16/16] memremap.c:undefined reference to `__aeabi_uldivmod'

2016-06-20 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
rcu/next
head:   b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9
commit: b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9 [16/16] torture: Convert 
torture_shutdown() to hrtimer
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout b4aa201e0c7c73a9f4fee7d82d4ff46b85feeea9
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `alpine_msix_middle_domain_alloc':
   zynq-fpga.c:(.text+0xb4): relocation truncated to fit: R_ARM_CALL against 
symbol `_raw_spin_lock' defined in .spinlock.text section in kernel/built-in.o
   zynq-fpga.c:(.text+0xec): relocation truncated to fit: R_ARM_CALL against 
symbol `_raw_spin_unlock' defined in .spinlock.text section in kernel/built-in.o
   zynq-fpga.c:(.text+0x10c): relocation truncated to fit: R_ARM_CALL against 
symbol `_raw_spin_unlock' defined in .spinlock.text section in kernel/built-in.o
   zynq-fpga.c:(.text+0x23c): relocation truncated to fit: R_ARM_CALL against 
symbol `_raw_spin_lock' defined in .spinlock.text section in kernel/built-in.o
   zynq-fpga.c:(.text+0x254): relocation truncated to fit: R_ARM_CALL against 
symbol `_raw_spin_unlock' defined in .spinlock.text section in kernel/built-in.o
   drivers/built-in.o: In function `alpine_msix_init_domains':
   zynq-fpga.c:(.text+0x2cc): relocation truncated to fit: R_ARM_CALL against 
symbol `of_irq_find_parent' defined in .text section in drivers/built-in.o
   drivers/built-in.o: In function `alpine_msix_init':
   zynq-fpga.c:(.text+0x408): relocation truncated to fit: R_ARM_CALL against 
symbol `of_address_to_resource' defined in .text section in drivers/built-in.o
   zynq-fpga.c:(.text+0x444): relocation truncated to fit: R_ARM_CALL against 
symbol `of_property_read_u32_array' defined in .text section in 
drivers/built-in.o
   zynq-fpga.c:(.text+0x470): relocation truncated to fit: R_ARM_CALL against 
symbol `of_property_read_u32_array' defined in .text section in 
drivers/built-in.o
   drivers/built-in.o: In function `alpine_msix_middle_domain_free':
   zynq-fpga.c:(.text+0x58c): relocation truncated to fit: R_ARM_CALL against 
symbol `_raw_spin_lock' defined in .spinlock.text section in kernel/built-in.o
   zynq-fpga.c:(.text+0x5a4): additional relocation overflows omitted from the 
output
   kernel/built-in.o: In function `torture_shutdown':
>> memremap.c:(.text+0x1719fc): undefined reference to `__aeabi_uldivmod'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v4 net-next v4 14/14] net: dsa: mv88e6xxx: abstract switch registers accesses

2016-06-20 Thread kbuild test robot
Hi,

[auto build test WARNING on net-next/master]

url:
https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-mv88e6xxx-probe-compatible/20160621-020115
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   drivers/net/dsa/mv88e6xxx.c: In function 'mv88e6xxx_read':
>> drivers/net/dsa/mv88e6xxx.c:195:2: warning: format '%x' expects argument of 
>> type 'unsigned int', but argument 6 has type 'u16 *' [-Wformat]

vim +195 drivers/net/dsa/mv88e6xxx.c

   179  static const struct mv88e6xxx_ops mv88e6xxx_smi_multi_chip_ops = {
   180  .read = mv88e6xxx_smi_multi_chip_read,
   181  .write = mv88e6xxx_smi_multi_chip_write,
   182  };
   183  
   184  static int mv88e6xxx_read(struct mv88e6xxx_priv_state *ps,
   185int addr, int reg, u16 *val)
   186  {
   187  int err;
   188  
   189  assert_reg_lock(ps);
   190  
   191  err = mv88e6xxx_smi_read(ps, addr, reg, val);
   192  if (err)
   193  return err;
   194  
 > 195  dev_dbg(ps->dev, "<- addr: 0x%.2x reg: 0x%.2x val: 0x%.4x\n",
   196  addr, reg, val);
   197  
   198  return 0;
   199  }
   200  
   201  static int mv88e6xxx_write(struct mv88e6xxx_priv_state *ps,
   202 int addr, int reg, u16 val)
   203  {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v4 net-next v4 14/14] net: dsa: mv88e6xxx: abstract switch registers accesses

2016-06-20 Thread kbuild test robot
Hi,

[auto build test WARNING on net-next/master]

url:
https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-mv88e6xxx-probe-compatible/20160621-020115
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:289:0,
from include/linux/kernel.h:13,
from include/linux/delay.h:10,
from drivers/net/dsa/mv88e6xxx.c:16:
   drivers/net/dsa/mv88e6xxx.c: In function 'mv88e6xxx_read':
>> drivers/net/dsa/mv88e6xxx.c:195:19: warning: format '%x' expects argument of 
>> type 'unsigned int', but argument 6 has type 'u16 * {aka short unsigned int 
>> *}' [-Wformat=]
 dev_dbg(ps->dev, "<- addr: 0x%.2x reg: 0x%.2x val: 0x%.4x\n",
  ^
   include/linux/dynamic_debug.h:86:39: note: in definition of macro 
'dynamic_dev_dbg'
  __dynamic_dev_dbg(&descriptor, dev, fmt, \
  ^
>> drivers/net/dsa/mv88e6xxx.c:195:2: note: in expansion of macro 'dev_dbg'
 dev_dbg(ps->dev, "<- addr: 0x%.2x reg: 0x%.2x val: 0x%.4x\n",
 ^

vim +195 drivers/net/dsa/mv88e6xxx.c

10   * This program is free software; you can redistribute it and/or modify
11   * it under the terms of the GNU General Public License as published by
12   * the Free Software Foundation; either version 2 of the License, or
13   * (at your option) any later version.
14   */
15  
  > 16  #include 
17  #include 
18  #include 
19  #include 
20  #include 
21  #include 
22  #include 
23  #include 
24  #include 
25  #include 
26  #include 
27  #include 
28  #include 
29  #include 
30  #include 
31  #include "mv88e6xxx.h"
32  
33  static void assert_reg_lock(struct mv88e6xxx_priv_state *ps)
34  {
35  if (unlikely(!mutex_is_locked(&ps->reg_lock))) {
36  dev_err(ps->dev, "Switch registers lock not held!\n");
37  dump_stack();
38  }
39  }
40  
41  /* The switch ADDR[4:1] configuration pins define the chip SMI device 
address
42   * (ADDR[0] is always zero, thus only even SMI addresses can be 
strapped).
43   *
44   * When ADDR is all zero, the chip uses Single-chip Addressing Mode, 
assuming it
45   * is the only device connected to the SMI master. In this mode it 
responds to
46   * all 32 possible SMI addresses, and thus maps directly the internal 
devices.
47   *
48   * When ADDR is non-zero, the chip uses Multi-chip Addressing Mode, 
allowing
49   * multiple devices to share the SMI interface. In this mode it 
responds to only
50   * 2 registers, used to indirectly access the internal SMI devices.
51   */
52  
53  static int mv88e6xxx_smi_read(struct mv88e6xxx_priv_state *ps,
54int addr, int reg, u16 *val)
55  {
56  if (!ps->smi_ops)
57  return -EOPNOTSUPP;
58  
59  return ps->smi_ops->read(ps, addr, reg, val);
60  }
61  
62  static int mv88e6xxx_smi_write(struct mv88e6xxx_priv_state *ps,
63 int addr, int reg, u16 val)
64  {
65  if (!ps->smi_ops)
66  return -EOPNOTSUPP;
67  
68  return ps->smi_ops->write(ps, addr, reg, val);
69  }
70  
71  static int mv88e6xxx_smi_single_chip_read(struct mv88e6xxx_priv_state 
*ps,
72int addr, int reg, u16 *val)
73  {
74  int ret;
75  
76  ret = mdiobus_read_nested(ps->bus, addr, reg);
77  if (ret < 0)
78  return ret;
79  
80  *val = ret & 0x;
81  
82  return 0;
83  }
84  
85  static int mv88e6xxx_smi_single_chip_write(struct mv88e6xxx_priv_state 
*ps,
86 int addr, int reg, u16 val)
87  {
88  int ret;
89  
90  ret = mdiobus_write_nested(ps->bus, addr, reg, val);
91  if (ret < 0)
92  return ret;
93  
94  return 0;
95  }
96  
97  static const struct mv88e6xxx_ops mv88e6xxx_smi_single_chip_ops = {
98  .read = mv88e6xxx_smi_single_chip_read,
99  .write = mv88e6xxx_smi_single_chip_write,
   100  };
   101  
   102  static int mv88e6xxx_smi_multi_chip_wait(struct mv88e6xxx_priv_state 
*ps)
   103  {
   104  int ret;
   105  int i;
   106  
   107  for (i = 0; i < 1

Re: [PATCH v4 net-next v4 14/14] net: dsa: mv88e6xxx: abstract switch registers accesses

2016-06-20 Thread kbuild test robot
Hi,

[auto build test WARNING on net-next/master]

url:
https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-mv88e6xxx-probe-compatible/20160621-020115
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:289:0,
from include/linux/kernel.h:13,
from include/linux/delay.h:10,
from drivers/net/dsa/mv88e6xxx.c:16:
   drivers/net/dsa/mv88e6xxx.c: In function 'mv88e6xxx_read':
>> include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument 
>> of type 'unsigned int', but argument 6 has type 'u16 *' [-Wformat=]
 static struct _ddebug  __aligned(8)   \
   ^
   include/linux/dynamic_debug.h:84:2: note: in expansion of macro 
'DEFINE_DYNAMIC_DEBUG_METADATA'
 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
 ^
   include/linux/device.h:1197:2: note: in expansion of macro 'dynamic_dev_dbg'
 dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
 ^
   drivers/net/dsa/mv88e6xxx.c:195:2: note: in expansion of macro 'dev_dbg'
 dev_dbg(ps->dev, "<- addr: 0x%.2x reg: 0x%.2x val: 0x%.4x\n",
 ^

vim +64 include/linux/dynamic_debug.h

b48420c1 Jim Cromie  2012-04-27  48 const 
char *modname);
b48420c1 Jim Cromie  2012-04-27  49  
cbc46635 Joe Perches 2011-08-11  50  struct device;
cbc46635 Joe Perches 2011-08-11  51  
b9075fa9 Joe Perches 2011-10-31  52  extern __printf(3, 4)
906d2015 Joe Perches 2014-09-24  53  void __dynamic_dev_dbg(struct _ddebug 
*descriptor, const struct device *dev,
b9075fa9 Joe Perches 2011-10-31  54const char *fmt, ...);
cbc46635 Joe Perches 2011-08-11  55  
ffa10cb4 Jason Baron 2011-08-11  56  struct net_device;
ffa10cb4 Jason Baron 2011-08-11  57  
b9075fa9 Joe Perches 2011-10-31  58  extern __printf(3, 4)
906d2015 Joe Perches 2014-09-24  59  void __dynamic_netdev_dbg(struct _ddebug 
*descriptor,
ffa10cb4 Jason Baron 2011-08-11  60   const struct 
net_device *dev,
b9075fa9 Joe Perches 2011-10-31  61   const char *fmt, ...);
ffa10cb4 Jason Baron 2011-08-11  62  
07613b0b Jason Baron 2011-10-04  63  #define 
DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)   \
c0d2af63 Joe Perches 2012-10-18 @64 static struct _ddebug  __aligned(8) 
\
07613b0b Jason Baron 2011-10-04  65 __attribute__((section("__verbose"))) 
name = {  \
07613b0b Jason Baron 2011-10-04  66 .modname = KBUILD_MODNAME,  
\
07613b0b Jason Baron 2011-10-04  67 .function = __func__,   
\
07613b0b Jason Baron 2011-10-04  68 .filename = __FILE__,   
\
07613b0b Jason Baron 2011-10-04  69 .format = (fmt),
\
07613b0b Jason Baron 2011-10-04  70 .lineno = __LINE__, 
\
07613b0b Jason Baron 2011-10-04  71 .flags =  
_DPRINTK_FLAGS_DEFAULT,   \
07613b0b Jason Baron 2011-10-04  72 }

:: The code at line 64 was first introduced by commit
:: c0d2af637863940b1a4fb208224ca7acb905c39f dynamic_debug: Remove 
unnecessary __used

:: TO: Joe Perches 
:: CC: Greg Kroah-Hartman 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 8/8] arm64: dts: db820c: add support to external sd card.

2016-06-20 Thread kbuild test robot
Hi,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.7-rc4 next-20160620]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Srinivas-Kandagatla/arm64-dts-db820c-Add-basic-board-support/20160621-041430
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> Error: arch/arm64/boot/dts/qcom/apq8096-db820c-pins.dtsi:13.1-9 Label or 
>> path msmgpio not found
   FATAL ERROR: Syntax error parsing input tree

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-06-20 Thread kbuild test robot
Hi,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.7-rc4 next-20160620]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Tan-Jui-Nee/pinctrl-broxton-enable-platform-device-in-the-absent-of-ACPI-enumeration/20160621-132027
config: x86_64-randconfig-i0-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/mfd/lpc_ich.c:175:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c:184:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c:193:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c:202:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c: In function 'lpc_ich_misc':
   drivers/mfd/lpc_ich.c:1154:3: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
  apl_pinctrl_pdata.name = kasprintf(GFP_KERNEL, "%u",
  ^
   drivers/mfd/lpc_ich.c:1154:3: warning: statement with no effect 
[-Wunused-value]
   drivers/mfd/lpc_ich.c:1158:2: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
 if (apl_pinctrl_pdata.name)
 ^~
   drivers/mfd/lpc_ich.c:1169:5: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
apl_pinctrl_pdata.name, ret);
^
   drivers/mfd/lpc_ich.c:1168:37: warning: format '%s' expects argument of type 
'char *', but argument 3 has type 'struct mfd_cell *' [-Wformat=]
   "Failed to add Apollo Lake GPIO %s: %d\n",
^
   drivers/mfd/lpc_ich.c:1171:2: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
 kfree(apl_pinctrl_pdata.name);
 ^
   drivers/mfd/lpc_ich.c: At top level:
>> drivers/mfd/lpc_ich.c:167:32: error: storage size of 'apl_pinctrl_pdata' 
>> isn't known
static struct pinctrl_pin_desc apl_pinctrl_pdata;
   ^
   drivers/mfd/lpc_ich.c:1131:12: warning: 'lpc_ich_misc' defined but not used 
[-Wunused-function]
static int lpc_ich_misc(struct pci_dev *dev, enum lpc_chipsets chipset)
   ^~~~

vim +167 drivers/mfd/lpc_ich.c

   161  APL_GPIO_WEST_NPIN * SZ_8, "apl_pinctrl_w"),
   162  DEFINE_RES_MEM_NAMED(APL_GPIO_SOUTHWEST_OFFSET,
   163  APL_GPIO_SOUTHWEST_NPIN * SZ_8, "apl_pinctrl_sw"),
   164  DEFINE_RES_IRQ(APL_GPIO_IRQ),
   165  };
   166  
 > 167  static struct pinctrl_pin_desc apl_pinctrl_pdata;
   168  
   169  static struct mfd_cell apl_gpio_devices[] = {
   170  {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-06-20 Thread kbuild test robot
Hi,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.7-rc4 next-20160620]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Tan-Jui-Nee/pinctrl-broxton-enable-platform-device-in-the-absent-of-ACPI-enumeration/20160621-132027
config: x86_64-lkp (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

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

>> drivers/mfd/lpc_ich.c:175:23: error: invalid application of 'sizeof' to 
>> incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c:184:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c:193:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c:202:23: error: invalid application of 'sizeof' to 
incomplete type 'struct pinctrl_pin_desc'
  .pdata_size = sizeof(apl_pinctrl_pdata),
  ^
   drivers/mfd/lpc_ich.c: In function 'lpc_ich_misc':
>> drivers/mfd/lpc_ich.c:1154:3: error: invalid use of undefined type 'struct 
>> pinctrl_pin_desc'
  apl_pinctrl_pdata.name = kasprintf(GFP_KERNEL, "%u",
  ^
>> drivers/mfd/lpc_ich.c:1154:3: warning: statement with no effect 
>> [-Wunused-value]
   drivers/mfd/lpc_ich.c:1158:2: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
 if (apl_pinctrl_pdata.name)
 ^
   drivers/mfd/lpc_ich.c:1169:5: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
apl_pinctrl_pdata.name, ret);
^
>> drivers/mfd/lpc_ich.c:1169:5: warning: format '%s' expects argument of type 
>> 'char *', but argument 3 has type 'struct mfd_cell *' [-Wformat=]
   drivers/mfd/lpc_ich.c:1171:2: error: invalid use of undefined type 'struct 
pinctrl_pin_desc'
 kfree(apl_pinctrl_pdata.name);
 ^
   drivers/mfd/lpc_ich.c: At top level:
   drivers/mfd/lpc_ich.c:1131:12: warning: 'lpc_ich_misc' defined but not used 
[-Wunused-function]
static int lpc_ich_misc(struct pci_dev *dev, enum lpc_chipsets chipset)
   ^

vim +175 drivers/mfd/lpc_ich.c

   169  static struct mfd_cell apl_gpio_devices[] = {
   170  {
   171  .name = "apl-pinctrl",
   172  .id = 0,
   173  .num_resources = ARRAY_SIZE(apl_gpio_io_res),
   174  .resources = apl_gpio_io_res,
 > 175  .pdata_size = sizeof(apl_pinctrl_pdata),
   176  .platform_data = &apl_pinctrl_pdata,
   177  .ignore_resource_conflicts = true,
   178  },
   179  {
   180  .name = "apl-pinctrl",
   181  .id = 1,
   182  .num_resources = ARRAY_SIZE(apl_gpio_io_res),
   183  .resources = apl_gpio_io_res,
   184  .pdata_size = sizeof(apl_pinctrl_pdata),
   185  .platform_data = &apl_pinctrl_pdata,
   186  .ignore_resource_conflicts = true,
   187  },
   188  {
   189  .name = "apl-pinctrl",
   190  .id = 2,
   191  .num_resources = ARRAY_SIZE(apl_gpio_io_res),
   192  .resources = apl_gpio_io_res,
 > 193  .pdata_size = sizeof(apl_pinctrl_pdata),
   194  .platform_data = &apl_pinctrl_pdata,
   195  .ignore_resource_conflicts = true,
   196  },
   197  {
   198  .name = "apl-pinctrl",
   199  .id = 3,
   200  .num_resources = ARRAY_SIZE(apl_gpio_io_res),
   201  .resources = apl_gpio_io_res,
 > 202  .pdata_size = sizeof(apl_pinctrl_pdata),
   203  .platform_data = &apl_pinctrl_pdata,
   204  .ignore_resource_conflicts = true,
   205  },

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/3] iio: potentiometer: mcp4531: Add device tree binding

2016-06-21 Thread kbuild test robot
Hi,

[auto build test WARNING on iio/togreg]
[also build test WARNING on v4.7-rc4 next-20160620]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Florian-Vaussard/iio-potentiometer-mcp4531-New-parts-and-device-tree/20160621-150032
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: x86_64-randconfig-i0-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/iio/potentiometer/mcp4531.c: In function 'mcp4531_probe':
>> drivers/iio/potentiometer/mcp4531.c:280:11: warning: cast from pointer to 
>> integer of different size [-Wpointer-to-int-cast]
  devid = (int)of_device_get_match_data(dev);
  ^

vim +280 drivers/iio/potentiometer/mcp4531.c

   264   const struct i2c_device_id *id)
   265  {
   266  struct device *dev = &client->dev;
   267  unsigned long devid;
   268  struct mcp4531_data *data;
   269  struct iio_dev *indio_dev;
   270  const struct of_device_id *match;
   271  
   272  if (!i2c_check_functionality(client->adapter,
   273   I2C_FUNC_SMBUS_WORD_DATA)) {
   274  dev_err(dev, "SMBUS Word Data not supported\n");
   275  return -EOPNOTSUPP;
   276  }
   277  
   278  match = of_match_device(of_match_ptr(mcp45xx_of_match), dev);
   279  if (match)
 > 280  devid = (int)of_device_get_match_data(dev);
   281  else
   282  devid = id->driver_data;
   283  
   284  indio_dev = devm_iio_device_alloc(dev, sizeof(*data));
   285  if (!indio_dev)
   286  return -ENOMEM;
   287  data = iio_priv(indio_dev);
   288  i2c_set_clientdata(client, indio_dev);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/3] ARM: dts: rockchip: add i2s nodes for RK3228 SoCs

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Xing-Zheng/ARM-dts-rockchip-add-i2s-nodes-for-RK3228-SoCs/20160621-152723
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git 
for-next
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/rk3228.dtsi:249.29-30 syntax error
   FATAL ERROR: Unable to parse input tree

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Thomas-Rowland/include-net-cfg802154-rename-ieee802154_llsec_device-hwaddr-to-extended_addr/20160621-182617
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   net/mac802154/llsec.c: In function 'llsec_dev_find_long':
>> net/mac802154/llsec.c:333:15: error: 'struct ieee802154_llsec_device' has no 
>> member named 'hwaddr'
  if (dev->dev.hwaddr == hwaddr)
  ^
   net/mac802154/llsec.c: In function 'llsec_lookup_dev':
   net/mac802154/llsec.c:799:16: error: 'struct ieee802154_llsec_device' has no 
member named 'hwaddr'
   if (dev->dev.hwaddr == devaddr.extended_addr)
   ^
   net/mac802154/llsec.c: In function 'mac802154_llsec_decrypt':
   net/mac802154/llsec.c:1037:21: error: 'struct ieee802154_llsec_device' has 
no member named 'hwaddr'
 dev_addr = dev->dev.hwaddr;
^

vim +333 net/mac802154/llsec.c

5d637d5a Phoebe Buckheister 2014-05-16  327  llsec_dev_find_long(struct 
mac802154_llsec *sec, __le64 hwaddr)
5d637d5a Phoebe Buckheister 2014-05-16  328  {
5d637d5a Phoebe Buckheister 2014-05-16  329 struct mac802154_llsec_device 
*dev;
5d637d5a Phoebe Buckheister 2014-05-16  330 u64 key = 
llsec_dev_hash_long(hwaddr);
5d637d5a Phoebe Buckheister 2014-05-16  331  
5d637d5a Phoebe Buckheister 2014-05-16  332 
hash_for_each_possible_rcu(sec->devices_hw, dev, bucket_hw, key) {
5d637d5a Phoebe Buckheister 2014-05-16 @333 if (dev->dev.hwaddr == 
hwaddr)
5d637d5a Phoebe Buckheister 2014-05-16  334 return dev;
5d637d5a Phoebe Buckheister 2014-05-16  335 }
5d637d5a Phoebe Buckheister 2014-05-16  336  

:: The code at line 333 was first introduced by commit
:: 5d637d5aabd85132bd85779677d8acb708e0ed90 mac802154: add llsec structures 
and mutators

:: TO: Phoebe Buckheister 
:: CC: David S. Miller 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Thomas-Rowland/include-net-cfg802154-rename-ieee802154_llsec_device-hwaddr-to-extended_addr/20160621-182617
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/ieee802154/nl-mac.c: In function 'llsec_parse_dev':
>> net/ieee802154/nl-mac.c:1003:5: error: 'struct ieee802154_llsec_device' has 
>> no member named 'hwaddr'; did you mean 'short_addr'?
 dev->hwaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
^~
   net/ieee802154/nl-mac.c: In function 'ieee802154_nl_fill_dev':
>> net/ieee802154/nl-mac.c:1069:55: error: 'const struct 
>> ieee802154_llsec_device' has no member named 'hwaddr'; did you mean 
>> 'short_addr'?
 nla_put_hwaddr(msg, IEEE802154_ATTR_HW_ADDR, desc->hwaddr,
  ^~
   net/ieee802154/nl-mac.c: In function 'llsec_iter_devkeys':
   net/ieee802154/nl-mac.c:1208:17: error: 'struct ieee802154_llsec_device' has 
no member named 'hwaddr'; did you mean 'short_addr'?
dpos->hwaddr, kpos,
^~

vim +1003 net/ieee802154/nl-mac.c

3e9c156e Phoebe Buckheister 2014-05-16   997dev->pan_id = 
nla_get_shortaddr(info->attrs[IEEE802154_ATTR_PAN_ID]);
3e9c156e Phoebe Buckheister 2014-05-16   998dev->short_addr = 
nla_get_shortaddr(info->attrs[IEEE802154_ATTR_SHORT_ADDR]);
3e9c156e Phoebe Buckheister 2014-05-16   999} else {
3e9c156e Phoebe Buckheister 2014-05-16  1000dev->short_addr = 
cpu_to_le16(IEEE802154_ADDR_UNDEF);
3e9c156e Phoebe Buckheister 2014-05-16  1001}
3e9c156e Phoebe Buckheister 2014-05-16  1002  
3e9c156e Phoebe Buckheister 2014-05-16 @1003dev->hwaddr = 
nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
3e9c156e Phoebe Buckheister 2014-05-16  1004dev->frame_counter = 
nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]);
3e9c156e Phoebe Buckheister 2014-05-16  1005dev->seclevel_exempt = 
!!nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE]);
3e9c156e Phoebe Buckheister 2014-05-16  1006dev->key_mode = 
nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_KEY_MODE]);
3e9c156e Phoebe Buckheister 2014-05-16  1007  
3e9c156e Phoebe Buckheister 2014-05-16  1008if (dev->key_mode >= 
__IEEE802154_LLSEC_DEVKEY_MAX)
3e9c156e Phoebe Buckheister 2014-05-16  1009return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1010  
3e9c156e Phoebe Buckheister 2014-05-16  1011return 0;
3e9c156e Phoebe Buckheister 2014-05-16  1012  }
3e9c156e Phoebe Buckheister 2014-05-16  1013  
3e9c156e Phoebe Buckheister 2014-05-16  1014  static int llsec_add_dev(struct 
net_device *dev, struct genl_info *info)
3e9c156e Phoebe Buckheister 2014-05-16  1015  {
3e9c156e Phoebe Buckheister 2014-05-16  1016struct ieee802154_mlme_ops *ops 
= ieee802154_mlme_ops(dev);
3e9c156e Phoebe Buckheister 2014-05-16  1017struct ieee802154_llsec_device 
desc;
3e9c156e Phoebe Buckheister 2014-05-16  1018  
3e9c156e Phoebe Buckheister 2014-05-16  1019if (llsec_parse_dev(info, 
&desc))
3e9c156e Phoebe Buckheister 2014-05-16  1020return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1021  
3e9c156e Phoebe Buckheister 2014-05-16  1022return ops->llsec->add_dev(dev, 
&desc);
3e9c156e Phoebe Buckheister 2014-05-16  1023  }
3e9c156e Phoebe Buckheister 2014-05-16  1024  
3e9c156e Phoebe Buckheister 2014-05-16  1025  int 
ieee802154_llsec_add_dev(struct sk_buff *skb, struct genl_info *info)
3e9c156e Phoebe Buckheister 2014-05-16  1026  {
3e9c156e Phoebe Buckheister 2014-05-16  1027if ((info->nlhdr->nlmsg_flags & 
(NLM_F_CREATE | NLM_F_EXCL)) !=
3e9c156e Phoebe Buckheister 2014-05-16  1028(NLM_F_CREATE | NLM_F_EXCL))
3e9c156e Phoebe Buckheister 2014-05-16  1029return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1030  
3e9c156e Phoebe Buckheister 2014-05-16  1031return 
ieee802154_nl_llsec_change(skb, info, llsec_add_dev);
3e9c156e Phoebe Buckheister 2014-05-16  1032  }
3e9c156e Phoebe Buckheister 2014-05-16  1033  
3e9c156e Phoebe Buckheister 2014-05-16  1034  static int llsec_del_dev(struct 
net_device *dev, struct genl_info *info)
3e9c156e Phoebe Buckheister 2014-05-16  1035  {
3e9c156e Phoebe Buckheister 2014-05-16  1036struct ieee802154_mlme_ops *ops 
= ieee802154_mlme_ops(dev);
3e9c156e Phoebe Buckheister 2014-05-16  1037__le64 devaddr;
3e9c156e Phoebe Buckheister 2014-05-16  1038  
3e9c156e Phoebe Buckheister 2014-05-16  1039if 
(!info->attrs[IEEE802154_ATTR_HW_ADDR])
3e9c156e Phoebe Buckheister 2014-05-16  1040return -EINVAL;
3e9c15

Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Thomas-Rowland/include-net-cfg802154-rename-ieee802154_llsec_device-hwaddr-to-extended_addr/20160621-182617
config: x86_64-rhel (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/ieee802154/nl-mac.c: In function 'llsec_parse_dev':
>> net/ieee802154/nl-mac.c:1003:5: error: 'struct ieee802154_llsec_device' has 
>> no member named 'hwaddr'
 dev->hwaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
^
   net/ieee802154/nl-mac.c: In function 'ieee802154_nl_fill_dev':
>> net/ieee802154/nl-mac.c:1069:55: error: 'const struct 
>> ieee802154_llsec_device' has no member named 'hwaddr'
 nla_put_hwaddr(msg, IEEE802154_ATTR_HW_ADDR, desc->hwaddr,
  ^
   net/ieee802154/nl-mac.c: In function 'llsec_iter_devkeys':
   net/ieee802154/nl-mac.c:1208:17: error: 'struct ieee802154_llsec_device' has 
no member named 'hwaddr'
dpos->hwaddr, kpos,
^

vim +1003 net/ieee802154/nl-mac.c

3e9c156e Phoebe Buckheister 2014-05-16   997dev->pan_id = 
nla_get_shortaddr(info->attrs[IEEE802154_ATTR_PAN_ID]);
3e9c156e Phoebe Buckheister 2014-05-16   998dev->short_addr = 
nla_get_shortaddr(info->attrs[IEEE802154_ATTR_SHORT_ADDR]);
3e9c156e Phoebe Buckheister 2014-05-16   999} else {
3e9c156e Phoebe Buckheister 2014-05-16  1000dev->short_addr = 
cpu_to_le16(IEEE802154_ADDR_UNDEF);
3e9c156e Phoebe Buckheister 2014-05-16  1001}
3e9c156e Phoebe Buckheister 2014-05-16  1002  
3e9c156e Phoebe Buckheister 2014-05-16 @1003dev->hwaddr = 
nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
3e9c156e Phoebe Buckheister 2014-05-16  1004dev->frame_counter = 
nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]);
3e9c156e Phoebe Buckheister 2014-05-16  1005dev->seclevel_exempt = 
!!nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE]);
3e9c156e Phoebe Buckheister 2014-05-16  1006dev->key_mode = 
nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_KEY_MODE]);
3e9c156e Phoebe Buckheister 2014-05-16  1007  
3e9c156e Phoebe Buckheister 2014-05-16  1008if (dev->key_mode >= 
__IEEE802154_LLSEC_DEVKEY_MAX)
3e9c156e Phoebe Buckheister 2014-05-16  1009return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1010  
3e9c156e Phoebe Buckheister 2014-05-16  1011return 0;
3e9c156e Phoebe Buckheister 2014-05-16  1012  }
3e9c156e Phoebe Buckheister 2014-05-16  1013  
3e9c156e Phoebe Buckheister 2014-05-16  1014  static int llsec_add_dev(struct 
net_device *dev, struct genl_info *info)
3e9c156e Phoebe Buckheister 2014-05-16  1015  {
3e9c156e Phoebe Buckheister 2014-05-16  1016struct ieee802154_mlme_ops *ops 
= ieee802154_mlme_ops(dev);
3e9c156e Phoebe Buckheister 2014-05-16  1017struct ieee802154_llsec_device 
desc;
3e9c156e Phoebe Buckheister 2014-05-16  1018  
3e9c156e Phoebe Buckheister 2014-05-16  1019if (llsec_parse_dev(info, 
&desc))
3e9c156e Phoebe Buckheister 2014-05-16  1020return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1021  
3e9c156e Phoebe Buckheister 2014-05-16  1022return ops->llsec->add_dev(dev, 
&desc);
3e9c156e Phoebe Buckheister 2014-05-16  1023  }
3e9c156e Phoebe Buckheister 2014-05-16  1024  
3e9c156e Phoebe Buckheister 2014-05-16  1025  int 
ieee802154_llsec_add_dev(struct sk_buff *skb, struct genl_info *info)
3e9c156e Phoebe Buckheister 2014-05-16  1026  {
3e9c156e Phoebe Buckheister 2014-05-16  1027if ((info->nlhdr->nlmsg_flags & 
(NLM_F_CREATE | NLM_F_EXCL)) !=
3e9c156e Phoebe Buckheister 2014-05-16  1028(NLM_F_CREATE | NLM_F_EXCL))
3e9c156e Phoebe Buckheister 2014-05-16  1029return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1030  
3e9c156e Phoebe Buckheister 2014-05-16  1031return 
ieee802154_nl_llsec_change(skb, info, llsec_add_dev);
3e9c156e Phoebe Buckheister 2014-05-16  1032  }
3e9c156e Phoebe Buckheister 2014-05-16  1033  
3e9c156e Phoebe Buckheister 2014-05-16  1034  static int llsec_del_dev(struct 
net_device *dev, struct genl_info *info)
3e9c156e Phoebe Buckheister 2014-05-16  1035  {
3e9c156e Phoebe Buckheister 2014-05-16  1036struct ieee802154_mlme_ops *ops 
= ieee802154_mlme_ops(dev);
3e9c156e Phoebe Buckheister 2014-05-16  1037__le64 devaddr;
3e9c156e Phoebe Buckheister 2014-05-16  1038  
3e9c156e Phoebe Buckheister 2014-05-16  1039if 
(!info->attrs[IEEE802154_ATTR_HW_ADDR])
3e9c156e Phoebe Buckheister 2014-05-16  1040return -EINVAL;
3e9c156e Phoebe Buckheister 2014-05-16  1041  
3e9c156e Phoebe Buckheister 2014-05-16  1042devaddr = 
nla_g

Re: [PATCH 3/3] iio: adc: max1363: Add device tree binding

2016-06-21 Thread kbuild test robot
Hi,

[auto build test WARNING on iio/togreg]
[cannot apply to v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Florian-Vaussard/iio-adc-max1363-Fix-missing-parts-and-add-device-tree/20160621-174542
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/iio/adc/max1363.c: In function 'max1363_probe':
>> drivers/iio/adc/max1363.c:1578:11: warning: cast from pointer to integer of 
>> different size [-Wpointer-to-int-cast]
  devid = (int)of_device_get_match_data(&client->dev);
  ^

vim +1578 drivers/iio/adc/max1363.c

  1562  };
  1563  #endif
  1564  
  1565  static int max1363_probe(struct i2c_client *client,
  1566   const struct i2c_device_id *id)
  1567  {
  1568  int ret;
  1569  struct max1363_state *st;
  1570  struct iio_dev *indio_dev;
  1571  struct regulator *vref;
  1572  unsigned long devid;
  1573  const struct of_device_id *match;
  1574  
  1575  match = of_match_device(of_match_ptr(max1363_of_match),
  1576  &client->dev);
  1577  if (match)
> 1578  devid = (int)of_device_get_match_data(&client->dev);
  1579  else
  1580  devid = id->driver_data;
  1581  
  1582  indio_dev = devm_iio_device_alloc(&client->dev,
  1583sizeof(struct max1363_state));
  1584  if (!indio_dev)
  1585  return -ENOMEM;
  1586  

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace-filter/20160621-191210
config: i386-randconfig-a0-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   kernel/built-in.o: In function `wakeup_tracer_reset':
>> trace_sched_wakeup.c:(.text+0xc5282): undefined reference to 
>> `ftrace_graph_ignore_notrace'
   kernel/built-in.o: In function `__wakeup_tracer_init':
   trace_sched_wakeup.c:(.text+0xc547d): undefined reference to 
`ftrace_graph_ignore_notrace'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace-filter/20160621-191210
config: i386-randconfig-r0-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   kernel/built-in.o: In function `irqsoff_tracer_reset':
>> trace_irqsoff.c:(.text+0x8d38f): undefined reference to 
>> `ftrace_graph_ignore_notrace'
   kernel/built-in.o: In function `__irqsoff_tracer_init':
   trace_irqsoff.c:(.text+0x8d3fa): undefined reference to 
`ftrace_graph_ignore_notrace'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on v4.7-rc4]
[also build test ERROR on next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/zhongjiang/mm-huge_memory-fix-the-memory-leak-due-to-the-race/20160621-221736
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   In file included from arch/sparc/include/asm/pgalloc.h:4:0,
from arch/sparc/include/asm/tlb_64.h:6,
from arch/sparc/include/asm/tlb.h:4,
from mm/huge_memory.c:34:
   mm/huge_memory.c: In function 'do_huge_pmd_wp_page':
>> mm/huge_memory.c:1383:25: error: incompatible type for argument 3 of 
>> 'pmd_set'
  pmd_populate(mm, pmd, entry);
^
   arch/sparc/include/asm/pgalloc_64.h:72:54: note: in definition of macro 
'pmd_populate'
#define pmd_populate(MM, PMD, PTE)  pmd_set(MM, PMD, PTE)
 ^
   In file included from arch/sparc/include/asm/pgtable.h:4:0,
from include/linux/mm.h:68,
from mm/huge_memory.c:10:
   arch/sparc/include/asm/pgtable_64.h:796:20: note: expected 'pte_t * {aka 
struct  *}' but argument is of type 'pmd_t {aka struct }'
static inline void pmd_set(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep)
   ^

vim +/pmd_set +1383 mm/huge_memory.c

  1377  entry = mk_huge_pmd(new_page, vma->vm_page_prot);
  1378  entry = maybe_pmd_mkwrite(pmd_mkdirty(entry), vma);
  1379  pmdp_invalidate(vma, haddr, pmd);   
  1380  page_add_new_anon_rmap(new_page, vma, haddr, true);
  1381  mem_cgroup_commit_charge(new_page, memcg, false, true);
  1382  lru_cache_add_active_or_unevictable(new_page, vma);
> 1383  pmd_populate(mm, pmd, entry);
  1384  update_mmu_cache_pmd(vma, address, pmd);
  1385  if (!page) {
  1386  add_mm_counter(mm, MM_ANONPAGES, HPAGE_PMD_NR);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] mm/huge_memory: fix the memory leak due to the race

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on v4.7-rc4]
[also build test ERROR on next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/zhongjiang/mm-huge_memory-fix-the-memory-leak-due-to-the-race/20160621-221736
config: s390-allyesconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   mm/huge_memory.c: In function 'do_huge_pmd_wp_page':
>> mm/huge_memory.c:1383:25: error: incompatible type for argument 3 of 
>> 'pmd_populate'
  pmd_populate(mm, pmd, entry);
^
   In file included from arch/s390/include/asm/tlbflush.h:7:0,
from include/linux/hugetlb.h:21,
from mm/huge_memory.c:13:
   arch/s390/include/asm/pgalloc.h:120:20: note: expected 'pgtable_t {aka 
struct  *}' but argument is of type 'pmd_t {aka struct }'
static inline void pmd_populate(struct mm_struct *mm,
   ^

vim +/pmd_populate +1383 mm/huge_memory.c

  1377  entry = mk_huge_pmd(new_page, vma->vm_page_prot);
  1378  entry = maybe_pmd_mkwrite(pmd_mkdirty(entry), vma);
  1379  pmdp_invalidate(vma, haddr, pmd);   
  1380  page_add_new_anon_rmap(new_page, vma, haddr, true);
  1381  mem_cgroup_commit_charge(new_page, memcg, false, true);
  1382  lru_cache_add_active_or_unevictable(new_page, vma);
> 1383  pmd_populate(mm, pmd, entry);
  1384  update_mmu_cache_pmd(vma, address, pmd);
  1385  if (!page) {
  1386  add_mm_counter(mm, MM_ANONPAGES, HPAGE_PMD_NR);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-21 Thread kbuild test robot
Hi,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Prasun-Maiti/mwifiex-Reduce-endian-conversion-for-REG-Host-Commands/20160621-224149
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git 
master
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All warnings (new ones prefixed by >>):

   In file included from arch/sparc/include/asm/string.h:4:0,
from include/linux/string.h:18,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from include/linux/rcupdate.h:40,
from include/linux/sysctl.h:25,
from include/linux/timer.h:244,
from drivers/net/wireless/marvell/mwifiex/decl.h:27,
from drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:20:
   drivers/net/wireless/marvell/mwifiex/sta_ioctl.c: In function 
'mwifiex_eeprom_read':
   include/linux/kernel.h:742:17: warning: comparison of distinct pointer types 
lacks a cast
 (void) (&_min1 == &_min2);  \
^
   arch/sparc/include/asm/string_64.h:25:48: note: in definition of macro 
'memcpy'
#define memcpy(t, f, n) __builtin_memcpy(t, f, n)
   ^
>> drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:1339:34: note: in expansion 
>> of macro 'min'
  memcpy(value, rd_eeprom.value, min(MAX_EEPROM_DATA,
 ^
--
   In file included from arch/sparc/include/asm/string.h:4:0,
from include/linux/string.h:18,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from include/linux/rcupdate.h:40,
from include/linux/sysctl.h:25,
from include/linux/timer.h:244,
from drivers/net/wireless/marvell/mwifiex/decl.h:27,
from drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c:20:
   drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c: In function 
'mwifiex_ret_reg_access':
   include/linux/kernel.h:742:17: warning: comparison of distinct pointer types 
lacks a cast
 (void) (&_min1 == &_min2);  \
^
   arch/sparc/include/asm/string_64.h:25:48: note: in definition of macro 
'memcpy'
#define memcpy(t, f, n) __builtin_memcpy(t, f, n)
   ^
>> drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c:821:6: note: in expansion 
>> of macro 'min'
 min(MAX_EEPROM_DATA, eeprom->byte_count));
 ^

vim +/min +1339 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c

  1323   */
  1324  int
  1325  mwifiex_eeprom_read(struct mwifiex_private *priv, u16 offset, u16 bytes,
  1326  u8 *value)
  1327  {
  1328  int ret;
  1329  struct mwifiex_ds_read_eeprom rd_eeprom;
  1330  
  1331  rd_eeprom.offset =  offset;
  1332  rd_eeprom.byte_count = bytes;
  1333  
  1334  /* Send request to firmware */
  1335  ret = mwifiex_send_cmd(priv, HostCmd_CMD_802_11_EEPROM_ACCESS,
  1336 HostCmd_ACT_GEN_GET, 0, &rd_eeprom, 
true);
  1337  
  1338  if (!ret)
> 1339  memcpy(value, rd_eeprom.value, min(MAX_EEPROM_DATA,
  1340  rd_eeprom.byte_count));
  1341  return ret;
  1342  }
  1343  
  1344  /*
  1345   * This function sets a generic IE. In addition to generic IE, it can
  1346   * also handle WPA, WPA2 and WAPI IEs.
  1347   */

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-21 Thread kbuild test robot
Hi,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Prasun-Maiti/mwifiex-Reduce-endian-conversion-for-REG-Host-Commands/20160621-224149
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git 
master
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   drivers/net/wireless/marvell/mwifiex/sta_ioctl.c: In function 
'mwifiex_eeprom_read':
>> drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:1339:34: warning: 
>> comparison of distinct pointer types lacks a cast [enabled by default]
--
   drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c: In function 
'mwifiex_ret_reg_access':
>> drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c:821:6: warning: 
>> comparison of distinct pointer types lacks a cast [enabled by default]

vim +1339 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c

  1323   */
  1324  int
  1325  mwifiex_eeprom_read(struct mwifiex_private *priv, u16 offset, u16 bytes,
  1326  u8 *value)
  1327  {
  1328  int ret;
  1329  struct mwifiex_ds_read_eeprom rd_eeprom;
  1330  
  1331  rd_eeprom.offset =  offset;
  1332  rd_eeprom.byte_count = bytes;
  1333  
  1334  /* Send request to firmware */
  1335  ret = mwifiex_send_cmd(priv, HostCmd_CMD_802_11_EEPROM_ACCESS,
  1336 HostCmd_ACT_GEN_GET, 0, &rd_eeprom, 
true);
  1337  
  1338  if (!ret)
> 1339  memcpy(value, rd_eeprom.value, min(MAX_EEPROM_DATA,
  1340  rd_eeprom.byte_count));
  1341  return ret;
  1342  }
  1343  
  1344  /*
  1345   * This function sets a generic IE. In addition to generic IE, it can
  1346   * also handle WPA, WPA2 and WAPI IEs.
  1347   */

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/5] clk: rockchip: rk3228: fix incorrect clock node names

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Xing-Zheng/Fix-and-improve-clock-controller-for-the-RK322x-SoCs/20160621-130641
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git 
for-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64 

Note: the 
linux-review/Xing-Zheng/Fix-and-improve-clock-controller-for-the-RK322x-SoCs/20160621-130641
 HEAD 46fe9dec31bc488791124a6237caa95c0cd75a30 builds fine.
  It only hurts bisectibility.

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

>> drivers/clk/rockchip/clk-rk3228.c:667:0: error: unterminated argument list 
>> invoking macro "COMPOSITE_FRAC"
CLK_OF_DECLARE(rk3228_cru, "rockchip,rk3228-cru", rk3228_clk_init);
^
>> drivers/clk/rockchip/clk-rk3228.c:392:2: error: 'COMPOSITE_FRAC' undeclared 
>> here (not in a function)
 COMPOSITE_FRAC(0, "i2s1_frac", "i2s1_src", CLK_SET_RATE_PARENT,
 ^
>> drivers/clk/rockchip/clk-rk3228.c:392:2: error: expected '}' at end of input
>> drivers/clk/rockchip/clk-rk3228.c:104:42: warning: 'rk3228_cpuclk_rates' 
>> defined but not used [-Wunused-variable]
static struct rockchip_cpuclk_rate_table rk3228_cpuclk_rates[] __initdata = 
{
 ^
>> drivers/clk/rockchip/clk-rk3228.c:158:34: warning: 'rk3228_pll_clks' defined 
>> but not used [-Wunused-variable]
static struct rockchip_pll_clock rk3228_pll_clks[] __initdata = {
 ^
>> drivers/clk/rockchip/clk-rk3228.c:173:35: warning: 'rk3228_clk_branches' 
>> defined but not used [-Wunused-variable]
static struct rockchip_clk_branch rk3228_clk_branches[] __initdata = {
  ^

vim +/COMPOSITE_FRAC +667 drivers/clk/rockchip/clk-rk3228.c

307a2e9ac Jeffy Chen 2015-12-11  661  
ROCKCHIP_SOFTRST_HIWORD_MASK);
307a2e9ac Jeffy Chen 2015-12-11  662  
ef1d9feec Xing Zheng 2016-03-09  663rockchip_register_restart_notifier(ctx, 
RK3228_GLB_SRST_FST, NULL);
ef1d9feec Xing Zheng 2016-03-09  664  
ef1d9feec Xing Zheng 2016-03-09  665rockchip_clk_of_add_provider(np, ctx);
307a2e9ac Jeffy Chen 2015-12-11  666  }
307a2e9ac Jeffy Chen 2015-12-11 @667  CLK_OF_DECLARE(rk3228_cru, 
"rockchip,rk3228-cru", rk3228_clk_init);

:: The code at line 667 was first introduced by commit
:: 307a2e9ac524bbec707c0e2b47ca50adaecc23f2 clk: rockchip: add clock 
controller for rk3228

:: TO: Jeffy Chen 
:: CC: Heiko Stuebner 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-21 Thread kbuild test robot
Hi,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Prasun-Maiti/mwifiex-Reduce-endian-conversion-for-REG-Host-Commands/20160621-224149
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git 
master
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:1339:17: sparse: 
>> incompatible types in comparison expression (different base types)
   In file included from include/linux/list.h:8:0,
from include/linux/wait.h:6,
from drivers/net/wireless/marvell/mwifiex/decl.h:26,
from drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:20:
   drivers/net/wireless/marvell/mwifiex/sta_ioctl.c: In function 
'mwifiex_eeprom_read':
   include/linux/kernel.h:742:17: warning: comparison of distinct pointer types 
lacks a cast
 (void) (&_min1 == &_min2);  \
^
   drivers/net/wireless/marvell/mwifiex/sta_ioctl.c:1339:34: note: in expansion 
of macro 'min'
  memcpy(value, rd_eeprom.value, min(MAX_EEPROM_DATA,
 ^~~
--
   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c:820:25: sparse: 
>> incompatible types in comparison expression (different base types)
   In file included from include/linux/list.h:8:0,
from include/linux/wait.h:6,
from drivers/net/wireless/marvell/mwifiex/decl.h:26,
from drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c:20:
   drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c: In function 
'mwifiex_ret_reg_access':
   include/linux/kernel.h:742:17: warning: comparison of distinct pointer types 
lacks a cast
 (void) (&_min1 == &_min2);  \
^
   drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c:821:6: note: in expansion 
of macro 'min'
 min(MAX_EEPROM_DATA, eeprom->byte_count));
 ^~~

vim +1339 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c

  1323   */
  1324  int
  1325  mwifiex_eeprom_read(struct mwifiex_private *priv, u16 offset, u16 bytes,
  1326  u8 *value)
  1327  {
  1328  int ret;
  1329  struct mwifiex_ds_read_eeprom rd_eeprom;
  1330  
  1331  rd_eeprom.offset =  offset;
  1332  rd_eeprom.byte_count = bytes;
  1333  
  1334  /* Send request to firmware */
  1335  ret = mwifiex_send_cmd(priv, HostCmd_CMD_802_11_EEPROM_ACCESS,
  1336 HostCmd_ACT_GEN_GET, 0, &rd_eeprom, 
true);
  1337  
  1338  if (!ret)
> 1339  memcpy(value, rd_eeprom.value, min(MAX_EEPROM_DATA,
  1340  rd_eeprom.byte_count));
  1341  return ret;
  1342  }
  1343  
  1344  /*
  1345   * This function sets a generic IE. In addition to generic IE, it can
  1346   * also handle WPA, WPA2 and WAPI IEs.
  1347   */

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


Re: [PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on next-20160621]

url:
https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800
config: i386-randconfig-s1-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

   net/core/filter.c: In function 'bpf_skb_in_cgroup':
>> net/core/filter.c:2049:30: error: implicit declaration of function 
>> 'sock_cgroup_ptr' [-Werror=implicit-function-declaration]
 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), cgrp);
 ^~~
>> net/core/filter.c:2049:30: warning: passing argument 1 of 
>> 'cgroup_is_descendant' makes pointer from integer without a cast 
>> [-Wint-conversion]
   In file included from include/net/netprio_cgroup.h:17:0,
from include/linux/netdevice.h:48,
from net/core/filter.c:31:
   include/linux/cgroup.h:492:20: note: expected 'struct cgroup *' but argument 
is of type 'int'
static inline bool cgroup_is_descendant(struct cgroup *cgrp,
   ^~~~
   cc1: some warnings being treated as errors

vim +/sock_cgroup_ptr +2049 net/core/filter.c

  2043  return -E2BIG;
  2044  
  2045  cgrp = READ_ONCE(array->ptrs[i]);
  2046  if (unlikely(!cgrp))
  2047  return -ENOENT;
  2048  
> 2049  return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), 
> cgrp);
  2050  }
  2051  
  2052  static const struct bpf_func_proto bpf_skb_in_cgroup_proto = {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH -next 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on next-20160621]

url:
https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800
config: sh-titan_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   net/core/filter.c: In function 'bpf_skb_in_cgroup':
>> net/core/filter.c:2049:9: error: implicit declaration of function 
>> 'cgroup_is_descendant' [-Werror=implicit-function-declaration]
 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), cgrp);
^
   net/core/filter.c:2049:30: error: implicit declaration of function 
'sock_cgroup_ptr' [-Werror=implicit-function-declaration]
 return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), cgrp);
 ^
   cc1: some warnings being treated as errors

vim +/cgroup_is_descendant +2049 net/core/filter.c

  2043  return -E2BIG;
  2044  
  2045  cgrp = READ_ONCE(array->ptrs[i]);
  2046  if (unlikely(!cgrp))
  2047  return -ENOENT;
  2048  
> 2049  return cgroup_is_descendant(sock_cgroup_ptr(&sk->sk_cgrp_data), 
> cgrp);
  2050  }
  2051  
  2052  static const struct bpf_func_proto bpf_skb_in_cgroup_proto = {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH -next 2/4] cgroup: bpf: Add BPF_MAP_TYPE_CGROUP_ARRAY

2016-06-21 Thread kbuild test robot
Hi,

[auto build test ERROR on next-20160621]

url:
https://github.com/0day-ci/linux/commits/Martin-KaFai-Lau/cgroup-bpf-cgroup2-membership-test-on-skb/20160622-082800
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k 

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

   kernel/bpf/arraymap.c: In function 'cgroup_fd_array_get_ptr':
>> kernel/bpf/arraymap.c:547:2: error: implicit declaration of function 
>> 'cgroup_get_from_fd' [-Werror=implicit-function-declaration]
 return cgroup_get_from_fd(fd);
 ^
>> kernel/bpf/arraymap.c:547:2: warning: return makes pointer from integer 
>> without a cast
   kernel/bpf/arraymap.c: In function 'cgroup_fd_array_put_ptr':
>> kernel/bpf/arraymap.c:553:2: error: implicit declaration of function 
>> 'cgroup_put' [-Werror=implicit-function-declaration]
 cgroup_put(ptr);
 ^
   cc1: some warnings being treated as errors

vim +/cgroup_get_from_fd +547 kernel/bpf/arraymap.c

   541  late_initcall(register_perf_event_array_map);
   542  
   543  static void *cgroup_fd_array_get_ptr(struct bpf_map *map,
   544   struct file *map_file /* not used 
*/,
   545   int fd)
   546  {
 > 547  return cgroup_get_from_fd(fd);
   548  }
   549  
   550  static void cgroup_fd_array_put_ptr(void *ptr)
   551  {
   552  /* cgroup_put free cgrp after a rcu grace period */
 > 553  cgroup_put(ptr);
   554  }
   555  
   556  static void cgroup_fd_array_free(struct bpf_map *map)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] PCI/MSI: Simplify the return value of arch_setup_msi_irqs

2016-06-21 Thread kbuild test robot
Hi,

[auto build test WARNING on pci/next]
[also build test WARNING on v4.7-rc4 next-20160621]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:
https://github.com/0day-ci/linux/commits/Shawn-Lin/PCI-MSI-Simplify-the-return-value-of-arch_setup_msi_irqs/20160622-103824
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from include/linux/preempt.h:10:0,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from drivers/pci/msi.c:10:
   drivers/pci/msi.c: In function 'arch_setup_msi_irqs':
   include/linux/list.h:447:2: warning: this 'for' clause does not guard... 
[-Wmisleading-indentation]
 for (pos = list_first_entry(head, typeof(*pos), member); \
 ^
>> include/linux/msi.h:108:2: note: in expansion of macro 'list_for_each_entry'
 list_for_each_entry((desc), dev_to_msi_list((dev)), list)
 ^~~
>> include/linux/msi.h:113:2: note: in expansion of macro 'for_each_msi_entry'
 for_each_msi_entry((desc), &(pdev)->dev)
 ^~
>> drivers/pci/msi.c:122:2: note: in expansion of macro 'for_each_pci_msi_entry'
 for_each_pci_msi_entry(entry, dev)
 ^~
   drivers/pci/msi.c:124:3: note: ...this statement, but the latter is 
misleadingly indented as if it is guarded by the 'for'
  if (ret)
  ^~

vim +/for_each_pci_msi_entry +122 drivers/pci/msi.c

   106  
   107  int __weak arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
   108  {
   109  struct msi_controller *chip = dev->bus->msi;
   110  struct msi_desc *entry;
   111  int ret = 0;
   112  
   113  if (chip && chip->setup_irqs)
   114  return chip->setup_irqs(chip, dev, nvec, type);
   115  /*
   116   * If an architecture wants to support multiple MSI, it needs to
   117   * override arch_setup_msi_irqs()
   118   */
   119  if (type == PCI_CAP_ID_MSI && nvec > 1)
   120  return 1;
   121  
 > 122  for_each_pci_msi_entry(entry, dev)
   123  ret = arch_setup_msi_irq(dev, entry);
   124  if (ret)
   125  return -ENOSPC;
   126  
   127  return 0;
   128  }
   129  
   130  /*

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


[tip:sched/core 44/47] kernel/exit.o: warning: objtool: do_exit() falls through to next function complete_and_exit()

2016-09-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   a18a579e5f84daa74f64b1f1b652b4a6a8d6f8b4
commit: 9af6528ee9b682df7f29dbee86fbba0b67eab944 [44/47] sched/core: Optimize 
__schedule()
config: x86_64-randconfig-v0-09221826 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 9af6528ee9b682df7f29dbee86fbba0b67eab944
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> kernel/exit.o: warning: objtool: do_exit() falls through to next function 
>> complete_and_exit()

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


[tip:sched/core 44/47] kernel/exit.o: warning: objtool: do_exit() falls through to next function do_group_exit()

2016-09-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   a18a579e5f84daa74f64b1f1b652b4a6a8d6f8b4
commit: 9af6528ee9b682df7f29dbee86fbba0b67eab944 [44/47] sched/core: Optimize 
__schedule()
config: x86_64-randconfig-s1-09230134 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 9af6528ee9b682df7f29dbee86fbba0b67eab944
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> kernel/exit.o: warning: objtool: do_exit() falls through to next function 
>> do_group_exit()

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


vgacon.c:undefined reference to `screen_info'

2016-09-22 Thread kbuild test robot
Hi Chen,

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:   b1f2beb87bb034bb209773807994279f90cace78
commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: 
Kbuild: add default "vga.h"
date:   2 years, 11 months ago
config: openrisc-alldefconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f69405ce6c0fc9f4a039011007371b31f80b470d
# save the attached .config to linux build tree
make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `vgacon_save_screen':
>> vgacon.c:(.text+0x20e0): undefined reference to `screen_info'
   vgacon.c:(.text+0x20e8): undefined reference to `screen_info'
   drivers/built-in.o: In function `vgacon_init':
   vgacon.c:(.text+0x284c): undefined reference to `screen_info'
   vgacon.c:(.text+0x2850): undefined reference to `screen_info'
   drivers/built-in.o: In function `vgacon_startup':
   vgacon.c:(.text+0x28d8): undefined reference to `screen_info'
   drivers/built-in.o:vgacon.c:(.text+0x28f0): more undefined references to 
`screen_info' follow

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 'atomctl' for 'wsr' instruction

2016-09-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b1f2beb87bb034bb209773807994279f90cace78
commit: d0b73b488c55df905ea8faaad079f8535629ed26 xtensa: Add config files for 
Diamond 233L - Rev C processor variant
date:   3 years, 7 months ago
config: xtensa-generic_kc705_defconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d0b73b488c55df905ea8faaad079f8535629ed26
# save the attached .config to linux build tree
make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   arch/xtensa/include/asm/initialize_mmu.h: Assembler messages:
>> arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 
>> 'atomctl' for 'wsr' instruction

vim +41 arch/xtensa/include/asm/initialize_mmu.h

c622b29d Max Filippov 2012-11-19  25  
c622b29d Max Filippov 2012-11-19  26  #ifdef __ASSEMBLY__
c622b29d Max Filippov 2012-11-19  27  
c622b29d Max Filippov 2012-11-19  28  #define XTENSA_HWVERSION_RC_2009_0 23
c622b29d Max Filippov 2012-11-19  29  
c622b29d Max Filippov 2012-11-19  30.macro  initialize_mmu
c622b29d Max Filippov 2012-11-19  31  
c622b29d Max Filippov 2012-11-19  32  #if XCHAL_HAVE_S32C1I && 
(XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
c622b29d Max Filippov 2012-11-19  33  /*
c622b29d Max Filippov 2012-11-19  34   * We Have Atomic Operation Control 
(ATOMCTL) Register; Initialize it.
c622b29d Max Filippov 2012-11-19  35   * For details see 
Documentation/xtensa/atomctl.txt
c622b29d Max Filippov 2012-11-19  36   */
c622b29d Max Filippov 2012-11-19  37  #if XCHAL_DCACHE_IS_COHERENT
c622b29d Max Filippov 2012-11-19  38movia3, 0x25/* For SMP/MX 
-- internal for writeback,
c622b29d Max Filippov 2012-11-19  39 * RCW otherwise
c622b29d Max Filippov 2012-11-19  40 */
c622b29d Max Filippov 2012-11-19 @41  #else
c622b29d Max Filippov 2012-11-19  42movia3, 0x29/* non-MX -- 
Most cores use Std Memory
c622b29d Max Filippov 2012-11-19  43 * Controlers 
which usually can't use RCW
c622b29d Max Filippov 2012-11-19  44 */
c622b29d Max Filippov 2012-11-19  45  #endif
c622b29d Max Filippov 2012-11-19  46wsr a3, atomctl
c622b29d Max Filippov 2012-11-19  47  #endif  /* XCHAL_HAVE_S32C1I &&
c622b29d Max Filippov 2012-11-19  48 * (XCHAL_HW_MIN_VERSION >= 
XTENSA_HWVERSION_RC_2009_0)
c622b29d Max Filippov 2012-11-19  49 */

:: The code at line 41 was first introduced by commit
:: c622b29d1f38021411965b7e0170ab01b257 xtensa: initialize atomctl SR

:: TO: Max Filippov 
:: CC: Chris Zankel 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-09-22 Thread kbuild test robot
Hi Alex,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b1f2beb87bb034bb209773807994279f90cace78
commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation 
of a VDSO
date:   11 months ago
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ebb5e78cc63417a35254a791de66e1cc84f963cc
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'
/*

--
>> arch/mips/vdso/sigreturn.S:1:0: error: '-march=r3900' requires '-mfp32'
/*


vim +1 arch/mips/vdso/elf.S

   > 1  /*
 2   * Copyright (C) 2015 Imagination Technologies
 3   * Author: Alex Smith 
 4   *

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-09-22 Thread kbuild test robot
Hi Guenter,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b1f2beb87bb034bb209773807994279f90cace78
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error 
with binutils 2.24 and earlier
date:   9 months ago
config: mips-jmr3927_defconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
/*


vim +1 arch/mips/vdso/gettimeofday.c

a7f4df4e Alex Smith 2015-10-21 @1  /*
a7f4df4e Alex Smith 2015-10-21  2   * Copyright (C) 2015 Imagination 
Technologies
a7f4df4e Alex Smith 2015-10-21  3   * Author: Alex Smith 
a7f4df4e Alex Smith 2015-10-21  4   *
a7f4df4e Alex Smith 2015-10-21  5   * This program is free software; you can 
redistribute it and/or modify it
a7f4df4e Alex Smith 2015-10-21  6   * under the terms of the GNU General Public 
License as published by the
a7f4df4e Alex Smith 2015-10-21  7   * Free Software Foundation;  either version 
2 of the  License, or (at your
a7f4df4e Alex Smith 2015-10-21  8   * option) any later version.
a7f4df4e Alex Smith 2015-10-21  9   */

:: The code at line 1 was first introduced by commit
:: a7f4df4e21dd8a8dab96e88acd2c9c5017b83fc6 MIPS: VDSO: Add implementations 
of gettimeofday() and clock_gettime()

:: TO: Alex Smith 
:: CC: Ralf Baechle 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'

2016-09-22 Thread kbuild test robot
Hi Linus,

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:   b1f2beb87bb034bb209773807994279f90cace78
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on 
UM
date:   5 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 2527ecc9195e9c66252af24c4689e8a67cd4ccb9
# save the attached .config to linux build tree
make ARCH=um 

All errors (new ones prefixed by >>):

   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc7d1): warning: Using 'getgrnam' in statically linked applications 
requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc61c): warning: Using 'getpwuid' in statically linked applications 
requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc935): warning: Using 'getaddrinfo' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoaddr':
   (.text+0x1d3c5): warning: Using 'gethostbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametonetaddr':
   (.text+0x1d465): warning: Using 'getnetbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoproto':
   (.text+0x1d685): warning: Using 'getprotobyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoport':
   (.text+0x1d4b7): warning: Using 'getservbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   drivers/built-in.o: In function `fwnode_get_named_gpiod':
>> drivers/gpio/gpiolib.c:3215: undefined reference to 
>> `of_get_named_gpiod_flags'
   drivers/built-in.o: In function `gpiod_get_index':
   drivers/gpio/gpiolib.c:3140: undefined reference to 
`of_get_named_gpiod_flags'
   drivers/built-in.o: In function `bgpio_map':
>> drivers/gpio/gpio-mmio.c:571: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `dwapb_gpio_probe':
>> drivers/gpio/gpio-dwapb.c:554: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `zx_gpio_probe':
>> drivers/gpio/gpio-zx.c:229: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `lp872x_probe':
>> drivers/regulator/lp872x.c:773: undefined reference to 
>> `devm_gpio_request_one'
   drivers/regulator/lp872x.c:746: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `max8952_pmic_probe':
>> drivers/regulator/max8952.c:249: undefined reference to 
>> `devm_gpio_request_one'
   drivers/built-in.o: In function `max8973_probe':
>> drivers/regulator/max8973-regulator.c:715: undefined reference to 
>> `devm_gpio_request_one'
   drivers/regulator/max8973-regulator.c:770: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `pwm_regulator_probe':
>> drivers/regulator/pwm-regulator.c:387: undefined reference to 
>> `devm_gpiod_get_optional'
   drivers/built-in.o: In function `tps62360_probe':
>> drivers/regulator/tps62360-regulator.c:433: undefined reference to 
>> `devm_gpio_request_one'
   drivers/regulator/tps62360-regulator.c:444: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `fdp_nci_i2c_probe':
>> drivers/nfc/fdp/i2c.c:326: undefined reference to `devm_gpiod_get'
   drivers/built-in.o: In function `nfcmrvl_nci_unregister_dev':
>> drivers/nfc/nfcmrvl/main.c:198: undefined reference to `devm_gpio_free'
   drivers/built-in.o: In function `nfcmrvl_nci_register_dev':
>> drivers/nfc/nfcmrvl/main.c:127: undefined reference to 
>> `devm_gpio_request_one'
   drivers/built-in.o: In function `st21nfca_hci_i2c_probe':
>> drivers/nfc/st21nfca/i2c.c:597: undefined reference to 
>> `devm_gpio_request_one'
   drivers/built-in.o: In function `st_nci_i2c_probe':
>> drivers/nfc/st-nci/i2c.c:300: undefined reference to `devm_gpio_request_one'
   drivers/built-in.o: In function `nxp_nci_i2c_probe':
>> drivers/nfc/nxp-nci/i2c.c:361: undefined reference to `devm_gpio_request_one'
   drivers/built-in.o: In function `mdio_gpio_probe':
>> drivers/net/phy/mdio-gpio.c:177: undefined reference to `devm_gpio_request'
   drivers/built-in.o: In function `at803x_probe':
>> drivers/net/phy/at803x.c:283: undefined reference to 
>> `devm_gpiod_get_optional'
   drivers/built-in.o: In function

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-09-22 Thread kbuild test robot
Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b1f2beb87bb034bb209773807994279f90cace78
commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 
'xfs-misc-fixes-4.6-3' into for-next
date:   7 months ago
config: openrisc-allyesconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ab9d1e4f7b0217948a3b35a64178602ab30ff45d
# save the attached .config to linux build tree
make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   In file included from fs/xfs/xfs_super.c:48:0:
   In function 'xfs_check_ondisk_structs',
   inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:1862:26:
   fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared 
with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6
>> fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared 
>> with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3
   fs/xfs/xfs_ondisk.h:97:2: error: call to '__compiletime_assert_97' declared 
with attribute error: XFS: sizeof(xfs_dir2_sf_hdr_t) is wrong, expected 10

vim +/__compiletime_assert_96 +96 fs/xfs/xfs_ondisk.h

30cbc591 Darrick J. Wong 2016-03-09  80 
XFS_CHECK_STRUCT_SIZE(xfs_da_blkinfo_t, 12);
30cbc591 Darrick J. Wong 2016-03-09  81 
XFS_CHECK_STRUCT_SIZE(xfs_da_intnode_t, 16);
30cbc591 Darrick J. Wong 2016-03-09  82 
XFS_CHECK_STRUCT_SIZE(xfs_da_node_entry_t,  8);
30cbc591 Darrick J. Wong 2016-03-09  83 
XFS_CHECK_STRUCT_SIZE(xfs_da_node_hdr_t,16);
30cbc591 Darrick J. Wong 2016-03-09  84 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_free_t, 4);
30cbc591 Darrick J. Wong 2016-03-09  85 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_hdr_t,  16);
30cbc591 Darrick J. Wong 2016-03-09 @86 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_data_unused_t,   6);
30cbc591 Darrick J. Wong 2016-03-09  87 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_hdr_t,  16);
30cbc591 Darrick J. Wong 2016-03-09  88 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_free_t,  16);
30cbc591 Darrick J. Wong 2016-03-09  89 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino4_t,  4);
30cbc591 Darrick J. Wong 2016-03-09  90 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_ino8_t,  8);
30cbc591 Darrick J. Wong 2016-03-09  91 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_inou_t,  8);
30cbc591 Darrick J. Wong 2016-03-09  92 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_entry_t,8);
30cbc591 Darrick J. Wong 2016-03-09  93 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_hdr_t,  16);
30cbc591 Darrick J. Wong 2016-03-09  94 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_t,  16);
30cbc591 Darrick J. Wong 2016-03-09  95 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_leaf_tail_t, 4);
30cbc591 Darrick J. Wong 2016-03-09 @96 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_entry_t,  3);
30cbc591 Darrick J. Wong 2016-03-09  97 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_hdr_t,10);
30cbc591 Darrick J. Wong 2016-03-09  98 
XFS_CHECK_STRUCT_SIZE(xfs_dir2_sf_off_t,2);
30cbc591 Darrick J. Wong 2016-03-09  99  

:: The code at line 96 was first introduced by commit
:: 30cbc591c34e680e8b5d6d675ea49effe42a0570 xfs: check sizes of XFS on-disk 
structures at compile time

:: TO: Darrick J. Wong 
:: CC: Dave Chinner 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'

2016-09-23 Thread kbuild test robot
Hi Linus,

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:   78bbf153fa96e5e40234b7b05567602535645460
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on 
UM
date:   5 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 2527ecc9195e9c66252af24c4689e8a67cd4ccb9
# save the attached .config to linux build tree
make ARCH=um 

All errors (new ones prefixed by >>):

   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc7d1): warning: Using 'getgrnam' in statically linked applications 
requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc61c): warning: Using 'getpwuid' in statically linked applications 
requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc935): warning: Using 'getaddrinfo' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoaddr':
   (.text+0x1d3c5): warning: Using 'gethostbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametonetaddr':
   (.text+0x1d465): warning: Using 'getnetbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoproto':
   (.text+0x1d685): warning: Using 'getprotobyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoport':
   (.text+0x1d4b7): warning: Using 'getservbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   drivers/built-in.o: In function `fwnode_get_named_gpiod':
>> drivers/gpio/gpiolib.c:3215: undefined reference to 
>> `of_get_named_gpiod_flags'
   drivers/built-in.o: In function `gpiod_get_index':
   drivers/gpio/gpiolib.c:3140: undefined reference to 
`of_get_named_gpiod_flags'
   drivers/built-in.o: In function `bgpio_map':
>> drivers/gpio/gpio-mmio.c:571: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `dwapb_gpio_probe':
>> drivers/gpio/gpio-dwapb.c:554: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `zx_gpio_probe':
>> drivers/gpio/gpio-zx.c:229: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `lp872x_probe':
>> drivers/regulator/lp872x.c:773: undefined reference to 
>> `devm_gpio_request_one'
   drivers/regulator/lp872x.c:746: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `max8952_pmic_probe':
>> drivers/regulator/max8952.c:249: undefined reference to 
>> `devm_gpio_request_one'
   drivers/built-in.o: In function `max8973_probe':
>> drivers/regulator/max8973-regulator.c:715: undefined reference to 
>> `devm_gpio_request_one'
   drivers/regulator/max8973-regulator.c:770: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `pwm_regulator_probe':
>> drivers/regulator/pwm-regulator.c:387: undefined reference to 
>> `devm_gpiod_get_optional'
   drivers/built-in.o: In function `tps62360_probe':
>> drivers/regulator/tps62360-regulator.c:433: undefined reference to 
>> `devm_gpio_request_one'
   drivers/regulator/tps62360-regulator.c:444: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `fdp_nci_i2c_probe':
>> drivers/nfc/fdp/i2c.c:326: undefined reference to `devm_gpiod_get'
   drivers/built-in.o: In function `nfcmrvl_nci_unregister_dev':
>> drivers/nfc/nfcmrvl/main.c:198: undefined reference to `devm_gpio_free'
   drivers/built-in.o: In function `nfcmrvl_nci_register_dev':
>> drivers/nfc/nfcmrvl/main.c:127: undefined reference to 
>> `devm_gpio_request_one'
   drivers/built-in.o: In function `st21nfca_hci_i2c_probe':
>> drivers/nfc/st21nfca/i2c.c:597: undefined reference to 
>> `devm_gpio_request_one'
   drivers/built-in.o: In function `st_nci_i2c_probe':
>> drivers/nfc/st-nci/i2c.c:300: undefined reference to `devm_gpio_request_one'
   drivers/built-in.o: In function `nxp_nci_i2c_probe':
>> drivers/nfc/nxp-nci/i2c.c:361: undefined reference to `devm_gpio_request_one'
   drivers/built-in.o: In function `mdio_gpio_probe':
>> drivers/net/phy/mdio-gpio.c:177: undefined reference to `devm_gpio_request'
   drivers/built-in.o: In function `at803x_probe':
>> drivers/net/phy/at803x.c:283: undefined reference to 
>> `devm_gpiod_get_optional'
   drivers/built-in.o: In function

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-09-23 Thread kbuild test robot
Hi Dave,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   bd5dbcb4be37ce97b115bf9e8d48ae75f0d8a9a2
commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new 
lightweight SGL iterators
date:   4 months ago
config: x86_64-randconfig-s1-09240927 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
git checkout 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91
# save the attached .config to linux build tree
make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All errors (new ones prefixed by >>):

   cc1: warnings being treated as errors
   drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen8_ggtt_insert_entries':
>> drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used 
>> uninitialized in this function
   drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen6_ggtt_insert_entries':
   drivers/gpu/drm/i915/i915_gem_gtt.c:2442: error: 'gtt_entry' may be used 
uninitialized in this function

vim +/gtt_entry +2367 drivers/gpu/drm/i915/i915_gem_gtt.c

  2361   enum i915_cache_level level, u32 
unused)
  2362  {
  2363  struct drm_i915_private *dev_priv = to_i915(vm->dev);
  2364  struct i915_ggtt *ggtt = i915_vm_to_ggtt(vm);
  2365  struct sgt_iter sgt_iter;
  2366  gen8_pte_t __iomem *gtt_entries;
> 2367  gen8_pte_t gtt_entry;
  2368  dma_addr_t addr;
  2369  int rpm_atomic_seq;
  2370  int i = 0;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


undefined reference to `printk'

2016-09-24 Thread kbuild test robot
Hi Joe,

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:   9c0e28a7be656d737fb18998e2dcb0b8ce595643
commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the 
various compiler-gcc[345].h files
date:   1 year, 3 months ago
config: m32r-allnoconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout cb984d101b30eb7478d32df56a0023e4603cba7f
# save the attached .config to linux build tree
make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   arch/m32r/kernel/built-in.o: In function `default_eit_handler':
>> (.text+0x3fc): undefined reference to `printk'
   arch/m32r/kernel/built-in.o: In function `default_eit_handler':
   (.text+0x3fc): relocation truncated to fit: R_M32R_26_PCREL_RELA against 
undefined symbol `printk'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: application/gzip


drivers/iio/pressure/bmp280-core.c:985: undefined reference to `devm_gpiod_get'

2016-09-25 Thread kbuild test robot
Hi Linus,

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:   08895a8b6b06ed2323cd97a36ee40a116b3db8ed
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on 
UM
date:   5 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 2527ecc9195e9c66252af24c4689e8a67cd4ccb9
# save the attached .config to linux build tree
make ARCH=um 

All errors (new ones prefixed by >>):

   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc7d1): warning: Using 'getgrnam' in statically linked applications 
requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc61c): warning: Using 'getpwuid' in statically linked applications 
requires at runtime the shared libraries from the glibc version used for linking
   arch/um/drivers/built-in.o: In function `vde_open_real':
   (.text+0xc935): warning: Using 'getaddrinfo' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoaddr':
   (.text+0x1d3c5): warning: Using 'gethostbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametonetaddr':
   (.text+0x1d465): warning: Using 'getnetbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoproto':
   (.text+0x1d685): warning: Using 'getprotobyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   arch/um/drivers/built-in.o: In function `pcap_nametoport':
   (.text+0x1d4b7): warning: Using 'getservbyname' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
   drivers/built-in.o: In function `fwnode_get_named_gpiod':
   drivers/gpio/gpiolib.c:3215: undefined reference to 
`of_get_named_gpiod_flags'
   drivers/built-in.o: In function `gpiod_get_index':
   drivers/gpio/gpiolib.c:3140: undefined reference to 
`of_get_named_gpiod_flags'
   drivers/built-in.o: In function `bgpio_map':
   drivers/gpio/gpio-mmio.c:571: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `dwapb_gpio_probe':
   drivers/gpio/gpio-dwapb.c:554: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `zx_gpio_probe':
   drivers/gpio/gpio-zx.c:229: undefined reference to `devm_ioremap_resource'
   drivers/built-in.o: In function `lp872x_probe':
   drivers/regulator/lp872x.c:773: undefined reference to 
`devm_gpio_request_one'
   drivers/regulator/lp872x.c:746: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `max8952_pmic_probe':
   drivers/regulator/max8952.c:249: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `max8973_probe':
   drivers/regulator/max8973-regulator.c:715: undefined reference to 
`devm_gpio_request_one'
   drivers/regulator/max8973-regulator.c:770: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `pwm_regulator_probe':
   drivers/regulator/pwm-regulator.c:387: undefined reference to 
`devm_gpiod_get_optional'
   drivers/built-in.o: In function `tps62360_probe':
   drivers/regulator/tps62360-regulator.c:433: undefined reference to 
`devm_gpio_request_one'
   drivers/regulator/tps62360-regulator.c:444: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `fdp_nci_i2c_probe':
   drivers/nfc/fdp/i2c.c:326: undefined reference to `devm_gpiod_get'
   drivers/built-in.o: In function `nfcmrvl_nci_unregister_dev':
   drivers/nfc/nfcmrvl/main.c:198: undefined reference to `devm_gpio_free'
   drivers/built-in.o: In function `nfcmrvl_nci_register_dev':
   drivers/nfc/nfcmrvl/main.c:127: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `st21nfca_hci_i2c_probe':
   drivers/nfc/st21nfca/i2c.c:597: undefined reference to 
`devm_gpio_request_one'
   drivers/built-in.o: In function `st_nci_i2c_probe':
   drivers/nfc/st-nci/i2c.c:300: undefined reference to `devm_gpio_request_one'
   drivers/built-in.o: In function `nxp_nci_i2c_probe':
   drivers/nfc/nxp-nci/i2c.c:361: undefined reference to `devm_gpio_request_one'
   drivers/built-in.o: In function `mdio_gpio_probe':
   drivers/net/phy/mdio-gpio.c:177: undefined reference to `devm_gpio_request'
   drivers/built-in.o: In function `at803x_probe':
   drivers/net/phy/at803x.c:283: undefined reference to 
`devm_gpiod_get_optional'
   drivers/built-in.o: In function `xgene_mdio_probe':
   dri

  1   2   3   4   5   6   7   8   9   10   >