[tip:master] BUILD SUCCESS 6648d60543cd73f2bc743ab53ac6d3fabb8b5a4d

2020-05-17 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 6648d60543cd73f2bc743ab53ac6d3fabb8b5a4d  Merge branch 'core/core'

elapsed time: 484m

configs tested: 126
configs skipped: 8

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mips  cavium_octeon_defconfig
microblaze  defconfig
powerpc64alldefconfig
arm  integrator_defconfig
arc nsimosci_hs_defconfig
s390defconfig
powerpc  ppc6xx_defconfig
m68k   bvme6000_defconfig
powerpcmpc7448_hpc2_defconfig
arm  colibri_pxa300_defconfig
armclps711x_defconfig
mips  maltasmvp_eva_defconfig
armmagician_defconfig
shallnoconfig
mips  malta_defconfig
arm assabet_defconfig
arm  exynos_defconfig
m68kdefconfig
sparc64 defconfig
arm   multi_v4t_defconfig
shdreamcast_defconfig
powerpc skiroot_defconfig
c6xevmc6457_defconfig
c6xevmc6678_defconfig
armrealview_defconfig
sh shx3_defconfig
arm   spear13xx_defconfig
powerpcamigaone_defconfig
mips   mtx1_defconfig
pariscgeneric-64bit_defconfig
c6x dsk6455_defconfig
sh   sh2007_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
i386  allnoconfig
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
x86_64   randconfig-a005-20200517
x86_64   randconfig-a003-20200517
x86_64   randconfig-a006-20200517
x86_64   randconfig-a004-20200517
x86_64   randconfig-a001-20200517
x86_64   randconfig-a002-20200517
i386 randconfig-a006-20200517
i386 randconfig-a005-20200517
i386 randconfig-a003-20200517
i386 randconfig-a001-20200517
i386 randconfig-a004-20200517
i386 randconfig-a002-20200517
i386 randconfig-a012-20200517
i386 randconfig-a016-20200517
i386 randconfig-a014-20200517
i386 randconfig-a011-20200517
i386 randconfig-a013-20200517
i386 

[tip:x86/build] BUILD SUCCESS 0be11088b848774ae1f693169fdb9575e0ff06ba

2020-05-17 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/build
branch HEAD: 0be11088b848774ae1f693169fdb9575e0ff06ba  x86/build: Use 
$(CONFIG_SHELL)

i386-tinyconfig vmlinux size:

+---+---+-+
| DELTA |  SYMBOL   |   COMMIT  
  |
+---+---+-+
|   +96 | TOTAL | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   +96 | TEXT  | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
| +1355 | balance_dirty_pages() | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|  +615 | __setup_rt_frame()| 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|  +113 | klist_release()   | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   +93 | change_clocksource()  | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   +86 | release_bdi() | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   +84 | kobject_release() | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   -68 | bdi_put() | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   -77 | kobject_put() | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   -79 | timekeeping_notify()  | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|   -99 | klist_dec_and_del()   | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
|  -555 | do_signal()   | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
| -1383 | balance_dirty_pages_ratelimited() | 0be11088b848 x86/build: Use 
$(CONFIG_SHELL) |
+---+---+-+

elapsed time: 484m

configs tested: 143
configs skipped: 99

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mips allyesconfig
m68k allyesconfig
sparcallyesconfig
m68k  hp300_defconfig
powerpc pq2fads_defconfig
parisc   alldefconfig
sh   sh7770_generic_defconfig
armmvebu_v7_defconfig
armu300_defconfig
mips  cavium_octeon_defconfig
microblaze  defconfig
powerpc64alldefconfig
arm  integrator_defconfig
arc nsimosci_hs_defconfig
s390defconfig
powerpc mpc5200_defconfig
armclps711x_defconfig
mips   xway_defconfig
mipsmaltaup_defconfig
armhisi_defconfig
um  defconfig
armmmp2_defconfig
mips loongson1c_defconfig
arm  ep93xx_defconfig
arcnsimosci_defconfig
arc  axs103_smp_defconfig
mipsqi_lb60_defconfig
ia64 bigsur_defconfig
openriscor1ksim_defconfig
sh  lboxre2_defconfig
arm lpc32xx_defconfig
mips decstation_r4k_defconfig
m68kstmark2_defconfig
mips tb0219_defconfig
parisc  defconfig
s390 allyesconfig
mips  malta_defconfig
arm assabet_defconfig
arm  exynos_defconfig
m68kdefconfig
powerpc ps3_defconfig
sparc64 defconfig
armkeystone_defconfig
m68km5272c3_defconfig
parisc   allyesconfig
armshmobile_defconfig
sh  r7780mp_defconfig
arm  pcm027_defconfig
powerpc   ppc64_defconfig
pariscgeneric-32bit_defconfig
umallnoconfig
powerpcamigaone_defconfig
mips   mtx1_defconfig
pariscgeneric-64bit_defconfig
c6x dsk6455_defconfig
sh   sh2007_defconfig
i386  

Re: [PATCH V1 6/6] staging: greybus: audio: Enable GB codec, audio module compilation.

2020-05-17 Thread kbuild test robot
Hi Vaibhav,

I love your patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Vaibhav-Agarwal/Enable-Greybus-Audio-codec-driver/20200518-012023
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
cef077e6aa4c7dbe2f23e1201cf705f9540ec467
config: i386-allyesconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/staging/greybus/audio_codec.c:691:36: sparse: sparse: incorrect type 
>> in initializer (different base types) @@expected unsigned long long 
>> [usertype] formats @@got restricteunsigned long long [usertype] formats 
>> @@
>> drivers/staging/greybus/audio_codec.c:691:36: sparse:expected unsigned 
>> long long [usertype] formats
>> drivers/staging/greybus/audio_codec.c:691:36: sparse:got restricted 
>> snd_pcm_format_t [usertype]
   drivers/staging/greybus/audio_codec.c:701:36: sparse: sparse: incorrect type 
in initializer (different base types) @@expected unsigned long long 
[usertype] formats @@got restricteunsigned long long [usertype] formats @@
   drivers/staging/greybus/audio_codec.c:701:36: sparse:expected unsigned 
long long [usertype] formats
   drivers/staging/greybus/audio_codec.c:701:36: sparse:got restricted 
snd_pcm_format_t [usertype]
--
>> drivers/staging/greybus/audio_module.c:223:25: sparse: sparse: incorrect 
>> type in assignment (different base types) @@expected restricted __le16 
>> [usertype] data_cport @@got tricted __le16 [usertype] data_cport @@
>> drivers/staging/greybus/audio_module.c:223:25: sparse:expected 
>> restricted __le16 [usertype] data_cport
>> drivers/staging/greybus/audio_module.c:223:25: sparse:got unsigned short 
>> [usertype] intf_cport_id
--
>> drivers/staging/greybus/audio_topology.c:183:24: sparse: sparse: cast to 
>> restricted snd_ctl_elem_type_t
>> drivers/staging/greybus/audio_topology.c:460:40: sparse: sparse: restricted 
>> __le32 degrades to integer
>> drivers/staging/greybus/audio_topology.c:691:41: sparse: sparse: incorrect 
>> type in assignment (different base types) @@expected unsigned int access 
>> @@got restricted __le3unsigned int access @@
>> drivers/staging/greybus/audio_topology.c:691:41: sparse:expected 
>> unsigned int access
>> drivers/staging/greybus/audio_topology.c:691:41: sparse:got restricted 
>> __le32 [usertype] access
>> drivers/staging/greybus/audio_topology.c:678:14: sparse: sparse: restricted 
>> snd_ctl_elem_iface_t degrades to integer
>> drivers/staging/greybus/audio_topology.c:746:44: sparse: sparse: incorrect 
>> type in assignment (different base types) @@expected unsigned int @@
>> got restrunsigned int @@
>> drivers/staging/greybus/audio_topology.c:746:44: sparse:expected 
>> unsigned int
>> drivers/staging/greybus/audio_topology.c:746:44: sparse:got restricted 
>> __le32
   drivers/staging/greybus/audio_topology.c:748:52: sparse: sparse: incorrect 
type in assignment (different base types) @@expected unsigned int @@got 
restrunsigned int @@
   drivers/staging/greybus/audio_topology.c:748:52: sparse:expected 
unsigned int
   drivers/staging/greybus/audio_topology.c:748:52: sparse:got restricted 
__le32
   drivers/staging/greybus/audio_topology.c:803:42: sparse: sparse: restricted 
__le32 degrades to integer
>> drivers/staging/greybus/audio_topology.c:806:50: sparse: sparse: incorrect 
>> type in assignment (different base types) @@expected restricted __le32 
>> @@got icted __le32 @@
>> drivers/staging/greybus/audio_topology.c:806:50: sparse:expected 
>> restricted __le32
>> drivers/staging/greybus/audio_topology.c:806:50: sparse:got unsigned int
   drivers/staging/greybus/audio_topology.c:815:50: sparse: sparse: restricted 
__le32 degrades to integer
   drivers/staging/greybus/audio_topology.c:818:58: sparse: sparse: incorrect 
type in assignment (different base types) @@expected restricted __le32 @@   
 got icted __le32 @@
   drivers/staging/greybus/audio_topology.c:818:58: sparse:expected 
restricted _

[RFC PATCH] staging: rtl8192u: indicate_packets() can be static

2020-05-17 Thread kbuild test robot


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

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c 
b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
index 3309f64be4c94..bceff1ba3d7d4 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
@@ -520,7 +520,7 @@ static bool AddReorderEntry(struct rx_ts_record *pTS, 
struct rx_reorder_entry *p
return true;
 }
 
-void indicate_packets(struct ieee80211_device *ieee, struct ieee80211_rxb *rxb)
+static void indicate_packets(struct ieee80211_device *ieee, struct 
ieee80211_rxb *rxb)
 {
struct net_device_stats *stats = >stats;
struct net_device *dev = ieee->dev;


Re: [PATCH] staging: rtl8192u: Merge almost duplicate code

2020-05-17 Thread kbuild test robot
Hi Pascal,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Pascal-Terjan/staging-rtl8192u-Merge-almost-duplicate-code/20200518-005912
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
cef077e6aa4c7dbe2f23e1201cf705f9540ec467
config: i386-allyesconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

   /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:417:9: sparse: sparse: 
preprocessor token offsetof redefined
   include/linux/stddef.h:17:9: sparse: this was the original definition
>> drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:523:6: sparse: sparse: 
>> symbol 'indicate_packets' was not declared. Should it be static?

Please review and possibly fold the followup patch.

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


.config.gz
Description: application/gzip


Re: [PATCH 4/7] x86/percpu: Clean up percpu_add_op()

2020-05-17 Thread kbuild test robot
Hi Brian,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Brian-Gerst/x86-Clean-up-percpu-operations/20200517-233137
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git 
for-next
config: x86_64-allyesconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

   kernel/fork.c:995:19: sparse: sparse: incorrect type in assignment 
(different address spaces) @@expected struct task_struct [noderef]  
*owner @@got  [noderef]  *owner @@
   kernel/fork.c:995:19: sparse:expected struct task_struct [noderef] 
 *owner
   kernel/fork.c:995:19: sparse:got struct task_struct *p
   kernel/fork.c:1507:38: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct refcount_struct [usertype] *r 
@@got struct struct refcount_struct [usertype] *r @@
   kernel/fork.c:1507:38: sparse:expected struct refcount_struct [usertype] 
*r
   kernel/fork.c:1507:38: sparse:got struct refcount_struct [noderef] 
 *
   kernel/fork.c:1516:31: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct spinlock [usertype] *lock @@   
 got struct struct spinlock [usertype] *lock @@
   kernel/fork.c:1516:31: sparse:expected struct spinlock [usertype] *lock
   kernel/fork.c:1516:31: sparse:got struct spinlock [noderef]  *
   kernel/fork.c:1517:9: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void const *from @@got struct 
k_sigaction [noderevoid const *from @@
   kernel/fork.c:1517:9: sparse:expected void const *from
   kernel/fork.c:1517:9: sparse:got struct k_sigaction [noderef]  *
   kernel/fork.c:1518:33: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct spinlock [usertype] *lock @@   
 got struct struct spinlock [usertype] *lock @@
   kernel/fork.c:1518:33: sparse:expected struct spinlock [usertype] *lock
   kernel/fork.c:1518:33: sparse:got struct spinlock [noderef]  *
   kernel/fork.c:1610:9: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct qspinlock *lock @@got 
struct qspinlock [struct qspinlock *lock @@
   kernel/fork.c:1610:9: sparse:expected struct qspinlock *lock
   kernel/fork.c:1610:9: sparse:got struct qspinlock [noderef]  *
   kernel/fork.c:1910:31: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct spinlock [usertype] *lock @@   
 got struct struct spinlock [usertype] *lock @@
   kernel/fork.c:1910:31: sparse:expected struct spinlock [usertype] *lock
   kernel/fork.c:1910:31: sparse:got struct spinlock [noderef]  *
   kernel/fork.c:1914:33: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct spinlock [usertype] *lock @@   
 got struct struct spinlock [usertype] *lock @@
   kernel/fork.c:1914:33: sparse:expected struct spinlock [usertype] *lock
   kernel/fork.c:1914:33: sparse:got struct spinlock [noderef]  *
   kernel/fork.c:2210:32: sparse: sparse: incorrect type in assignment 
(different address spaces) @@expected struct task_struct [noderef]  
*real_parent @@got  [noderef]  *real_parent @@
   kernel/fork.c:2210:32: sparse:expected struct task_struct [noderef] 
 *real_parent
   kernel/fork.c:2210:32: sparse:got struct task_struct *
   kernel/fork.c:2216:27: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct spinlock [usertype] *lock @@   
 got struct struct spinlock [usertype] *lock @@
   kernel/fork.c:2216:27: sparse:expected struct spinlock [usertype] *lock
   kernel/fork.c:2216:27: sparse:got struct spinlock [noderef]  *
   kernel/fork.c:2265:54: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected struct list_head *head @@got 
struct list_head [struct list_head *head @@
   kernel/fork.c:2265:54: sparse:expected struct list_head *head
   kernel/fork.c:2265:54: sparse:got struct list_head [noderef]  *
   kernel/fork.c:2286:29: sparse: sparse: incorrect type in argument 1 
(different address spaces) @@expected struct spinlock [usertype]

Re: [PATCH 4/7] x86/percpu: Clean up percpu_add_op()

2020-05-17 Thread kbuild test robot
Hi Brian,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Brian-Gerst/x86-Clean-up-percpu-operations/20200517-233137
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git 
for-next
config: i386-allmodconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

   net/ipv4/af_inet.c:1472:59: sparse: sparse: restricted __be16 degrades to 
integer
   include/net/tcp.h:1521:9: sparse: sparse: cast truncates bits from constant 
value (1d4c0 becomes c0)
>> include/net/tcp.h:1521:9: sparse: sparse: cast truncates bits from constant 
>> value (1d4c0 becomes d4c0)

vim +1521 include/net/tcp.h

^1da177e4c3f41 Linus Torvalds  2005-04-16  1512  
7970ddc8f9ffe1 Eric Dumazet2015-03-16  1513  bool 
tcp_oow_rate_limited(struct net *net, const struct sk_buff *skb,
7970ddc8f9ffe1 Eric Dumazet2015-03-16  1514   int 
mib_idx, u32 *last_oow_ack_time);
032ee4236954eb Neal Cardwell   2015-02-06  1515  
a9c19329eccdb1 Pavel Emelyanov 2008-07-16  1516  static inline void 
tcp_mib_init(struct net *net)
^1da177e4c3f41 Linus Torvalds  2005-04-16  1517  {
^1da177e4c3f41 Linus Torvalds  2005-04-16  1518 /* See RFC 2012 */
6aef70a851ac77 Eric Dumazet2016-04-27  1519 TCP_ADD_STATS(net, 
TCP_MIB_RTOALGORITHM, 1);
6aef70a851ac77 Eric Dumazet2016-04-27  1520 TCP_ADD_STATS(net, 
TCP_MIB_RTOMIN, TCP_RTO_MIN*1000/HZ);
6aef70a851ac77 Eric Dumazet2016-04-27 @1521 TCP_ADD_STATS(net, 
TCP_MIB_RTOMAX, TCP_RTO_MAX*1000/HZ);
6aef70a851ac77 Eric Dumazet2016-04-27  1522 TCP_ADD_STATS(net, 
TCP_MIB_MAXCONN, -1);
^1da177e4c3f41 Linus Torvalds  2005-04-16  1523  }
^1da177e4c3f41 Linus Torvalds  2005-04-16  1524  

:: The code at line 1521 was first introduced by commit
:: 6aef70a851ac77967992340faaff33f44598f60a net: snmp: kill various 
STATS_USER() helpers

:: TO: Eric Dumazet 
:: CC: David S. Miller 

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


.config.gz
Description: application/gzip


[rcu:tglx.2020.05.05a 105/140] arch/x86/kernel/traps.c:819:24: error: 'tsk' undeclared

2020-05-17 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
tglx.2020.05.05a
head:   e6d36eed49b863bbe393e3c07cae737cd9c475e3
commit: ca303aa341bab5cdb3a3b41391ff262e252cd3f3 [105/140] x86/traps: 
Restructure #DB handling
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout ca303aa341bab5cdb3a3b41391ff262e252cd3f3
# save the attached .config to linux build tree
make ARCH=i386 

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

Note: the rcu/tglx.2020.05.05a HEAD e6d36eed49b863bbe393e3c07cae737cd9c475e3 
builds fine.
  It only hurts bisectibility.

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

arch/x86/kernel/traps.c: In function 'exc_debug_kernel':
>> arch/x86/kernel/traps.c:819:24: error: 'tsk' undeclared (first use in this 
>> function)
clear_tsk_thread_flag(tsk, TIF_BLOCKSTEP);
^~~
arch/x86/kernel/traps.c:819:24: note: each undeclared identifier is reported 
only once for each function it appears in
arch/x86/kernel/traps.c: In function 'exc_debug_user':
arch/x86/kernel/traps.c:842:24: error: 'tsk' undeclared (first use in this 
function)
clear_tsk_thread_flag(tsk, TIF_BLOCKSTEP);
^~~

vim +/tsk +819 arch/x86/kernel/traps.c

   809  
   810  static __always_inline void exc_debug_kernel(struct pt_regs *regs,
   811   unsigned long dr6)
   812  {
   813  nmi_enter();
   814  /*
   815   * The SDM says "The processor clears the BTF flag when it
   816   * generates a debug exception."  Clear TIF_BLOCKSTEP to keep
   817   * TIF_BLOCKSTEP in sync with the hardware BTF flag.
   818   */
 > 819  clear_tsk_thread_flag(tsk, TIF_BLOCKSTEP);
   820  
   821  /*
   822   * Catch SYSENTER with TF set and clear DR_STEP. If this hit a
   823   * watchpoint at the same time then that will still be handled.
   824   */
   825  if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs))
   826  dr6 &= ~DR_STEP;
   827  
   828  /*
   829   * If DR6 is zero, no point in trying to handle it. The kernel 
is
   830   * not using INT1.
   831   */
   832  if (dr6)
   833  handle_debug(regs, dr6, false);
   834  
   835  nmi_exit();
   836  }
   837  

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


.config.gz
Description: application/gzip


[rcu:lkmm] BUILD SUCCESS 7ab9d2b00209d140e02042e027f6e5f98f1dbec7

2020-05-16 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  lkmm
branch HEAD: 7ab9d2b00209d140e02042e027f6e5f98f1dbec7  
Documentation/litmus-tests: Cite an RCU litmus test

elapsed time: 602m

configs tested: 104
configs skipped: 2

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

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

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

2020-05-16 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d1c1e5931ce45b3a3f309385bbc00c78e9951c6
commit: 1651e700664b4597ddf4f8adfe435252a0d11277 x86: Fix bitops.h warning with 
a moved cast
date:   9 weeks ago
config: i386-randconfig-s002-20200517 (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout 1651e700664b4597ddf4f8adfe435252a0d11277
# save the attached .config to linux build tree
make C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

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

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

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

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

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

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


.config.gz
Description: application/gzip


[rcu:dev.2020.05.16a] BUILD SUCCESS 0f214eff73a9c86bf1e5a0c566c190716782b6a9

2020-05-16 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.16a
branch HEAD: 0f214eff73a9c86bf1e5a0c566c190716782b6a9  tick/nohz: Narrow down 
noise while setting current task's tick dependency

i386-tinyconfig vmlinux size:


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


  -225  -224-136  f21d375f5014 Merge branch 
'kcsan-dev.2020.04.13c' into HEAD   
 0 0  0d3abc57e048 Merge branch 
'lkmm-dev.2020.05.14b' into HEAD
   +38   +38  4e07267a1891 fork: Annotate a 
data race in vm_area_dup()  
 0 0  82ee1245c8ce x86/mm/pat: Mark 
an intentional data race
 0 0  3e745f06e547 rculist: Add 
ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0  3064b68481a8 locktorture: Use 
true and false to assign to bool variables  
 0 0  a77eaf80c023 srcu: Fix a typo 
in comment "amoritized"->"amortized"
 0 0  7876218db8cb rcu: Simplify 
the calculation of rcu_state.ncpus 
 0 0  11b741bd89c5 docs: RCU: 
Convert checklist.txt to ReST 
 0 0  dd051b8b94b5 docs: RCU: 
Convert lockdep-splat.txt to ReST 
 0 0  0ac5a288bd8e docs: RCU: 
Convert lockdep.txt to ReST   
 0 0  92943993fb41 docs: RCU: 
Convert rculist_nulls.txt to ReST 
 0 0  e8dd4b58c6fc docs: RCU: 
Convert torture.txt to ReST   
 0 0  73ee3d5eec05 docs: RCU: 
Convert rcuref.txt to ReST
 0 0  425c2ecca450 docs: RCU: 
Convert stallwarn.txt to ReST 
 0 0  b8b9ee19d328 docs: RCU: Don't 
duplicate chapter names in rculist_nulls.rs 
 0 0  7c76eb5e4209 rcutorture: Add 
races with task-exit processing  
 0 0  be8258baccc0 torture: Set 
configfile variable to current scenario 
 0 0  46de31180c5b rcutorture: 
Handle non-statistic bang-string error messages  
 0 0  f5d2e43344f1 rcutorture: NULL 
rcu_torture_current earlier in cleanup code 
 0 0  046b23f81154 kcsan: Add test 
suite
 0 0  f742885f1fbf torture:  Remove 
qemu dependency on EFI firmware 
 0 0  a34638af2455 doc: Timer 
problems can cause RCU CPU stall warnings 
 0 0  8609e646d509 rcu: Add 
callbacks-invoked counters  
 0 0  e1ea77a91005 rcu: Add comment 
documenting rcu_callback_map's purpose  
 0 0  037b0281beb8 Revert 
b8c17e6664c4 ("rcu: Maintain special bits at bottom o 
 0 0  adfc62c9416b rcu/tree: Add 
better tracing for dyntick-idle
+1 0  791756fd750d rcu/tree: Clean 
up dynticks counter usage
 0 0  4993b760a88f rcu/tree: Remove 
dynticks_nmi_nesting counter
 0 0  e1b441a18227 trace: events: 
rcu: Change description of rcu_dyntick trace  
 0 0  9623376f6294 torture: Add 
script to smoke-test commits in a branch
 0 0  b6d56227b204 torture: Remove 
whitespace from identify_qemu_vcpus output   
 0 0  b518c273d0d9 torture: Add 
--allcpus argument to the kvm.sh script 
 0 0  afd3653541c7 rcu: 
Grace-period-kthread related sleeps to idle priority
 0 0  a969886c710d rcu: 

[rcu:lkmm-dev] BUILD SUCCESS ae801b4aaca0db21c44819ab833dc591b1d3219e

2020-05-16 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  lkmm-dev
branch HEAD: ae801b4aaca0db21c44819ab833dc591b1d3219e  tools/memory-model: Use 
"-unroll 0" to keep --hw runs finite

elapsed time: 482m

configs tested: 102
configs skipped: 1

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

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

[tip:x86/fpu] BUILD SUCCESS 55e00fb66fd5048f4a3ee357018fd26fc527abca

2020-05-16 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/fpu
branch HEAD: 55e00fb66fd5048f4a3ee357018fd26fc527abca  x86/fpu/xstate: Restore 
supervisor states for signal return

elapsed time: 481m

configs tested: 95
configs skipped: 91

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
m68k allyesconfig
sparcallyesconfig
mips allyesconfig
mipsmalta_kvm_guest_defconfig
archsdk_defconfig
arc   tb10x_defconfig
h8300alldefconfig
powerpc   allnoconfig
xtensaxip_kc705_defconfig
mips pnx8335_stb225_defconfig
xtensa  defconfig
ia64 allyesconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
mips  allnoconfig
mips allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
x86_64   randconfig-a005-20200517
x86_64   randconfig-a003-20200517
x86_64   randconfig-a006-20200517
x86_64   randconfig-a004-20200517
x86_64   randconfig-a001-20200517
x86_64   randconfig-a002-20200517
i386 randconfig-a006-20200517
i386 randconfig-a005-20200517
i386 randconfig-a003-20200517
i386 randconfig-a001-20200517
i386 randconfig-a004-20200517
i386 randconfig-a002-20200517
i386 randconfig-a012-20200517
i386 randconfig-a016-20200517
i386 randconfig-a014-20200517
i386 randconfig-a011-20200517
i386 randconfig-a013-20200517
i386 randconfig-a015-20200517
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
x86_64  defconfig
um   allmodconfig
umallnoconfig
um   allyesconfig
um  defconfig
x86_64   rhel
x86_64   rhel-7.6
x86_64rhel-7.6-kselftests
x86_64 rhel-7.2-clear
x86_64lkp
x86_64  fedora-25
x86_64  kexec

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


undefined reference to `start_isolate_page_range'

2020-05-16 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   3d1c1e5931ce45b3a3f309385bbc00c78e9951c6
commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
date:   3 months ago
config: microblaze-randconfig-r036-20200517 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=microblaze 

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

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

microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
>> (.text+0x9b58): undefined reference to `start_isolate_page_range'
>> microblaze-linux-ld: (.text+0x9c98): undefined reference to 
>> `test_pages_isolated'
>> microblaze-linux-ld: (.text+0x9cdc): undefined reference to 
>> `undo_isolate_page_range'

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


.config.gz
Description: application/gzip


Re: [PATCH 2/2] mfd: mfd_cell: constify platform_data

2020-05-16 Thread kbuild test robot
Hi Tomas,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Tomas-Winkler/mfd-constify-pointers/20200516-190733
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: arm-randconfig-r006-20200515 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
13d44b2a0c7ef404b13b16644765977cd5310fe2)
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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

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

>> drivers/hid/hid-sensor-hub.c:738:33: error: initializing 'struct 
>> hid_sensor_hub_device *' with an expression of type 'const void *' discards 
>> qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
struct hid_sensor_hub_device *hsdev =
^
1 error generated.

vim +738 drivers/hid/hid-sensor-hub.c

401ca24fb34aee0 srinivas pandruvada 2012-09-05  726  
401ca24fb34aee0 srinivas pandruvada 2012-09-05  727  static void 
sensor_hub_remove(struct hid_device *hdev)
401ca24fb34aee0 srinivas pandruvada 2012-09-05  728  {
401ca24fb34aee0 srinivas pandruvada 2012-09-05  729 struct sensor_hub_data 
*data = hid_get_drvdata(hdev);
401ca24fb34aee0 srinivas pandruvada 2012-09-05  730 unsigned long flags;
e651a1da442ae02 Srinivas Pandruvada 2015-02-19  731 int i;
401ca24fb34aee0 srinivas pandruvada 2012-09-05  732  
401ca24fb34aee0 srinivas pandruvada 2012-09-05  733 hid_dbg(hdev, " 
hardware removed\n");
401ca24fb34aee0 srinivas pandruvada 2012-09-05  734 hid_hw_close(hdev);
f2f13a68c37c13a Axel Lin2012-09-19  735 hid_hw_stop(hdev);
401ca24fb34aee0 srinivas pandruvada 2012-09-05  736 
spin_lock_irqsave(>lock, flags);
e651a1da442ae02 Srinivas Pandruvada 2015-02-19  737 for (i = 0; i < 
data->hid_sensor_client_cnt; ++i) {
e651a1da442ae02 Srinivas Pandruvada 2015-02-19 @738 struct 
hid_sensor_hub_device *hsdev =
e651a1da442ae02 Srinivas Pandruvada 2015-02-19  739 
data->hid_sensor_hub_client_devs[i].platform_data;
e651a1da442ae02 Srinivas Pandruvada 2015-02-19  740 if 
(hsdev->pending.status)
e651a1da442ae02 Srinivas Pandruvada 2015-02-19  741 
complete(>pending.ready);
e651a1da442ae02 Srinivas Pandruvada 2015-02-19  742 }
401ca24fb34aee0 srinivas pandruvada 2012-09-05  743 
spin_unlock_irqrestore(>lock, flags);
401ca24fb34aee0 srinivas pandruvada 2012-09-05  744 
mfd_remove_devices(>dev);
401ca24fb34aee0 srinivas pandruvada 2012-09-05  745 
mutex_destroy(>mutex);
401ca24fb34aee0 srinivas pandruvada 2012-09-05  746  }
401ca24fb34aee0 srinivas pandruvada 2012-09-05  747  

:: The code at line 738 was first introduced by commit
:: e651a1da442ae02a50081e38309dea5e89da2d41 HID: hid-sensor-hub: Allow 
parallel synchronous reads

:: TO: Srinivas Pandruvada 
:: CC: Jiri Kosina 

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


.config.gz
Description: application/gzip


[tip:x86/cleanups] BUILD SUCCESS 6255c161a08564e4f3995db31f3d64a5fd24738b

2020-05-16 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/cleanups
branch HEAD: 6255c161a08564e4f3995db31f3d64a5fd24738b  x86/nmi: Remove edac.h 
include leftover

elapsed time: 480m

configs tested: 140
configs skipped: 9

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mips allyesconfig
m68k allyesconfig
sparcallyesconfig
arm   u8500_defconfig
arm   spitz_defconfig
microblaze  defconfig
arm at91_dt_defconfig
sh  sdk7786_defconfig
powerpcgamecube_defconfig
ia64 bigsur_defconfig
shsh7757lcr_defconfig
powerpc  allyesconfig
armspear6xx_defconfig
m68km5407c3_defconfig
x86_64  defconfig
m68k alldefconfig
arm  gemini_defconfig
ia64  tiger_defconfig
arm lpc32xx_defconfig
sh kfr2r09-romimage_defconfig
mips  fuloong2e_defconfig
arm s3c6400_defconfig
powerpc skiroot_defconfig
sh   se7751_defconfig
arm  colibri_pxa270_defconfig
openriscor1ksim_defconfig
armspear3xx_defconfig
arm   omap1_defconfig
arm lubbock_defconfig
arm  badge4_defconfig
arm hackkit_defconfig
mipse55_defconfig
shallnoconfig
nds32alldefconfig
nds32 allnoconfig
arm  ep93xx_defconfig
mips   rbtx49xx_defconfig
arc  axs103_defconfig
arm  zx_defconfig
i386  allnoconfig
arm lpc18xx_defconfig
arm   cns3420vb_defconfig
riscvnommu_virt_defconfig
microblazenommu_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nds32   defconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
microblazeallnoconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200515
i386 randconfig-a005-20200515
i386 randconfig-a003-20200515
i386 randconfig-a001-20200515
i386 randconfig-a004-20200515
i386 randconfig-a002-20200515
i386 randconfig-a006-20200516
i386 randconfig-a005-20200516
i386 randconfig-a003-20200516
i386

Re: [PATCH v10 2/3] mfd: add Gateworks System Controller core driver

2020-05-16 Thread kbuild test robot
Hi Tim,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Tim-Harvey/Add-support-for-the-Gateworks-System-Controller/20200515-232142
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips 

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

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

>> drivers/mfd/gateworks-gsc.c:270:14: error: 'gsc_id_table' undeclared here 
>> (not in a function)
270 |  .id_table = gsc_id_table,
|  ^~~~

vim +/gsc_id_table +270 drivers/mfd/gateworks-gsc.c

   264  
   265  static struct i2c_driver gsc_driver = {
   266  .driver = {
   267  .name   = "gateworks-gsc",
   268  .of_match_table = gsc_of_match,
   269  },
 > 270  .id_table   = gsc_id_table,
   271  .probe_new  = gsc_probe,
   272  .remove = gsc_remove,
   273  };
   274  module_i2c_driver(gsc_driver);
   275  

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


.config.gz
Description: application/gzip


[RFC PATCH] thermal: core: thermal_genl_sampling_temp() can be static

2020-05-16 Thread kbuild test robot


Signed-off-by: kbuild test robot 
---
 thermal_netlink.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/thermal/thermal_netlink.c 
b/drivers/thermal/thermal_netlink.c
index a2bce846771e4..851db26e66465 100644
--- a/drivers/thermal/thermal_netlink.c
+++ b/drivers/thermal/thermal_netlink.c
@@ -66,7 +66,7 @@ static struct genl_family thermal_gnl_family;
 
 /** Sampling encoding ***/
 
-int thermal_genl_sampling_temp(int id, int temp)
+static int thermal_genl_sampling_temp(int id, int temp)
 {
struct sk_buff *skb;
void *hdr;
@@ -506,7 +506,7 @@ static cb_t cmd_cb[] = {
[THERMAL_GENL_CMD_CDEV_GET] = thermal_genl_cmd_cdev_get,
 };
 
-int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct netlink_callback *cb)
+static int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct 
netlink_callback *cb)
 {
struct param p = { .msg = skb };
const struct genl_dumpit_info *info = genl_dumpit_info(cb);
@@ -532,7 +532,7 @@ int thermal_genl_cmd_dumpit(struct sk_buff *skb, struct 
netlink_callback *cb)
return ret;
 }
 
-int thermal_genl_cmd_doit(struct sk_buff *skb, struct genl_info *info)
+static int thermal_genl_cmd_doit(struct sk_buff *skb, struct genl_info *info)
 {
struct param p = { .attrs = info->attrs };
struct sk_buff *msg;


Re: [PATCH v5 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-16 Thread kbuild test robot
Hi Leonardo,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Leonardo-Bras/Implement-reentrant-rtas-call/20200516-132358
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc64-randconfig-r006-20200515 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=powerpc64 

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

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

arch/powerpc/kernel/rtas.c: In function 'rtas_call_reentrant':
>> arch/powerpc/kernel/rtas.c:519:9: error: 'local_paca' undeclared (first use 
>> in this function); did you mean 'local_inc'?
519 |  args = local_paca->reentrant_args;
| ^~
| local_inc
arch/powerpc/kernel/rtas.c:519:9: note: each undeclared identifier is reported 
only once for each function it appears in

vim +519 arch/powerpc/kernel/rtas.c

   486  
   487  /**
   488   * rtas_call_reentrant() - Used for reentrant rtas calls
   489   * @token:  Token for desired reentrant RTAS call
   490   * @nargs:  Number of Input Parameters
   491   * @nret:   Number of Output Parameters
   492   * @outputs:Array of outputs
   493   * @...:Inputs for desired RTAS call
   494   *
   495   * According to LoPAR documentation, only "ibm,int-on", "ibm,int-off",
   496   * "ibm,get-xive" and "ibm,set-xive" are currently reentrant.
   497   * Reentrant calls need their own rtas_args buffer, so not using 
rtas.args, but
   498   * PACA one instead.
   499   *
   500   * Return:  -1 on error,
   501   *  First output value of RTAS call if (nret > 0),
   502   *  0 otherwise,
   503   */
   504  
   505  int rtas_call_reentrant(int token, int nargs, int nret, int *outputs, 
...)
   506  {
   507  va_list list;
   508  struct rtas_args *args;
   509  unsigned long flags;
   510  int i, ret = 0;
   511  
   512  if (!rtas.entry || token == RTAS_UNKNOWN_SERVICE)
   513  return -1;
   514  
   515  local_irq_save(flags);
   516  preempt_disable();
   517  
   518  /* We use the per-cpu (PACA) rtas args buffer */
 > 519  args = local_paca->reentrant_args;
   520  
   521  va_start(list, outputs);
   522  va_rtas_call_unlocked(args, token, nargs, nret, list);
   523  va_end(list);
   524  
   525  if (nret > 1 && outputs)
   526  for (i = 0; i < nret - 1; ++i)
   527  outputs[i] = be32_to_cpu(args->rets[i + 1]);
   528  
   529  if (nret > 0)
   530  ret = be32_to_cpu(args->rets[0]);
   531  
   532  local_irq_restore(flags);
   533  preempt_enable();
   534  
   535  return ret;
   536  }
   537  

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


.config.gz
Description: application/gzip


[rcu:tglx.2020.05.15a] BUILD SUCCESS 0adeeee7dd32b29e2f0d911a48aeac05475766fc

2020-05-16 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
tglx.2020.05.15a
branch HEAD: 0ad7dd32b29e2f0d911a48aeac05475766fc  rcu: Provide 
__rcu_is_watching()

elapsed time: 481m

configs tested: 126
configs skipped: 12

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
mips allyesconfig
m68k allyesconfig
sparcallyesconfig
arm   u8500_defconfig
arm   spitz_defconfig
microblaze  defconfig
arm at91_dt_defconfig
sh  sdk7786_defconfig
powerpcgamecube_defconfig
ia64 bigsur_defconfig
shsh7757lcr_defconfig
arm   sama5_defconfig
armrealview_defconfig
arm   spear13xx_defconfig
powerpc pq2fads_defconfig
c6xevmc6678_defconfig
parisc  defconfig
armu300_defconfig
arm   omap1_defconfig
arm lubbock_defconfig
arm  badge4_defconfig
arm hackkit_defconfig
mipse55_defconfig
shallnoconfig
arm  zx_defconfig
i386  allnoconfig
arm  colibri_pxa300_defconfig
arc defconfig
mips  fuloong2e_defconfig
s390defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc  allyesconfig
sh   allmodconfig
microblazeallnoconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200515
i386 randconfig-a005-20200515
i386 randconfig-a003-20200515
i386 randconfig-a001-20200515
i386 randconfig-a004-20200515
i386 randconfig-a002-20200515
i386 randconfig-a006-20200516
i386 randconfig-a005-20200516
i386 randconfig-a003-20200516
i386 randconfig-a001-20200516
i386 randconfig-a004-20200516
i386 randconfig-a002-20200516
i386 randconfig-a012-20200515
i386 randconfig-a016-20200515
i386 randconfig-a014-20200515
i386 randconfig-a011-20200515
i386 randconfig-a013-20200515
i386 randconfig-a015-20200515
x86_64   randconfig-a005-20200515
x86_64   randconfig-a003-20200515
x86_64   randconfig-a006-20200515
x86_64   randconfig-a004-20200515
x86_64   

[rcu:rcu/next] BUILD SUCCESS 53281c92e73ab42f7dec96595dec2476fa8d0a34

2020-05-16 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  rcu/next
branch HEAD: 53281c92e73ab42f7dec96595dec2476fa8d0a34  tick/nohz: Narrow down 
noise while setting current task's tick dependency

elapsed time: 480m

configs tested: 128
configs skipped: 7

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
mips allyesconfig
m68k allyesconfig
arm at91_dt_defconfig
sh  sdk7786_defconfig
powerpcgamecube_defconfig
ia64 bigsur_defconfig
shsh7757lcr_defconfig
m68k alldefconfig
arm  gemini_defconfig
ia64  tiger_defconfig
arm lpc32xx_defconfig
sh kfr2r09-romimage_defconfig
mips  fuloong2e_defconfig
arm s3c6400_defconfig
powerpc skiroot_defconfig
i386 allyesconfig
arm   omap1_defconfig
arm lubbock_defconfig
arm  badge4_defconfig
powerpc ps3_defconfig
arm bcm2835_defconfig
c6xevmc6678_defconfig
arm   sama5_defconfig
arm   spitz_defconfig
arm   tegra_defconfig
nds32alldefconfig
arm  ep93xx_defconfig
mips   rbtx49xx_defconfig
arc  axs103_defconfig
arm  zx_defconfig
i386  allnoconfig
arm  colibri_pxa300_defconfig
arc defconfig
s390defconfig
arm lpc18xx_defconfig
arm   cns3420vb_defconfig
riscvnommu_virt_defconfig
microblazenommu_defconfig
umallnoconfig
arm   mainstone_defconfig
mips  maltasmvp_eva_defconfig
mips  malta_defconfig
shallnoconfig
sh  rsk7201_defconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc  allyesconfig
sh   allmodconfig
microblazeallnoconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a012-20200515
i386 randconfig-a016-20200515
i386 randconfig-a014-20200515
i386 randconfig-a011-20200515
i386 randconfig-a013-20200515
i386 randconfig-a015-20200515
x86_64   randconfig-a005-20200515
x86_64

Re: [PATCH v10 2/3] mfd: add Gateworks System Controller core driver

2020-05-15 Thread kbuild test robot
Hi Tim,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Tim-Harvey/Add-support-for-the-Gateworks-System-Controller/20200515-232142
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
9d4cf5bd421fb6467ff5f00e26a37527246dd4d6)
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

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

>> drivers/mfd/gateworks-gsc.c:270:14: error: use of undeclared identifier 
>> 'gsc_id_table'
.id_table   = gsc_id_table,
^
1 error generated.

vim +/gsc_id_table +270 drivers/mfd/gateworks-gsc.c

   264  
   265  static struct i2c_driver gsc_driver = {
   266  .driver = {
   267  .name   = "gateworks-gsc",
   268  .of_match_table = gsc_of_match,
   269  },
 > 270  .id_table   = gsc_id_table,
   271  .probe_new  = gsc_probe,
   272  .remove = gsc_remove,
   273  };
   274  module_i2c_driver(gsc_driver);
   275  

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


.config.gz
Description: application/gzip


[tip:x86/urgent] BUILD SUCCESS a9a3ed1eff3601b63aea4fb462d8b3b92c7c1e7e

2020-05-15 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/urgent
branch HEAD: a9a3ed1eff3601b63aea4fb462d8b3b92c7c1e7e  x86: Fix early boot 
crash on gcc-10, third try

elapsed time: 483m

configs tested: 98
configs skipped: 1

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

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

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


drivers/iommu/rockchip-iommu.c:839:43: error: 'struct dev_archdata' has no member named 'iommu'

2020-05-15 Thread kbuild test robot
Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   051e6b7e34b9bd24f46725f74994a4d3a653966e
commit: e93a1695d7fb551376b1c1220a267d032b6ad159 iommu: Enable compile testing 
for some of drivers
date:   2 months ago
config: ia64-randconfig-r015-20200515 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e93a1695d7fb551376b1c1220a267d032b6ad159
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=ia64 

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

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

drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_from_dev':
>> drivers/iommu/rockchip-iommu.c:839:43: error: 'struct dev_archdata' has no 
>> member named 'iommu'
839 |  struct rk_iommudata *data = dev->archdata.iommu;
|   ^
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_add_device':
drivers/iommu/rockchip-iommu.c:1063:22: error: 'struct dev_archdata' has no 
member named 'iommu'
1063 |  data = dev->archdata.iommu;
|  ^
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_remove_device':
drivers/iommu/rockchip-iommu.c:1084:43: error: 'struct dev_archdata' has no 
member named 'iommu'
1084 |  struct rk_iommudata *data = dev->archdata.iommu;
|   ^
drivers/iommu/rockchip-iommu.c: In function 'rk_iommu_of_xlate':
drivers/iommu/rockchip-iommu.c:1115:15: error: 'struct dev_archdata' has no 
member named 'iommu'
1115 |  dev->archdata.iommu = data;
|   ^

vim +839 drivers/iommu/rockchip-iommu.c

c68a292152d322 Daniel Kurtz 2014-11-03  836  
c68a292152d322 Daniel Kurtz 2014-11-03  837  static struct rk_iommu 
*rk_iommu_from_dev(struct device *dev)
c68a292152d322 Daniel Kurtz 2014-11-03  838  {
5fd577c3eac3bd Jeffy Chen   2018-03-23 @839 struct rk_iommudata *data = 
dev->archdata.iommu;
c68a292152d322 Daniel Kurtz 2014-11-03  840  
5fd577c3eac3bd Jeffy Chen   2018-03-23  841 return data ? data->iommu : 
NULL;
c68a292152d322 Daniel Kurtz 2014-11-03  842  }
c68a292152d322 Daniel Kurtz 2014-11-03  843  

:: The code at line 839 was first introduced by commit
:: 5fd577c3eac3bdb9aebfec01e9b3d7f07a14f2dd iommu/rockchip: Use OF_IOMMU to 
attach devices automatically

:: TO: Jeffy Chen 
:: CC: Joerg Roedel 

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


.config.gz
Description: application/gzip


drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from constant value (58f becomes 8f)

2020-05-15 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   051e6b7e34b9bd24f46725f74994a4d3a653966e
commit: 06e85c7e9a1c1356038936566fc23f7c0d363b96 asm-generic: fix unistd_32.h 
generation format
date:   5 weeks ago
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout 06e85c7e9a1c1356038936566fc23f7c0d363b96
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/scsi/ncr53c8xx.c:5306:9: sparse: sparse: cast truncates bits from 
>> constant value (58f becomes 8f)

vim +5306 drivers/scsi/ncr53c8xx.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  5243  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5244  /*
^1da177e4c3f41 Linus Torvalds 2005-04-16  5245  **  Start at first 
entry.
^1da177e4c3f41 Linus Torvalds 2005-04-16  5246  */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5247  
np->script0->done_pos[0] = cpu_to_scr(NCB_SCRIPTH_PHYS (np,done_queue));
^1da177e4c3f41 Linus Torvalds 2005-04-16  5248  np->ccb_done_ic = 
MAX_DONE-1;
^1da177e4c3f41 Linus Torvalds 2005-04-16  5249  
np->scripth0->done_queue[5*(MAX_DONE-1) + 4] =
^1da177e4c3f41 Linus Torvalds 2005-04-16  5250  
cpu_to_scr(NCB_SCRIPT_PHYS (np, done_plug));
^1da177e4c3f41 Linus Torvalds 2005-04-16  5251  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5252  /*
^1da177e4c3f41 Linus Torvalds 2005-04-16  5253  **  Wakeup all 
pending jobs.
^1da177e4c3f41 Linus Torvalds 2005-04-16  5254  */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5255  ncr_wakeup (np, code);
^1da177e4c3f41 Linus Torvalds 2005-04-16  5256  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5257  /*
^1da177e4c3f41 Linus Torvalds 2005-04-16  5258  **  Init chip.
^1da177e4c3f41 Linus Torvalds 2005-04-16  5259  */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5260  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5261  /*
^1da177e4c3f41 Linus Torvalds 2005-04-16  5262  ** Remove reset; big 
delay because the 895 needs time for the
^1da177e4c3f41 Linus Torvalds 2005-04-16  5263  ** bus mode to settle
^1da177e4c3f41 Linus Torvalds 2005-04-16  5264  */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5265  ncr_chip_reset(np, 
2000);
^1da177e4c3f41 Linus Torvalds 2005-04-16  5266  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5267  OUTB (nc_scntl0, 
np->rv_scntl0 | 0xc0);
^1da177e4c3f41 Linus Torvalds 2005-04-16  5268  
/*  full arb., ena parity, par->ATN  */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5269  OUTB (nc_scntl1, 0x00); 
/*  odd parity, and remove CRST!! */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5270  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5271  ncr_selectclock(np, 
np->rv_scntl3); /* Select SCSI clock */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5272  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5273  OUTB (nc_scid  , 
RRE|np->myaddr);   /* Adapter SCSI address */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5274  OUTW (nc_respid, 
1ul<myaddr);  /* Id to respond to */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5275  OUTB (nc_istat , SIGP   
);  /*  Signal Process */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5276  OUTB (nc_dmode , 
np->rv_dmode); /* Burst length, dma mode */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5277  OUTB (nc_ctest5, 
np->rv_ctest5);/* Large fifo + large burst */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5278  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5279  OUTB (nc_dcntl , 
NOCOM|np->rv_dcntl);   /* Protect SFBR */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5280  OUTB (nc_ctest0, 
np->rv_ctest0);/* 720: CDIS and EHP */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5281  OUTB (nc_ctest3, 
np->rv_ctest3);/* Write and invalidate */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5282  OUTB (nc_ctest4, 
np->rv_ctest4);/* Master parity checking */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5283  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5284  OUTB (nc_stest2, 
EXT|np->rv_stest2);/* Extended Sreq/Sack filtering */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5285  OUTB (nc_stest3, TE);   
/* TolerANT enable */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5286  OUTB (nc_stime0, 0x0c   
);  /* HTH disabled  STO 0.25 sec */
^1da177e4c3f41 Linus Torvalds 2005-04-16  5287  
^1da177e4c3f41 Linus Torvalds 2005-04-16  5288  /*
^1da177e4c3f41 Linus Torvalds 2005-04-16  5289  **  Disable 
disconnects.
^1da177e4c3f41 Linu

[tip:objtool/core] BUILD SUCCESS 6b5dd716da8fc3aba65e6b7d992dea0cee2f9528

2020-05-15 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git  
objtool/core
branch HEAD: 6b5dd716da8fc3aba65e6b7d992dea0cee2f9528  objtool: optimize 
add_dead_ends for split sections

elapsed time: 529m

configs tested: 98
configs skipped: 1

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

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

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


[tip:master] BUILD SUCCESS 7463f811eaa72cc4f06c2488c576f83f705fcc4d

2020-05-15 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 7463f811eaa72cc4f06c2488c576f83f705fcc4d  Merge branch 'linus'

elapsed time: 565m

configs tested: 92
configs skipped: 1

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

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

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


Re: [PATCH v7 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-15 Thread kbuild test robot
Hi "Ramuthevar,Vadivel,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Ramuthevar-Vadivel-MuruganX/mtd-rawnand-Add-NAND-controller-support-on-Intel-LGM-SoC/20200515-185904
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/mtd/nand/raw/intel-nand-controller.c:441:24: sparse: sparse: 
>> incorrect type in argument 1 (different base types) @@expected unsigned 
>> int val @@got restricted __be32 [assignedunsigned int val @@
>> drivers/mtd/nand/raw/intel-nand-controller.c:441:24: sparse:expected 
>> unsigned int val
>> drivers/mtd/nand/raw/intel-nand-controller.c:441:24: sparse:got 
>> restricted __be32 [assigned] [usertype] reg
   drivers/mtd/nand/raw/intel-nand-controller.c:444:24: sparse: sparse: 
incorrect type in argument 1 (different base types) @@expected unsigned int 
val @@got restricted __be32 [assignedunsigned int val @@
   drivers/mtd/nand/raw/intel-nand-controller.c:444:24: sparse:expected 
unsigned int val
   drivers/mtd/nand/raw/intel-nand-controller.c:444:24: sparse:got 
restricted __be32 [assigned] [usertype] reg

vim +441 drivers/mtd/nand/raw/intel-nand-controller.c

   420  
   421  static int ebu_nand_write_page_hwecc(struct nand_chip *chip, const u8 
*buf,
   422   int oob_required, int page)
   423  {
   424  struct mtd_info *mtd = nand_to_mtd(chip);
   425  struct ebu_nand_controller *ebu_host = 
nand_get_controller_data(chip);
   426  void __iomem *int_sta = ebu_host->hsnand + HSNAND_INT_STA;
   427  int ret, val, x;
   428  __be32 reg;
   429  
   430  ebu_nand_trigger(ebu_host, page, NAND_CMD_SEQIN);
   431  
   432  ret = ebu_dma_start(ebu_host, DMA_MEM_TO_DEV, buf, 
mtd->writesize);
   433  if (ret)
   434  return ret;
   435  
   436  if (oob_required) {
   437  const u8 *pdata;
   438  
   439  pdata = chip->oob_poi;
   440  reg = cpu_to_be32(*pdata++);
 > 441  writel(reg, ebu_host->hsnand + HSNAND_CMSG_0);
   442  
   443  reg = cpu_to_be32(*pdata);
   444  writel(reg, ebu_host->hsnand + HSNAND_CMSG_1);
   445  }
   446  
   447  ret = readl_poll_timeout_atomic(int_sta, val,
   448  !(val & HSNAND_INT_STA_WR_C), 
10, 1000);
   449  if (ret)
   450  return -EIO;
   451  
   452  x = readl(ebu_host->hsnand + HSNAND_CTL);
   453  x &= ~HSNAND_CTL_GO;
   454  writel(x, ebu_host->hsnand + HSNAND_CTL);
   455  
   456  return 0;
   457  }
   458  

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


Re: [PATCH 5/5] PCI: uniphier: Add error message when failed to get phy

2020-05-15 Thread kbuild test robot
Hi Kunihiko,

I love your patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Kunihiko-Hayashi/PCI-uniphier-Add-features-for-UniPhier-PCIe-host-controller/20200515-125031
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

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

In file included from include/linux/device.h:15:0,
from include/linux/pci.h:37,
from drivers/pci/controller/dwc/pcie-uniphier.c:18:
drivers/pci/controller/dwc/pcie-uniphier.c: In function 'uniphier_pcie_probe':
>> drivers/pci/controller/dwc/pcie-uniphier.c:470:16: warning: format '%d' 
>> expects argument of type 'int', but argument 3 has type 'long int' 
>> [-Wformat=]
dev_err(dev, "Failed to get phy (%d)n", PTR_ERR(priv->phy));
^
include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt'
#define dev_fmt(fmt) fmt
^~~
>> drivers/pci/controller/dwc/pcie-uniphier.c:470:3: note: in expansion of 
>> macro 'dev_err'
dev_err(dev, "Failed to get phy (%d)n", PTR_ERR(priv->phy));
^~~

vim +470 drivers/pci/controller/dwc/pcie-uniphier.c

   430  
   431  static int uniphier_pcie_probe(struct platform_device *pdev)
   432  {
   433  struct device *dev = >dev;
   434  struct uniphier_pcie_priv *priv;
   435  struct resource *res;
   436  int ret;
   437  
   438  priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
   439  if (!priv)
   440  return -ENOMEM;
   441  
   442  priv->pci.dev = dev;
   443  priv->pci.ops = _pcie_ops;
   444  
   445  res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dbi");
   446  priv->pci.dbi_base = devm_pci_remap_cfg_resource(dev, res);
   447  if (IS_ERR(priv->pci.dbi_base))
   448  return PTR_ERR(priv->pci.dbi_base);
   449  
   450  res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "atu");
   451  priv->pci.atu_base = devm_pci_remap_cfg_resource(dev, res);
   452  if (IS_ERR(priv->pci.atu_base))
   453  priv->pci.atu_base = NULL;
   454  
   455  res = platform_get_resource_byname(pdev, IORESOURCE_MEM, 
"link");
   456  priv->base = devm_ioremap_resource(dev, res);
   457  if (IS_ERR(priv->base))
   458  return PTR_ERR(priv->base);
   459  
   460  priv->clk = devm_clk_get(dev, NULL);
   461  if (IS_ERR(priv->clk))
   462  return PTR_ERR(priv->clk);
   463  
   464  priv->rst = devm_reset_control_get_shared(dev, NULL);
   465  if (IS_ERR(priv->rst))
   466  return PTR_ERR(priv->rst);
   467  
   468  priv->phy = devm_phy_optional_get(dev, "pcie-phy");
   469  if (IS_ERR(priv->phy)) {
 > 470  dev_err(dev, "Failed to get phy (%d)\n", 
 > PTR_ERR(priv->phy));
   471  return PTR_ERR(priv->phy);
   472  }
   473  
   474  platform_set_drvdata(pdev, priv);
   475  
   476  ret = uniphier_pcie_host_enable(priv);
   477  if (ret)
   478  return ret;
   479  
   480  return uniphier_add_pcie_port(priv, pdev);
   481  }
   482  

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


.config.gz
Description: application/gzip


drivers/vhost/vhost.c:1014:16: sparse: sparse: cast to restricted __virtio16

2020-05-14 Thread kbuild test robot
Hi Jason,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   1ae7efb388540adc1653a51a3bc3b2c9cef5ec1a
commit: 20c384f1ea1a0bc7320bc445c72dd02d2970d594 vhost: refine vhost and vringh 
kconfig
date:   6 weeks ago
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout 20c384f1ea1a0bc7320bc445c72dd02d2970d594
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
   drivers/vhost/vhost.c:753:17: sparse:got void *
   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
   drivers/vhost/vhost.c:753:17: sparse:got void *
   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
   drivers/vhost/vhost.c:753:17: sparse:got void *
   drivers/vhost/vhost.c:937:16: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void *addr @@got restricted 
__virtio16 [noderef]  *
   drivers/vhost/vhost.c:900:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void [noderef]  *addr @@
got n:1> *addr @@
   drivers/vhost/vhost.c:900:42: sparse:expected void [noderef]  
*addr
   drivers/vhost/vhost.c:900:42: sparse:got void *addr
   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
   drivers/vhost/vhost.c:753:17: sparse:got void *
   drivers/vhost/vhost.c:922:16: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void *addr @@got restricted 
__virtio16 [noderef] [usertype]  *
   drivers/vhost/vhost.c:900:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void [noderef]  *addr @@
got n:1> *addr @@
   drivers/vhost/vhost.c:900:42: sparse:expected void [noderef]  
*addr
   drivers/vhost/vhost.c:900:42: sparse:got void *addr
   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
   drivers/vhost/vhost.c:753:17: sparse:got void *
>> drivers/vhost/vhost.c:1014:16: sparse: sparse: cast to restricted __virtio16
   drivers/vhost/vhost.c:1014:16: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void *addr @@got restricted 
__virtio16 [noderef]  *
>> drivers/vhost/vhost.c:1014:16: sparse: sparse: cast to restricted __virtio16
   drivers/vhost/vhost.c:900:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void [noderef]  *addr @@
got n:1> *addr @@
   drivers/vhost/vhost.c:900:42: sparse:expected void [noderef]  
*addr
   drivers/vhost/vhost.c:900:42: sparse:got void *addr
   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
   drivers/vhost/vhost.c:753:17: sparse:got void *
   drivers/vhost/vhost.c:989:16: sparse: sparse: cast to restricted __virtio16
   drivers/vhost/vhost.c:989:16: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void *addr @@got restricted 
__virtio16 [noderef]  *
   drivers/vhost/vhost.c:989:16: sparse: sparse: cast to restricted __virtio16
   drivers/vhost/vhost.c:900:42: sparse: sparse: incorrect type in argument 2 
(different address spaces) @@expected void [noderef]  *addr @@
got n:1> *addr @@
   drivers/vhost/vhost.c:900:42: sparse:expected void [noderef]  
*addr
   drivers/vhost/vhost.c:900:42: sparse:got void *addr
   drivers/vhost/vhost.c:753:17: sparse: sparse: incorrect type in return 
expression (different address spaces) @@expected void [noderef]  * 
@@got n:1> * @@
   drivers/vhost/vhost.c:753:17: sparse:expected void [noderef]  *
 

[rcu:dev.2020.05.09a] BUILD SUCCESS f947b264331dde395e790628cf7c41f632cad098

2020-05-14 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.09a
branch HEAD: f947b264331dde395e790628cf7c41f632cad098  ubsan, kcsan: Don't 
combine sanitizer with kcov on clang

elapsed time: 528m

configs tested: 123
configs skipped: 2

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
powerpc mpc5200_defconfig
armqcom_defconfig
sh   alldefconfig
arm   aspeed_g5_defconfig
armvexpress_defconfig
mips rt305x_defconfig
arm   corgi_defconfig
m68k   m5208evb_defconfig
powerpc   holly_defconfig
armoxnas_v6_defconfig
s390   zfcpdump_defconfig
powerpc   maple_defconfig
sh   se7722_defconfig
sh  r7785rp_defconfig
h8300alldefconfig
armshmobile_defconfig
shsh7763rdp_defconfig
arm ezx_defconfig
powerpcmpc7448_hpc2_defconfig
mips cobalt_defconfig
sh  rsk7264_defconfig
m68km5407c3_defconfig
shecovec24-romimage_defconfig
shtitan_defconfig
riscvnommu_virt_defconfig
i386defconfig
i386  debian-10.3
i386  allnoconfig
i386 allyesconfig
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200514
i386 randconfig-a005-20200514
i386 randconfig-a003-20200514
i386 randconfig-a001-20200514
i386 randconfig-a004-20200514
i386 randconfig-a002-20200514
x86_64   randconfig-a012-20200514
x86_64   randconfig-a016-20200514
x86_64   randconfig-a015-20200514
x86_64   randconfig-a013-20200514
x86_64   randconfig-a014-20200514
x86_64   randconfig-a011-20200514
i386 randconfig-a012-20200514
i386 randconfig-a016-20200514
i386 randconfig-a014-20200514
i386 randconfig-a011-20200514
i386 randconfig-a013-20200514
i386 randconfig-a015-20200514
riscvallyesconfig
riscv allnoconfig
riscv  

[rcu:dev.2020.05.14b] BUILD SUCCESS c1628f71b9ac81a2349f02cdebaaefe35a3fe4ba

2020-05-14 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.14b
branch HEAD: c1628f71b9ac81a2349f02cdebaaefe35a3fe4ba  ubsan, kcsan: Don't 
combine sanitizer with kcov on clang

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  try_invoke_on_locked_down_task()  
  
==
+1 0353159365e72 rcu: Add KCSAN 
stubs 
 0 04f58820fd710 srcu: Add KCSAN 
stubs
 0 02f0846956355 rcu: Mark 
rcu_state.ncpus to detect concurrent writes
 0 0314eeb43e5f2 rcu: Add *_ONCE() 
and data_race() to rcu_node ->exp_tasks pl 
 0 0065a6db12a80 rcu: Add READ_ONCE 
and data_race() to rcu_node ->boost_tasks 
 0 0b68c6146512d srcu: Add 
data_race() to ->srcu_lock_count and ->srcu_unlock 
 0 05822b8126ff0 rcu: Add 
WRITE_ONCE() to rcu_node ->boost_tasks  
 0 047fbb074536e rcu: Use 
data_race() for RCU CPU stall-warning prints
 0 053965dbe5396 drm: Make 
drm_dp_mst_dsc_aux_for_port() safe for old compile 
 0 01fca4d12f463 rcu: Expedite 
first two FQS scans under callback-overload co 
 0 0fcbcc0e70050 rcu: Fix the (t=0 
jiffies) false positive
 0 0ddc465936643 Revert "rculist: 
Describe variadic macro argument in a Sphin 
 0 0c28d5c09d09f rcu: Get rid of 
some doc warnings in update.c
 0 062ae19511f1e rcu: Mark 
rcu_state.gp_seq to detect more concurrent writes  
 0 0a66dbda7893f rcu: Replace 
assigned pointer ret value by corresponding boo 
 0 0da44cd6c8e88 rcu: Replace 1 by 
true   
 0 029ffebc5fcc0 rcu: Convert 
ULONG_CMP_GE() to time_after() for jiffy compar 
 0 07b2413111a63 rcu: Convert 
rcu_initiate_boost() ULONG_CMP_GE() to time_aft 
 0 0e2f3ccfa6200 rcu: Convert 
rcu_nohz_full_cpu() ULONG_CMP_LT() to time_befo 
   +38   +38 0  0f63274855bd fork: Annotate a 
data race in vm_area_dup()  
 0 0 0  44c5704098db x86/mm/pat: Mark 
an intentional data race
 0 0 0  79580081c819 rculist: Add 
ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0 0  c6509b6ebd35 locktorture: Use 
true and false to assign to bool variables  
 0 0 0  9ff7fb3ae801 srcu: Fix a typo 
in comment "amoritized"->"amortized"
 0 0 0  a26e676ed124 rcu: Simplify the 
calculation of rcu_state.ncpus 
 0 0 0  e69d7d3457e1 docs: RCU: Convert 
checklist.txt to ReST 
 0 0 0  5a0420ab6838 docs: RCU: Convert 
lockdep-splat.txt to ReST 
 0 0 0  b511fe2f9ca3 docs: RCU: Convert 
lockdep.txt to ReST   
 0 0 0  de5eeb13c7d3 docs: RCU: Convert 
rculist_nulls.txt to ReST 
 0 0 0  413d28ccf9a6 docs: RCU: Convert 
torture.txt to ReST   
 0 0 0  bf964e388306 docs: RCU: Convert 
rcuref.txt to ReST
 0 0 0  47e08ad9b727 docs: RCU: Convert 
stallwarn.txt to ReST 
 0 0 0  714e2785e889 docs: RCU: Don't 
duplicate chapter names in rculist_nulls.rs 
 0 0 0  fbadb7b741f5 rcutorture: Add 
races with task-exit processing  
 0 0 0  5f6efafb13cf torture: Set 
configfile variable to current scenario 
 0 0  

[tip:x86/splitlock] BUILD SUCCESS 0ed7bf1d92eafc37bb9eb7c8692a8e44d24f9b99

2020-05-14 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/splitlock
branch HEAD: 0ed7bf1d92eafc37bb9eb7c8692a8e44d24f9b99  x86/split_lock: Add 
Icelake microserver CPU model

elapsed time: 484m

configs tested: 89
configs skipped: 107

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

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

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


[rcu:dev.2020.05.14a] BUILD SUCCESS 514375f17d28a6d9bc86d0ad441bea7d81a0c068

2020-05-14 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.14a
branch HEAD: 514375f17d28a6d9bc86d0ad441bea7d81a0c068  ubsan, kcsan: Don't 
combine sanitizer with kcov on clang

elapsed time: 491m

configs tested: 122
configs skipped: 3

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64 allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arc nsimosci_hs_smp_defconfig
mips  malta_defconfig
arm  exynos_defconfig
powerpc  pmac32_defconfig
mips rt305x_defconfig
arm   corgi_defconfig
m68k   m5208evb_defconfig
powerpc   holly_defconfig
armoxnas_v6_defconfig
powerpc   allnoconfig
powerpc  tqm8xx_defconfig
mips   ip28_defconfig
armclps711x_defconfig
mips   sb1250_swarm_defconfig
arm   efm32_defconfig
nios2 3c120_defconfig
um i386_defconfig
arm lubbock_defconfig
arm   multi_v4t_defconfig
arc  axs103_defconfig
arc  axs103_smp_defconfig
arm cm_x2xx_defconfig
arm palmz72_defconfig
arm socfpga_defconfig
mipsbcm63xx_defconfig
mips  fuloong2e_defconfig
m68k  atari_defconfig
m68k  sun3x_defconfig
mipsjmr3927_defconfig
armcerfcube_defconfig
ia64 bigsur_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
i386  allnoconfig
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
i386 randconfig-a006-20200514
i386 randconfig-a005-20200514
i386 randconfig-a003-20200514
i386 randconfig-a001-20200514
i386 randconfig-a004-20200514
i386 randconfig-a002-20200514
i386 randconfig-a012-20200514
i386 randconfig-a016-20200514
i386 randconfig-a014-20200514
i386 randconfig-a011-20200514
i386 randconfig-a013-20200514
i386 randconfig-a015-20200514
riscvallyesconfig
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390   

[rcu:lkmm-dev] BUILD SUCCESS 67e6bf52edb83db3258a655a19b843ce6760a86d

2020-05-14 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  lkmm-dev
branch HEAD: 67e6bf52edb83db3258a655a19b843ce6760a86d  tools/memory-model: Use 
"-unroll 0" to keep --hw runs finite

elapsed time: 484m

configs tested: 128
configs skipped: 46

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
arc nsimosci_hs_smp_defconfig
mips  malta_defconfig
arm  exynos_defconfig
powerpc  pmac32_defconfig
mips rt305x_defconfig
arm   corgi_defconfig
m68k   m5208evb_defconfig
powerpc   holly_defconfig
armoxnas_v6_defconfig
powerpc   allnoconfig
mips   ip27_defconfig
sparcalldefconfig
mips  decstation_64_defconfig
mipse55_defconfig
m68k  multi_defconfig
arm   cns3420vb_defconfig
mips loongson1c_defconfig
arm rpc_defconfig
mips  loongson3_defconfig
s390   zfcpdump_defconfig
powerpc   maple_defconfig
sh   se7722_defconfig
sh  r7785rp_defconfig
h8300alldefconfig
s390defconfig
arc  axs103_smp_defconfig
arm cm_x2xx_defconfig
arm palmz72_defconfig
ia64 allmodconfig
sh kfr2r09-romimage_defconfig
c6xevmc6678_defconfig
shshmin_defconfig
armneponset_defconfig
powerpc  g5_defconfig
arm  iop32x_defconfig
arm vf610m4_defconfig
mipsnlm_xlr_defconfig
mipsnlm_xlp_defconfig
arm  jornada720_defconfig
i386  allnoconfig
i386defconfig
i386  debian-10.3
i386 allyesconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
i386 randconfig-a006-20200514
i386 randconfig-a005-20200514
i386 randconfig-a003-20200514
i386 randconfig-a001-20200514
i386 randconfig-a004-20200514
i386 randconfig-a002-20200514
i386 randconfig-a012-20200514
i386 randconfig-a016-20200514
i386 

Re: [PATCH v5 3/5] remoteproc: qcom: Update PIL relocation info on load

2020-05-14 Thread kbuild test robot
Hi Bjorn,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Bjorn-Andersson/remoteproc-qcom-PIL-info-support/20200514-161851
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=arm64 

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

All errors (new ones prefixed by >>):

drivers/remoteproc/qcom_q6v5_wcss.c: In function 'q6v5_wcss_load':
>> drivers/remoteproc/qcom_q6v5_wcss.c:433:2: error: implicit declaration of 
>> function 'qcom_pil_info_store' [-Werror=implicit-function-declaration]
433 |  qcom_pil_info_store("wcnss", wcss->mem_reloc, wcss->mem_size);
|  ^~~
cc1: some warnings being treated as errors

vim +/qcom_pil_info_store +433 drivers/remoteproc/qcom_q6v5_wcss.c

   420  
   421  static int q6v5_wcss_load(struct rproc *rproc, const struct firmware 
*fw)
   422  {
   423  struct q6v5_wcss *wcss = rproc->priv;
   424  int ret;
   425  
   426  ret = qcom_mdt_load_no_init(wcss->dev, fw, rproc->firmware,
   427  0, wcss->mem_region, wcss->mem_phys,
   428  wcss->mem_size, >mem_reloc);
   429  if (ret)
   430  return ret;
   431  
   432  /* Failures only affect post mortem debugging, so ignore return 
value */
 > 433  qcom_pil_info_store("wcnss", wcss->mem_reloc, wcss->mem_size);
   434  
   435  return ret;
   436  }
   437  

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


.config.gz
Description: application/gzip


[tip:master] BUILD SUCCESS 81706f403730787e8babf1b4e0e391a02b966580

2020-05-14 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 81706f403730787e8babf1b4e0e391a02b966580  Merge branch 'linus'

elapsed time: 480m

configs tested: 144
configs skipped: 10

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
arc nsimosci_hs_smp_defconfig
mips  malta_defconfig
i386defconfig
arm  exynos_defconfig
powerpc  pmac32_defconfig
nios2   defconfig
powerpc mpc5200_defconfig
armqcom_defconfig
sh   alldefconfig
arm   aspeed_g5_defconfig
armvexpress_defconfig
mips rt305x_defconfig
arm   corgi_defconfig
m68k   m5208evb_defconfig
powerpc   holly_defconfig
armoxnas_v6_defconfig
powerpc   allnoconfig
sh  sdk7780_defconfig
riscvalldefconfig
sh espt_defconfig
m68k amcore_defconfig
sh  polaris_defconfig
arc haps_hs_smp_defconfig
mips   jazz_defconfig
ia64  allnoconfig
powerpc  g5_defconfig
arm  colibri_pxa300_defconfig
arm   cns3420vb_defconfig
mips loongson1c_defconfig
arm rpc_defconfig
mips  loongson3_defconfig
m68kq40_defconfig
ia64generic_defconfig
armmagician_defconfig
arm  imote2_defconfig
powerpc  tqm8xx_defconfig
mips   ip28_defconfig
armclps711x_defconfig
m68k   sun3_defconfig
mips   sb1250_swarm_defconfig
arc  axs101_defconfig
shtitan_defconfig
s390defconfig
sh kfr2r09-romimage_defconfig
c6xevmc6678_defconfig
shshmin_defconfig
armneponset_defconfig
sh microdev_defconfig
x86_64  defconfig
arm s3c2410_defconfig
armmulti_v7_defconfig
armshmobile_defconfig
shsh7763rdp_defconfig
arm ezx_defconfig
powerpcmpc7448_hpc2_defconfig
mips cobalt_defconfig
powerpc   maple_defconfig
ia64zx1_defconfig
sh ecovec24_defconfig
i386  allnoconfig
i386 allyesconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68kdefconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
parisc

Re: [PATCH v7 3/6] clocksource: Ingenic: Add high resolution timer support for SMP.

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

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Zhou-Yanjie/Introduce-SMP-support-for-CI20-based-on-JZ4780/20200514-171836
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

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

In file included from include/linux/bitops.h:5:0,
from drivers/clocksource/ingenic-timer.c:8:
drivers/clocksource/ingenic-timer.c: In function 'ingenic_tcu_init':
>> include/linux/bits.h:36:22: warning: left shift count >= width of type 
>> [-Wshift-count-overflow]
(((~UL(0)) - (UL(1) << (l)) + 1) &  ^
>> include/linux/bits.h:39:31: note: in expansion of macro '__GENMASK'
(GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
^
>> drivers/clocksource/ingenic-timer.c:313:27: note: in expansion of macro 
>> 'GENMASK'
tcu->pwm_channels_mask = GENMASK(soc_info->num_channels - 1,
^~~

vim +/GENMASK +313 drivers/clocksource/ingenic-timer.c

   288  
   289  static int __init ingenic_tcu_init(struct device_node *np)
   290  {
   291  const struct of_device_id *id = 
of_match_node(ingenic_tcu_of_match, np);
   292  const struct ingenic_soc_info *soc_info = id->data;
   293  struct ingenic_tcu *tcu;
   294  struct regmap *map;
   295  unsigned cpu = 0;
   296  long rate;
   297  int ret;
   298  
   299  of_node_clear_flag(np, OF_POPULATED);
   300  
   301  map = device_node_to_regmap(np);
   302  if (IS_ERR(map))
   303  return PTR_ERR(map);
   304  
   305  tcu = kzalloc(sizeof(*tcu), GFP_KERNEL);
   306  if (!tcu)
   307  return -ENOMEM;
   308  
   309  /*
   310   * Enable all TCU channels for PWM use by default except 
channels 0/1,
   311   * and channel 2 if target CPU is JZ4780 and SMP is selected.
   312   */
 > 313  tcu->pwm_channels_mask = GENMASK(soc_info->num_channels - 1,
   314  NR_CPUS 
+ 1);
   315  of_property_read_u32(np, "ingenic,pwm-channels-mask",
   316   (u32 *)>pwm_channels_mask);
   317  
   318  /* Verify that we have at least NR_CPUS + 1 free channels */
   319  if (hweight8(tcu->pwm_channels_mask) >
   320  soc_info->num_channels - NR_CPUS + 1) {
   321  pr_crit("%s: Invalid PWM channel mask: 0x%02lx\n", 
__func__,
   322  tcu->pwm_channels_mask);
   323  ret = -EINVAL;
   324  goto err_free_ingenic_tcu;
   325  }
   326  
   327  tcu->map = map;
   328  tcu->np = np;
   329  ingenic_tcu = tcu;
   330  
   331  tcu->timer_local[cpu] = 
find_first_zero_bit(>pwm_channels_mask,
   332   
soc_info->num_channels);
   333  
   334  for (cpu = 1; cpu < NR_CPUS; cpu++)
   335  tcu->timer_local[cpu] = find_next_zero_bit(
   336  >pwm_channels_mask, 
soc_info->num_channels,
   337  tcu->timer_local[cpu - 1] + 1);
   338  
   339  tcu->cs_channel = find_next_zero_bit(>pwm_channels_mask,
   340  soc_info->num_channels, tcu->timer_local[cpu - 
1] + 1);
   341  
   342  ret = ingenic_tcu_clocksource_init(np, tcu);
   343  if (ret) {
   344  pr_crit("%s: Unable to init clocksource: %d\n", 
__func__, ret);
   345  goto err_free_ingenic_tcu;
   346  }
   347  
   348  /* Setup clock events on each CPU core */
   349  ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "Ingenic XBurst: 
online",
   350  ingenic_tcu_setup_cevt, NULL);
   351  WARN_ON(ret < 0);
   352  
   353  /* Register the sched_clock at the end as there's no way to 
undo it */
   354  rate = clk_get_rate(tcu->cs_clk);
   355  sch

Re: [PATCH v1] ASoC: rsnd: add interrupt support for SSI BUSIF buffer

2020-05-13 Thread kbuild test robot
Hi Yongbo,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Yongbo-Zhang/ASoC-rsnd-add-interrupt-support-for-SSI-BUSIF-buffer/20200511-184903
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 
for-next
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
:: branch date: 8 hours ago
:: commit date: 8 hours ago

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


sparse warnings: (new ones prefixed by >>)

   sound/soc/sh/rcar/ssi.c:596:1: sparse: sparse: mixing declarations and code
   include/sound/pcm_params.h:377:0: sparse: sparse: Expected } at end of 
function
   include/sound/pcm_params.h:377:0: sparse: sparse: got end-of-input
>> sound/soc/sh/rcar/ssi.c:798:56: sparse: sparse: not enough arguments for 
>> function rsnd_mod_write

# 
https://github.com/0day-ci/linux/commit/23aaae15fe2b41fd05caf5e0773d41021bc03e27
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 23aaae15fe2b41fd05caf5e0773d41021bc03e27
vim +798 sound/soc/sh/rcar/ssi.c

615fb6c7b13b7f Kuninori Morimoto 2016-02-18  733  
d8d9b9730cd62c Kuninori Morimoto 2017-12-11  734  static bool 
rsnd_ssi_pio_interrupt(struct rsnd_mod *mod,
d8d9b9730cd62c Kuninori Morimoto 2017-12-11  735
   struct rsnd_dai_stream *io);
bfc0cfe6b7acb1 Kuninori Morimoto 2015-06-15  736  static void 
__rsnd_ssi_interrupt(struct rsnd_mod *mod,
bfc0cfe6b7acb1 Kuninori Morimoto 2015-06-15  737
 struct rsnd_dai_stream *io)
ae5c322303fff5 Kuninori Morimoto 2013-07-21  738  {
690602fcd85385 Kuninori Morimoto 2015-01-15  739struct rsnd_priv *priv 
= rsnd_mod_to_priv(mod);
2b62786951ca38 Kuninori Morimoto 2018-02-13  740struct device *dev = 
rsnd_priv_to_dev(priv);
765ae7c8dda7d0 Kuninori Morimoto 2015-01-15  741int is_dma = 
rsnd_ssi_is_dma_mode(mod);
02299d9875bab5 Kuninori Morimoto 2015-05-21  742u32 status;
75defee0f1b3fc Kuninori Morimoto 2015-06-15  743bool elapsed = false;
6a25c8da00284f Kuninori Morimoto 2016-01-26  744bool stop = false;
23aaae15fe2b41 Yongbo Zhang  2020-05-11  745int is_tdm, 
is_tdm_split;
23aaae15fe2b41 Yongbo Zhang  2020-05-11  746  
23aaae15fe2b41 Yongbo Zhang  2020-05-11  747is_tdm  = 
rsnd_runtime_is_tdm(io);
23aaae15fe2b41 Yongbo Zhang  2020-05-11  748is_tdm_split= 
rsnd_runtime_is_tdm_split(io);
02299d9875bab5 Kuninori Morimoto 2015-05-21  749  
02299d9875bab5 Kuninori Morimoto 2015-05-21  750spin_lock(>lock);
ae5c322303fff5 Kuninori Morimoto 2013-07-21  751  
02299d9875bab5 Kuninori Morimoto 2015-05-21  752/* ignore all cases if 
not working */
d5bbe7de563ccc Kuninori Morimoto 2015-06-15  753if 
(!rsnd_io_is_working(io))
02299d9875bab5 Kuninori Morimoto 2015-05-21  754goto 
rsnd_ssi_interrupt_out;
02299d9875bab5 Kuninori Morimoto 2015-05-21  755  
6a25c8da00284f Kuninori Morimoto 2016-01-26  756status = 
rsnd_ssi_status_get(mod);
4e7d606cd52aa8 Kuninori Morimoto 2014-11-27  757  
4e7d606cd52aa8 Kuninori Morimoto 2014-11-27  758/* PIO only */
d8d9b9730cd62c Kuninori Morimoto 2017-12-11  759if (!is_dma && (status 
& DIRQ))
d8d9b9730cd62c Kuninori Morimoto 2017-12-11  760elapsed = 
rsnd_ssi_pio_interrupt(mod, io);
ae5c322303fff5 Kuninori Morimoto 2013-07-21  761  
12927a8f802642 Kuninori Morimoto 2015-06-15  762/* DMA only */
2b62786951ca38 Kuninori Morimoto 2018-02-13  763if (is_dma && (status & 
(UIRQ | OIRQ))) {
c0ea089dbad47a Kuninori Morimoto 2018-10-30  764
rsnd_dbg_irq_status(dev, "%s err status : 0x%08x\n",
c0ea089dbad47a Kuninori Morimoto 2018-10-30  765
rsnd_mod_name(mod), status);
2b62786951ca38 Kuninori Morimoto 2018-02-13  766  
6a25c8da00284f Kuninori Morimoto 2016-01-26  767stop = true;
2b62786951ca38 Kuninori Morimoto 2018-02-13  768}
69e32a58bde674 Kuninori Morimoto 2015-10-26  769  
23aaae15fe2b41 Yongbo Zhang  2020-05-11  770status = 0;
23aaae15fe2b41 Yongbo Zhang  2020-05-11  771  
23aaae15fe2b41 Yongbo Zhang  2020-05-11  772if (is_tdm || 
is_tdm_split) {
23aaae15fe2b41 Yongbo Zhang  2020-05-11  773switch (id) {
23aaae15fe2b41 Yongbo Zhang  2020-

[tip:x86/entry] BUILD SUCCESS 82ff351052bcc4bf49dc966960f563d25f54d22b

2020-05-13 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/entry
branch HEAD: 82ff351052bcc4bf49dc966960f563d25f54d22b  x86/idt: Keep spurious 
entries unset in system_vectors

elapsed time: 483m

configs tested: 158
configs skipped: 13

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
h8300 edosk2674_defconfig
mips decstation_defconfig
sh  rsk7201_defconfig
parisc  defconfig
m68k  amiga_defconfig
mipsmalta_qemu_32r6_defconfig
i386  allnoconfig
arm davinci_all_defconfig
arc  axs101_defconfig
m68kmvme16x_defconfig
arc  alldefconfig
sh  sdk7786_defconfig
armhisi_defconfig
arm  exynos_defconfig
armmps2_defconfig
s390   zfcpdump_defconfig
m68k   m5249evb_defconfig
m68k  sun3x_defconfig
sh   se7619_defconfig
mipsqi_lb60_defconfig
arcnsim_700_defconfig
arm lubbock_defconfig
arm  tango4_defconfig
shshmin_defconfig
mips   mtx1_defconfig
riscvnommu_virt_defconfig
mipsnlm_xlr_defconfig
arm s3c2410_defconfig
powerpc  chrp32_defconfig
arm eseries_pxa_defconfig
xtensaxip_kc705_defconfig
arm   h3600_defconfig
arm nhk8815_defconfig
powerpcadder875_defconfig
mips pnx8335_stb225_defconfig
sh   sh7770_generic_defconfig
armdove_defconfig
mips decstation_r4k_defconfig
arm  moxart_defconfig
sh   allmodconfig
sh espt_defconfig
armxcep_defconfig
microblaze  defconfig
arm orion5x_defconfig
mips  pic32mzda_defconfig
mips  mips_paravirt_defconfig
riscv  rv32_defconfig
powerpc  ppc44x_defconfig
arm at91_dt_defconfig
sh   se7724_defconfig
arc nps_defconfig
arm rpc_defconfig
powerpc   holly_defconfig
arm   h5000_defconfig
arm  pxa910_defconfig
sh  rsk7203_defconfig
arm assabet_defconfig
m68kdefconfig
arm   sama5_defconfig
shsh7785lcr_defconfig
arm shannon_defconfig
nios2alldefconfig
sh   secureedge5410_defconfig
arm  footbridge_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc 

[tip:locking/kcsan] BUILD SUCCESS ffed638b6a2180da8fd002a46632d746af72b299

2020-05-13 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
locking/kcsan
branch HEAD: ffed638b6a2180da8fd002a46632d746af72b299  READ_ONCE: Fix comment 
describing 2x32-bit atomicity

elapsed time: 853m

configs tested: 130
configs skipped: 11

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
m68k allyesconfig
sparcallyesconfig
mips  rm200_defconfig
riscvnommu_virt_defconfig
mips  pistachio_defconfig
xtensa   alldefconfig
sh   se7722_defconfig
armcerfcube_defconfig
arm assabet_defconfig
openrisc alldefconfig
parisc  defconfig
m68k  amiga_defconfig
mipsmalta_qemu_32r6_defconfig
i386  allnoconfig
s390   zfcpdump_defconfig
m68k   m5249evb_defconfig
m68k  sun3x_defconfig
sh   se7619_defconfig
mipsqi_lb60_defconfig
arcnsim_700_defconfig
arm lubbock_defconfig
arm  tango4_defconfig
shshmin_defconfig
mips   mtx1_defconfig
mipsnlm_xlr_defconfig
arm s3c2410_defconfig
shecovec24-romimage_defconfig
archsdk_defconfig
arm  iop32x_defconfig
riscv allnoconfig
mips  pic32mzda_defconfig
mips  mips_paravirt_defconfig
arm orion5x_defconfig
riscv  rv32_defconfig
powerpc  ppc44x_defconfig
m68k   m5475evb_defconfig
sh   rts7751r2dplus_defconfig
arm shannon_defconfig
nios2alldefconfig
sh   secureedge5410_defconfig
arm  footbridge_defconfig
arc  axs101_defconfig
mips loongson1c_defconfig
c6xevmc6472_defconfig
um   alldefconfig
armclps711x_defconfig
powerpcadder875_defconfig
pariscgeneric-64bit_defconfig
armvexpress_defconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
x86_64   

[tip:master] BUILD SUCCESS e2938f0f997b5bb37e32b2679afc2ad101065df4

2020-05-13 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: e2938f0f997b5bb37e32b2679afc2ad101065df4  Merge branch 
'core/kprobes'

elapsed time: 923m

configs tested: 114
configs skipped: 5

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
mips  rm200_defconfig
riscvnommu_virt_defconfig
mips  pistachio_defconfig
xtensa   alldefconfig
sh   se7722_defconfig
openrisc alldefconfig
armcerfcube_defconfig
arm assabet_defconfig
shecovec24-romimage_defconfig
archsdk_defconfig
arm  iop32x_defconfig
riscv allnoconfig
c6x defconfig
shtitan_defconfig
mips   capcella_defconfig
arm   spear13xx_defconfig
arcnsimosci_defconfig
m68k   m5475evb_defconfig
arm s3c2410_defconfig
sh   rts7751r2dplus_defconfig
arm shannon_defconfig
nios2alldefconfig
arm   corgi_defconfig
arm lpc32xx_defconfig
mips  loongson3_defconfig
armclps711x_defconfig
powerpcadder875_defconfig
pariscgeneric-64bit_defconfig
armvexpress_defconfig
i386  allnoconfig
i386 allyesconfig
i386defconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
x86_64   randconfig-a005-20200513
x86_64   randconfig-a003-20200513
x86_64   randconfig-a006-20200513
x86_64   randconfig-a004-20200513
x86_64   randconfig-a001-20200513
x86_64   randconfig-a002-20200513
riscvallyesconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
x86_64  defconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64

drivers/gpu/drm/rcar-du/rcar_du_crtc.c:515: undefined reference to `rcar_cmm_setup'

2020-05-13 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   24085f70a6e1b0cb647ec92623284641d8270637
commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied 
by y to become m
date:   9 weeks ago
config: arm64-randconfig-r034-20200513 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout def2fbffe62c00c330c7f41584a356001179c59c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=arm64 

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

All errors (new ones prefixed by >>):

aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_crtc.o: in function 
`rcar_du_cmm_setup':
>> drivers/gpu/drm/rcar-du/rcar_du_crtc.c:515: undefined reference to 
>> `rcar_cmm_setup'
aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_crtc.o: in function 
`rcar_du_crtc_atomic_enable':
>> drivers/gpu/drm/rcar-du/rcar_du_crtc.c:720: undefined reference to 
>> `rcar_cmm_enable'
aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_crtc.o: in function 
`rcar_du_crtc_stop':
>> drivers/gpu/drm/rcar-du/rcar_du_crtc.c:664: undefined reference to 
>> `rcar_cmm_disable'
aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_kms.o: in function 
`rcar_du_cmm_init':
>> drivers/gpu/drm/rcar-du/rcar_du_kms.c:678: undefined reference to 
>> `rcar_cmm_init'

vim +515 drivers/gpu/drm/rcar-du/rcar_du_crtc.c

78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  502  
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  503  static void 
rcar_du_cmm_setup(struct drm_crtc *crtc)
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  504  {
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  505 struct 
drm_property_blob *drm_lut = crtc->state->gamma_lut;
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  506 struct rcar_du_crtc 
*rcrtc = to_rcar_crtc(crtc);
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  507 struct rcar_cmm_config 
cmm_config = {};
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  508  
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  509 if (!rcrtc->cmm)
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  510 return;
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  511  
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  512 if (drm_lut)
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  513 
cmm_config.lut.table = (struct drm_color_lut *)drm_lut->data;
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  514  
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17 @515 
rcar_cmm_setup(rcrtc->cmm, _config);
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  516  }
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  517  
17f6b8a0270f7a Laurent Pinchart 2015-02-18  518  /* 
-
17f6b8a0270f7a Laurent Pinchart 2015-02-18  519   * Start/Stop and 
Suspend/Resume
17f6b8a0270f7a Laurent Pinchart 2015-02-18  520   */
17f6b8a0270f7a Laurent Pinchart 2015-02-18  521  
f4112469cdb6da Laurent Pinchart 2017-06-27  522  static void 
rcar_du_crtc_setup(struct rcar_du_crtc *rcrtc)
4bf8e1962f91ee Laurent Pinchart 2013-06-19  523  {
4bf8e1962f91ee Laurent Pinchart 2013-06-19  524 /* Set display off and 
background to black */
4bf8e1962f91ee Laurent Pinchart 2013-06-19  525 
rcar_du_crtc_write(rcrtc, DOOR, DOOR_RGB(0, 0, 0));
4bf8e1962f91ee Laurent Pinchart 2013-06-19  526 
rcar_du_crtc_write(rcrtc, BPOR, BPOR_RGB(0, 0, 0));
4bf8e1962f91ee Laurent Pinchart 2013-06-19  527  
4bf8e1962f91ee Laurent Pinchart 2013-06-19  528 /* Configure display 
timings and output routing */
4bf8e1962f91ee Laurent Pinchart 2013-06-19  529 
rcar_du_crtc_set_display_timing(rcrtc);
2fd22dba23e384 Laurent Pinchart 2013-06-17  530 
rcar_du_group_set_routing(rcrtc->group);
4bf8e1962f91ee Laurent Pinchart 2013-06-19  531  
52055bafa1ffcd Laurent Pinchart 2015-02-23  532 /* Start with all 
planes disabled. */
52055bafa1ffcd Laurent Pinchart 2015-02-23  533 
rcar_du_group_write(rcrtc->group, rcrtc->index % 2 ? DS2PR : DS1PR, 0);
4bf8e1962f91ee Laurent Pinchart 2013-06-19  534  
f4112469cdb6da Laurent Pinchart 2017-06-27  535 /* Enable the VSP 
compositor. */
b764f2f66ed48c Kieran Bingham   2019-03-15  536 if 
(rcar_du_has(rcrtc->dev, RCAR_DU_FEATURE_VSP1_SOURCE))
f4112469cdb6da Laurent Pinchart 2017-06-27  537 
rcar_du_vsp_enable(rcrtc);
f4112469cdb6da Laurent Pinchart 2017-06-27  538  
f4112469cdb6da Laurent Pinchart 2017-06-27  539 /* Turn vertical 
blanking interrupt reporting on. */
f4112469cdb6da Laurent Pinchart 2017-06-27  540 
drm_crtc_vblank_on(>crtc);
f4112469cdb6da Laurent Pinchart 2017-06-27  541  }
f4112

ld.lld: error: undefined symbol: kb_cs

2020-05-13 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   24085f70a6e1b0cb647ec92623284641d8270637
commit: 5990cdee689c6885b27c6d969a3d58b09002b0bc lib/mpi: Fix building for 
powerpc with clang
date:   3 weeks ago
config: powerpc-randconfig-r034-20200514 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
310d32cb80a611e6384a921e85607fea05841f26)
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git checkout 5990cdee689c6885b27c6d969a3d58b09002b0bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: kb_cs
>>> referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042-ppcio.h:28 (drivers/input/serio/i8042-ppcio.h:28)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced 45 more times
--
>> ld.lld: error: undefined symbol: kb_data
>>> referenced by i8042.c:309 (drivers/input/serio/i8042.c:309)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042-ppcio.h:33 (drivers/input/serio/i8042-ppcio.h:33)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced by i8042.c:319 (drivers/input/serio/i8042.c:319)
>>> input/serio/i8042.o:(__i8042_command) in archive drivers/built-in.a
>>> referenced 15 more times

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


.config.gz
Description: application/gzip


Re: [PATCH v2 2/2] powerpc/rtas: Implement reentrant rtas call

2020-05-13 Thread kbuild test robot
Hi Leonardo,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Leonardo-Bras/powerpc-rtas-Move-type-struct-definitions-from-rtas-h-into-rtas-types-h/20200513-134244
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc64-randconfig-r004-20200513 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=powerpc64 

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

All errors (new ones prefixed by >>):

In file included from arch/powerpc/include/asm/paca.h:32,
from arch/powerpc/include/asm/current.h:13,
from include/linux/thread_info.h:21,
from include/asm-generic/preempt.h:5,
from ./arch/powerpc/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/seqlock.h:36,
from include/linux/time.h:6,
from include/linux/compat.h:10,
from arch/powerpc/kernel/asm-offsets.c:14:
>> arch/powerpc/include/asm/rtas-types.h:20:2: error: unknown type name 
>> 'arch_spinlock_t'
20 |  arch_spinlock_t lock;
|  ^~~
make[2]: *** [scripts/Makefile.build:100: arch/powerpc/kernel/asm-offsets.s] 
Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1141: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2

vim +/arch_spinlock_t +20 arch/powerpc/include/asm/rtas-types.h

199960607a5af4 Leonardo Bras 2020-05-13  15  
199960607a5af4 Leonardo Bras 2020-05-13  16  struct rtas_t {
199960607a5af4 Leonardo Bras 2020-05-13  17 unsigned long entry;
/* physical address pointer */
199960607a5af4 Leonardo Bras 2020-05-13  18 unsigned long base; 
/* physical address pointer */
199960607a5af4 Leonardo Bras 2020-05-13  19 unsigned long size;
199960607a5af4 Leonardo Bras 2020-05-13 @20 arch_spinlock_t lock;
199960607a5af4 Leonardo Bras 2020-05-13  21 struct rtas_args args;
199960607a5af4 Leonardo Bras 2020-05-13  22 struct device_node *dev;
/* virtual address pointer */
199960607a5af4 Leonardo Bras 2020-05-13  23  };
199960607a5af4 Leonardo Bras 2020-05-13  24  

:: The code at line 20 was first introduced by commit
:: 199960607a5af4bbda685171c4fa70158829a647 powerpc/rtas: Move type/struct 
definitions from rtas.h into rtas-types.h

:: TO: Leonardo Bras 
:: CC: 0day robot 

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


.config.gz
Description: application/gzip


Re: [PATCH v2] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread kbuild test robot
Hi Rodrigo,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Rodrigo-Rolim-Mendes-de-Alencar/video-fbdev-ssd1307fb-Added-support-to-Column-offset/20200514-010137
base:e098d7762d602be640c53565ceca342f81e55ad2
config: parisc-randconfig-r022-20200513 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=parisc 

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

All errors (new ones prefixed by >>):

drivers/video/fbdev/ssd1307fb.c: In function 'ssd1307fb_probe':
>> drivers/video/fbdev/ssd1307fb.c:630:31: error: 'node' undeclared (first use 
>> in this function); did you mean 'inode'?
630 |  if (device_property_read_u32(node, "solomon,col-offset", 
>col_offset))
|   ^~~~
|   inode
drivers/video/fbdev/ssd1307fb.c:630:31: note: each undeclared identifier is 
reported only once for each function it appears in

vim +630 drivers/video/fbdev/ssd1307fb.c

   579  
   580  static int ssd1307fb_probe(struct i2c_client *client)
   581  {
   582  struct device *dev = >dev;
   583  struct backlight_device *bl;
   584  char bl_name[12];
   585  struct fb_info *info;
   586  struct fb_deferred_io *ssd1307fb_defio;
   587  u32 vmem_size;
   588  struct ssd1307fb_par *par;
   589  void *vmem;
   590  int ret;
   591  
   592  info = framebuffer_alloc(sizeof(struct ssd1307fb_par), dev);
   593  if (!info)
   594  return -ENOMEM;
   595  
   596  par = info->par;
   597  par->info = info;
   598  par->client = client;
   599  
   600  par->device_info = device_get_match_data(dev);
   601  
   602  par->reset = devm_gpiod_get_optional(dev, "reset", 
GPIOD_OUT_LOW);
   603  if (IS_ERR(par->reset)) {
   604  dev_err(dev, "failed to get reset gpio: %ld\n",
   605  PTR_ERR(par->reset));
   606  ret = PTR_ERR(par->reset);
   607  goto fb_alloc_error;
   608  }
   609  
   610  par->vbat_reg = devm_regulator_get_optional(dev, "vbat");
   611  if (IS_ERR(par->vbat_reg)) {
   612  ret = PTR_ERR(par->vbat_reg);
   613  if (ret == -ENODEV) {
   614  par->vbat_reg = NULL;
   615  } else {
   616  dev_err(dev, "failed to get VBAT regulator: 
%d\n", ret);
   617  goto fb_alloc_error;
   618  }
   619  }
   620  
   621  if (device_property_read_u32(dev, "solomon,width", >width))
   622  par->width = 96;
   623  
   624  if (device_property_read_u32(dev, "solomon,height", 
>height))
   625  par->height = 16;
   626  
   627  if (device_property_read_u32(dev, "solomon,page-offset", 
>page_offset))
   628  par->page_offset = 1;
   629  
 > 630  if (device_property_read_u32(node, "solomon,col-offset", 
 > >col_offset))
   631  par->col_offset = 0;
   632  
   633  if (device_property_read_u32(dev, "solomon,com-offset", 
>com_offset))
   634  par->com_offset = 0;
   635  
   636  if (device_property_read_u32(dev, "solomon,prechargep1", 
>prechargep1))
   637  par->prechargep1 = 2;
   638  
   639  if (device_property_read_u32(dev, "solomon,prechargep2", 
>prechargep2))
   640  par->prechargep2 = 2;
   641  
   642  if (!device_property_read_u8_array(dev, "solomon,lookup-table",
   643 par->lookup_table,
   644 
ARRAY_SIZE(par->lookup_table)))
   645  par->lookup_table_set = 1;
   646  
   647  par->seg_remap = !device_property_read_bool(dev, 
"solomon,segment-no-remap");
   648  par->com_seq = device_

Re: [PATCH v4] hugetlbfs: Get unmapped area below TASK_UNMAPPED_BASE for hugetlbfs

2020-05-13 Thread kbuild test robot
Hi Shijie,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Shijie-Hu/hugetlbfs-Get-unmapped-area-below-TASK_UNMAPPED_BASE-for-hugetlbfs/20200513-221024
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
24085f70a6e1b0cb647ec92623284641d8270637
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=riscv 

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

All errors (new ones prefixed by >>):

fs/hugetlbfs/inode.c: In function 'hugetlb_get_unmapped_area':
>> fs/hugetlbfs/inode.c:268:31: error: 'arch_get_unmapped_area' undeclared 
>> (first use in this function); did you mean 'thp_get_unmapped_area'?
268 |  if (mm->get_unmapped_area == arch_get_unmapped_area)
|   ^~
|   thp_get_unmapped_area
fs/hugetlbfs/inode.c:268:31: note: each undeclared identifier is reported only 
once for each function it appears in

vim +268 fs/hugetlbfs/inode.c

   240  
   241  static unsigned long
   242  hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
   243  unsigned long len, unsigned long pgoff, unsigned long 
flags)
   244  {
   245  struct mm_struct *mm = current->mm;
   246  struct vm_area_struct *vma;
   247  struct hstate *h = hstate_file(file);
   248  
   249  if (len & ~huge_page_mask(h))
   250  return -EINVAL;
   251  if (len > TASK_SIZE)
   252  return -ENOMEM;
   253  
   254  if (flags & MAP_FIXED) {
   255  if (prepare_hugepage_range(file, addr, len))
   256  return -EINVAL;
   257  return addr;
   258  }
   259  
   260  if (addr) {
   261  addr = ALIGN(addr, huge_page_size(h));
   262  vma = find_vma(mm, addr);
   263  if (TASK_SIZE - len >= addr &&
   264  (!vma || addr + len <= vm_start_gap(vma)))
   265  return addr;
   266  }
   267  
 > 268  if (mm->get_unmapped_area == arch_get_unmapped_area)
   269  return hugetlb_get_unmapped_area_bottomup(file, addr, 
len,
   270  pgoff, flags);
   271  return hugetlb_get_unmapped_area_topdown(file, addr, len,
   272  pgoff, flags);
   273  }
   274  #endif
   275  

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


.config.gz
Description: application/gzip


Re: [PATCH V4 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2020-05-13 Thread kbuild test robot
Hi Arun,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Arun-Kumar-Neelakantam/Add-TIOCM-Signals-support-for-RPMSG-char-devices/20200513-134544
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
24085f70a6e1b0cb647ec92623284641d8270637
config: alpha-randconfig-r012-20200513 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=alpha 

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

All warnings (new ones prefixed by >>):

drivers/rpmsg/rpmsg_char.c: In function 'rpmsg_eptdev_ioctl':
>> drivers/rpmsg/rpmsg_char.c:322:9: warning: this statement may fall through 
>> [-Wimplicit-fallthrough=]
322 |   ret = rpmsg_eptdev_destroy(>dev, NULL);
| ^~~~
drivers/rpmsg/rpmsg_char.c:323:2: note: here
323 |  default:
|  ^~~

vim +322 drivers/rpmsg/rpmsg_char.c

   303  
   304  static long rpmsg_eptdev_ioctl(struct file *fp, unsigned int cmd,
   305 unsigned long arg)
   306  {
   307  struct rpmsg_eptdev *eptdev = fp->private_data;
   308  int ret;
   309  
   310  switch (cmd) {
   311  case TIOCMGET:
   312  ret = rpmsg_get_signals(eptdev->ept);
   313  if (ret >= 0)
   314  ret = put_user(ret, (int __user *)arg);
   315  break;
   316  case TIOCMSET:
   317  case TIOCMBIS:
   318  case TIOCMBIC:
   319  ret = rpmsg_eptdev_tiocmset(fp, cmd, (int __user *)arg);
   320  break;
   321  case RPMSG_DESTROY_EPT_IOCTL:
 > 322  ret = rpmsg_eptdev_destroy(>dev, NULL);
   323  default:
   324  ret = -EINVAL;
   325  }
   326  
   327  return ret;
   328  }
   329  

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


.config.gz
Description: application/gzip


Re: [PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread kbuild test robot
Hi Vinod,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Vinod-Koul/Add-LT9611-DSI-to-HDMI-bridge/20200513-181150
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

All errors (new ones prefixed by >>):

drivers/gpu/drm/bridge/lt9611.c: In function 'lt9611_reset':
>> drivers/gpu/drm/bridge/lt9611.c:518:2: error: implicit declaration of 
>> function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
gpiod_set_value_cansleep(lt9611->reset_gpio, 1);
^~~~
drivers/gpu/drm/bridge/lt9611.c: In function 'lt9611_gpio_init':
>> drivers/gpu/drm/bridge/lt9611.c:963:23: error: implicit declaration of 
>> function 'devm_gpiod_get'; did you mean 'devm_iounmap'? 
>> [-Werror=implicit-function-declaration]
lt9611->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
^~
devm_iounmap
>> drivers/gpu/drm/bridge/lt9611.c:963:52: error: 'GPIOD_OUT_HIGH' undeclared 
>> (first use in this function)
lt9611->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
^~
drivers/gpu/drm/bridge/lt9611.c:963:52: note: each undeclared identifier is 
reported only once for each function it appears in
>> drivers/gpu/drm/bridge/lt9611.c:969:24: error: implicit declaration of 
>> function 'devm_gpiod_get_optional'; did you mean 
>> 'devm_regulator_get_optional'? [-Werror=implicit-function-declaration]
lt9611->enable_gpio = devm_gpiod_get_optional(dev, "enable",
^~~
devm_regulator_get_optional
>> drivers/gpu/drm/bridge/lt9611.c:970:13: error: 'GPIOD_OUT_LOW' undeclared 
>> (first use in this function); did you mean 'GPIOD_OUT_HIGH'?
GPIOD_OUT_LOW);
^
GPIOD_OUT_HIGH
cc1: some warnings being treated as errors

vim +/gpiod_set_value_cansleep +518 drivers/gpu/drm/bridge/lt9611.c

   515  
   516  static void lt9611_reset(struct lt9611 *lt9611)
   517  {
 > 518  gpiod_set_value_cansleep(lt9611->reset_gpio, 1);
   519  msleep(20);
   520  gpiod_set_value_cansleep(lt9611->reset_gpio, 0);
   521  msleep(20);
   522  gpiod_set_value_cansleep(lt9611->reset_gpio, 1);
   523  msleep(100);
   524  }
   525  

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


.config.gz
Description: application/gzip


Re: [PATCH] staging: android: ashmem: Fixed a issue related to file_operations

2020-05-13 Thread kbuild test robot
Hi Anmol,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Anmol/staging-android-ashmem-Fixed-a-issue-related-to-file_operations/20200513-194410
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
1ff4388a06eb001efbc272754ef750c0b97817cb
config: um-allmodconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=um 

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

All errors (new ones prefixed by >>):

drivers/staging/android/ashmem.c: In function 'ashmem_mmap':
>> drivers/staging/android/ashmem.c:418:16: error: assignment of read-only 
>> variable 'vmfile_fops'
vmfile_fops = *vmfile->f_op;
^
>> drivers/staging/android/ashmem.c:419:21: error: assignment of member 'mmap' 
>> in read-only object
vmfile_fops.mmap = ashmem_vmfile_mmap;
^
>> drivers/staging/android/ashmem.c:420:34: error: assignment of member 
>> 'get_unmapped_area' in read-only object
vmfile_fops.get_unmapped_area =
^

vim +/vmfile_fops +418 drivers/staging/android/ashmem.c

6d67b0290b4b84 Suren Baghdasaryan 2020-01-27  367  
11980c2ac4ccfa Robert Love2011-12-20  368  static int 
ashmem_mmap(struct file *file, struct vm_area_struct *vma)
11980c2ac4ccfa Robert Love2011-12-20  369  {
823a00202dabb1 Anmol  2020-05-13  370   static const struct 
file_operations vmfile_fops;
11980c2ac4ccfa Robert Love2011-12-20  371   struct ashmem_area 
*asma = file->private_data;
11980c2ac4ccfa Robert Love2011-12-20  372   int ret = 0;
11980c2ac4ccfa Robert Love2011-12-20  373  
11980c2ac4ccfa Robert Love2011-12-20  374   
mutex_lock(_mutex);
11980c2ac4ccfa Robert Love2011-12-20  375  
11980c2ac4ccfa Robert Love2011-12-20  376   /* user needs to 
SET_SIZE before mapping */
59848d6aded59a Alistair Strachan  2018-06-19  377   if (!asma->size) {
11980c2ac4ccfa Robert Love2011-12-20  378   ret = -EINVAL;
11980c2ac4ccfa Robert Love2011-12-20  379   goto out;
11980c2ac4ccfa Robert Love2011-12-20  380   }
11980c2ac4ccfa Robert Love2011-12-20  381  
8632c614565d0c Alistair Strachan  2018-06-19  382   /* requested mapping 
size larger than object size */
8632c614565d0c Alistair Strachan  2018-06-19  383   if (vma->vm_end - 
vma->vm_start > PAGE_ALIGN(asma->size)) {
11980c2ac4ccfa Robert Love2011-12-20  384   ret = -EINVAL;
11980c2ac4ccfa Robert Love2011-12-20  385   goto out;
11980c2ac4ccfa Robert Love2011-12-20  386   }
11980c2ac4ccfa Robert Love2011-12-20  387  
11980c2ac4ccfa Robert Love2011-12-20  388   /* requested protection 
bits must match our allowed protection mask */
59848d6aded59a Alistair Strachan  2018-06-19  389   if ((vma->vm_flags & 
~calc_vm_prot_bits(asma->prot_mask, 0)) &
59848d6aded59a Alistair Strachan  2018-06-19  390   
calc_vm_prot_bits(PROT_MASK, 0)) {
11980c2ac4ccfa Robert Love2011-12-20  391   ret = -EPERM;
11980c2ac4ccfa Robert Love2011-12-20  392   goto out;
11980c2ac4ccfa Robert Love2011-12-20  393   }
56f76fc68492af Arve Hjønnevåg 2011-12-20  394   vma->vm_flags &= 
~calc_vm_may_flags(~asma->prot_mask);
11980c2ac4ccfa Robert Love2011-12-20  395  
11980c2ac4ccfa Robert Love2011-12-20  396   if (!asma->file) {
11980c2ac4ccfa Robert Love2011-12-20  397   char *name = 
ASHMEM_NAME_DEF;
11980c2ac4ccfa Robert Love2011-12-20  398   struct file 
*vmfile;
11980c2ac4ccfa Robert Love2011-12-20  399  
11980c2ac4ccfa Robert Love2011-12-20  400   if 
(asma->name[ASHMEM_NAME_PREFIX_LEN] != '\0')
11980c2ac4ccfa Robert Love2011-12-20  401   name = 
asma->name;
11980c2ac4ccfa Robert Love2011-12-20  402  
11980c2ac4ccfa Robert Love2011-12-20  403   /* ... and 
allocate the backing shmem file */
11980c2ac4ccfa Robert Love2011-12-20  404   vmfile = 
shmem_file_setup(name, asma->size, vma->vm_flags);
7f44cb0ba88b40 Viresh Kumar   2015-07-31  405   if 
(IS_ERR(vmfile)) {
11980c2ac4ccfa Robert Love2011-12-20  406   ret = 
PTR_ERR(vmfile);
11980c2ac4ccfa Robert Love

Re: [PATCH] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread kbuild test robot
Hi Rodrigo,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Rodrigo-Rolim-Mendes-de-Alencar/video-fbdev-ssd1307fb-Added-support-to-Column-offset/20200513-195401
base:e098d7762d602be640c53565ceca342f81e55ad2
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=alpha 

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

All errors (new ones prefixed by >>):

drivers/video/fbdev/ssd1307fb.c: In function 'ssd1307fb_probe':
>> drivers/video/fbdev/ssd1307fb.c:630:27: error: 'node' undeclared (first use 
>> in this function); did you mean 'inode'?
630 |  if (of_property_read_u32(node, "solomon,col-offset", >col_offset))
|   ^~~~
|   inode
drivers/video/fbdev/ssd1307fb.c:630:27: note: each undeclared identifier is 
reported only once for each function it appears in

vim +630 drivers/video/fbdev/ssd1307fb.c

   579  
   580  static int ssd1307fb_probe(struct i2c_client *client)
   581  {
   582  struct device *dev = >dev;
   583  struct backlight_device *bl;
   584  char bl_name[12];
   585  struct fb_info *info;
   586  struct fb_deferred_io *ssd1307fb_defio;
   587  u32 vmem_size;
   588  struct ssd1307fb_par *par;
   589  void *vmem;
   590  int ret;
   591  
   592  info = framebuffer_alloc(sizeof(struct ssd1307fb_par), dev);
   593  if (!info)
   594  return -ENOMEM;
   595  
   596  par = info->par;
   597  par->info = info;
   598  par->client = client;
   599  
   600  par->device_info = device_get_match_data(dev);
   601  
   602  par->reset = devm_gpiod_get_optional(dev, "reset", 
GPIOD_OUT_LOW);
   603  if (IS_ERR(par->reset)) {
   604  dev_err(dev, "failed to get reset gpio: %ld\n",
   605  PTR_ERR(par->reset));
   606  ret = PTR_ERR(par->reset);
   607  goto fb_alloc_error;
   608  }
   609  
   610  par->vbat_reg = devm_regulator_get_optional(dev, "vbat");
   611  if (IS_ERR(par->vbat_reg)) {
   612  ret = PTR_ERR(par->vbat_reg);
   613  if (ret == -ENODEV) {
   614  par->vbat_reg = NULL;
   615  } else {
   616  dev_err(dev, "failed to get VBAT regulator: 
%d\n", ret);
   617  goto fb_alloc_error;
   618  }
   619  }
   620  
   621  if (device_property_read_u32(dev, "solomon,width", >width))
   622  par->width = 96;
   623  
   624  if (device_property_read_u32(dev, "solomon,height", 
>height))
   625  par->height = 16;
   626  
   627  if (device_property_read_u32(dev, "solomon,page-offset", 
>page_offset))
   628  par->page_offset = 1;
   629  
 > 630  if (of_property_read_u32(node, "solomon,col-offset", 
 > >col_offset))
   631  par->col_offset = 0;
   632  
   633  if (device_property_read_u32(dev, "solomon,com-offset", 
>com_offset))
   634  par->com_offset = 0;
   635  
   636  if (device_property_read_u32(dev, "solomon,prechargep1", 
>prechargep1))
   637  par->prechargep1 = 2;
   638  
   639  if (device_property_read_u32(dev, "solomon,prechargep2", 
>prechargep2))
   640  par->prechargep2 = 2;
   641  
   642  if (!device_property_read_u8_array(dev, "solomon,lookup-table",
   643 par->lookup_table,
   644 
ARRAY_SIZE(par->lookup_table)))
   645  par->lookup_table_set = 1;
   646  
   647  par->seg_remap = !device_property_read_bool(dev, 
"solomon,segment-no-remap");
   648  par->com_seq = device_property_

Re: [PATCH 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-05-13 Thread kbuild test robot
Hi Vinod,

I love your patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Vinod-Koul/Add-LT9611-DSI-to-HDMI-bridge/20200513-181150
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=nios2 

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

All warnings (new ones prefixed by >>):

drivers/gpu/drm/bridge/lt9611.c: In function 'lt9611_reset':
drivers/gpu/drm/bridge/lt9611.c:518:2: error: implicit declaration of function 
'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
518 |  gpiod_set_value_cansleep(lt9611->reset_gpio, 1);
|  ^~~~
drivers/gpu/drm/bridge/lt9611.c: In function 'lt9611_gpio_init':
drivers/gpu/drm/bridge/lt9611.c:963:23: error: implicit declaration of function 
'devm_gpiod_get' [-Werror=implicit-function-declaration]
963 |  lt9611->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
|   ^~
drivers/gpu/drm/bridge/lt9611.c:963:52: error: 'GPIOD_OUT_HIGH' undeclared 
(first use in this function)
963 |  lt9611->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
|^~
drivers/gpu/drm/bridge/lt9611.c:963:52: note: each undeclared identifier is 
reported only once for each function it appears in
drivers/gpu/drm/bridge/lt9611.c:969:24: error: implicit declaration of function 
'devm_gpiod_get_optional'; did you mean 'devm_regulator_get_optional'? 
[-Werror=implicit-function-declaration]
969 |  lt9611->enable_gpio = devm_gpiod_get_optional(dev, "enable",
|^~~
|devm_regulator_get_optional
drivers/gpu/drm/bridge/lt9611.c:970:13: error: 'GPIOD_OUT_LOW' undeclared 
(first use in this function)
970 | GPIOD_OUT_LOW);
| ^
drivers/gpu/drm/bridge/lt9611.c: At top level:
drivers/gpu/drm/bridge/lt9611.c:1100:1: warning: data definition has no type or 
storage class
1100 | MODULE_DEVICE_TABLE(of, lt9611_match_table);
| ^~~
drivers/gpu/drm/bridge/lt9611.c:1100:1: error: type defaults to 'int' in 
declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
drivers/gpu/drm/bridge/lt9611.c:1100:1: warning: parameter names (without 
types) in function declaration
In file included from include/linux/device.h:31,
from include/linux/platform_device.h:13,
from drivers/gpu/drm/bridge/lt9611.c:7:
include/linux/device/driver.h:263:1: warning: data definition has no type or 
storage class
263 | module_init(__driver##_init);  | ^~~
include/linux/i2c.h:923:2: note: in expansion of macro 'module_driver'
923 |  module_driver(__i2c_driver, i2c_add_driver,  |  ^
drivers/gpu/drm/bridge/lt9611.c::1: note: in expansion of macro 
'module_i2c_driver'
 | module_i2c_driver(lt9611_driver);
| ^
include/linux/device/driver.h:263:1: error: type defaults to 'int' in 
declaration of 'module_init' [-Werror=implicit-int]
263 | module_init(__driver##_init);  | ^~~
include/linux/i2c.h:923:2: note: in expansion of macro 'module_driver'
923 |  module_driver(__i2c_driver, i2c_add_driver,  |  ^
drivers/gpu/drm/bridge/lt9611.c::1: note: in expansion of macro 
'module_i2c_driver'
 | module_i2c_driver(lt9611_driver);
| ^
In file included from include/linux/linkage.h:7,
from include/linux/kernel.h:8,
from include/asm-generic/bug.h:19,
from ./arch/nios2/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from include/asm-generic/current.h:5,
from ./arch/nios2/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/platform_device.h:13,
from drivers/gpu/drm/bridge/lt9611.c:7:
>> include/linux/export.h:19:30: warning: parameter names (without types) in 
>> function declaration
19 | #define THIS_MODULE ((struct module *)0)
|  ^~
include/linux/i2c.h:855:22: note: in

[rcu:rcu/next] BUILD SUCCESS ec06fa2b148836f3f50082eb502b8f0aadb8970a

2020-05-12 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  rcu/next
branch HEAD: ec06fa2b148836f3f50082eb502b8f0aadb8970a  doc: Tasks RCU must 
protect instructions before trampoline

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  arch/x86/events/zhaoxin/built-in.*  
try_invoke_on_locked_down_task()

==
+1 0
353159365e72 rcu: Add KCSAN stubs 
 0 0
4f58820fd710 srcu: Add KCSAN stubs
 0 0
2f0846956355 rcu: Mark rcu_state.ncpus to detect concurrent writes
 0 0
314eeb43e5f2 rcu: Add *_ONCE() and data_race() to rcu_node ->exp_tasks pl 
 0 0
065a6db12a80 rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks 
 0 0
b68c6146512d srcu: Add data_race() to ->srcu_lock_count and ->srcu_unlock 
 0 0
5822b8126ff0 rcu: Add WRITE_ONCE() to rcu_node ->boost_tasks  
 0 0
47fbb074536e rcu: Use data_race() for RCU CPU stall-warning prints
 0 0
53965dbe5396 drm: Make drm_dp_mst_dsc_aux_for_port() safe for old compile 
 0 0
1fca4d12f463 rcu: Expedite first two FQS scans under callback-overload co 
 0 0
fcbcc0e70050 rcu: Fix the (t=0 jiffies) false positive
 0 0
ddc465936643 Revert "rculist: Describe variadic macro argument in a Sphin 
 0 0
c28d5c09d09f rcu: Get rid of some doc warnings in update.c
 0 0
62ae19511f1e rcu: Mark rcu_state.gp_seq to detect more concurrent writes  
 0 0
a66dbda7893f rcu: Replace assigned pointer ret value by corresponding boo 
 0 0
da44cd6c8e88 rcu: Replace 1 by true   
 0 0
29ffebc5fcc0 rcu: Convert ULONG_CMP_GE() to time_after() for jiffy compar 
 0 0
7b2413111a63 rcu: Convert rcu_initiate_boost() ULONG_CMP_GE() to time_aft 
 0 0
e2f3ccfa6200 rcu: Convert rcu_nohz_full_cpu() ULONG_CMP_LT() to time_befo 
   +83   +84+136   
+83  f736e0f1a55a Merge branches 'fixes.2020.04.27a', 'kfree_rcu.2020.04.27a', 
  -224  -224   0
 0  2d9d829af55c Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0   0
 0  99a5d03ba959 Merge branch 'lkmm-dev.2020.04.15b' into HEAD
   +38   +38   0
 0  3123dcd3ef7f fork: Annotate a data race in vm_area_dup()  
 0 0   0
 0  2ba74f25e0de x86/mm/pat: Mark an intentional data race
 0 0   0
 0  cd59625dedde rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0   0
 0  ca6e49239a17 locktorture: Use true and false to assign to bool variables  
 0 0   0
 0  8c8786cd0247 srcu: Fix a typo in 

[tip:locking/kcsan] BUILD SUCCESS 6bcc8f459fe790f35dfd8e3bb0f43e530d44ee9a

2020-05-12 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
locking/kcsan
branch HEAD: 6bcc8f459fe790f35dfd8e3bb0f43e530d44ee9a  locking/atomics: Flip 
fallbacks and instrumentation

elapsed time: 586m

configs tested: 118
configs skipped: 6

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
arm  colibri_pxa300_defconfig
c6xevmc6457_defconfig
powerpc powernv_defconfig
mips decstation_r4k_defconfig
h8300allyesconfig
arm   aspeed_g4_defconfig
sh  rts7751r2d1_defconfig
powerpc ep8248e_defconfig
openriscor1ksim_defconfig
h8300 edosk2674_defconfig
sh   se7751_defconfig
arm   tegra_defconfig
shhp6xx_defconfig
i386defconfig
arm64alldefconfig
armvexpress_defconfig
m68km5272c3_defconfig
xtensa virt_defconfig
arm axm55xx_defconfig
arm  prima2_defconfig
sh sh03_defconfig
riscvallyesconfig
arm lpc32xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200512
i386 randconfig-a005-20200512
i386 randconfig-a003-20200512
i386 randconfig-a001-20200512
i386 randconfig-a004-20200512
i386 randconfig-a002-20200512
x86_64   randconfig-a016-20200512
x86_64   randconfig-a012-20200512
x86_64   randconfig-a015-20200512
x86_64   randconfig-a013-20200512
x86_64   randconfig-a014-20200512
x86_64   randconfig-a011-20200512
i386 randconfig-a012-20200512
i386 randconfig-a016-20200512
i386 randconfig-a014-20200512
i386 randconfig-a011-20200512
i386 randconfig-a013-20200512
i386 randconfig-a015-20200512
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390

Re: [PATCH v3 net-next 08/15] net: dsa: sja1105: prepare tagger for handling DSA tags and VLAN simultaneously

2020-05-12 Thread kbuild test robot
Hi Vladimir,

I love your patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Vladimir-Oltean/Traffic-support-for-dsa_8021q-in-vlan_filtering-1-mode/20200513-012422
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
3242956bd610af40e884b530b6c6f76f5bf85f3b
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> net/dsa/tag_sja1105.c:76:34: sparse: sparse: cast to restricted __be16
>> net/dsa/tag_sja1105.c:76:34: sparse: sparse: cast to restricted __be16
>> net/dsa/tag_sja1105.c:76:34: sparse: sparse: cast to restricted __be16
>> net/dsa/tag_sja1105.c:76:34: sparse: sparse: cast to restricted __be16
>> net/dsa/tag_sja1105.c:76:16: sparse: sparse: restricted __be16 degrades to 
>> integer
   net/dsa/tag_sja1105.c:79:34: sparse: sparse: cast to restricted __be16
   net/dsa/tag_sja1105.c:79:34: sparse: sparse: cast to restricted __be16
   net/dsa/tag_sja1105.c:79:34: sparse: sparse: cast to restricted __be16
   net/dsa/tag_sja1105.c:79:34: sparse: sparse: cast to restricted __be16
   net/dsa/tag_sja1105.c:79:16: sparse: sparse: restricted __be16 degrades to 
integer

vim +76 net/dsa/tag_sja1105.c

71  
72  static bool sja1105_can_use_vlan_as_tags(const struct sk_buff *skb)
73  {
74  struct vlan_ethhdr *hdr = vlan_eth_hdr(skb);
75  
  > 76  if (hdr->h_vlan_proto == ntohs(ETH_P_SJA1105))
77  return true;
78  
79  if (hdr->h_vlan_proto != ntohs(ETH_P_8021Q))
80  return false;
81  
82  return vid_is_dsa_8021q(ntohs(hdr->h_vlan_TCI) & VLAN_VID_MASK);
83  }
84  

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


[tip:core/kprobes] BUILD SUCCESS d85eaa9411472a99de4b5732cb59c8bae629d5f1

2020-05-12 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
core/kprobes
branch HEAD: d85eaa9411472a99de4b5732cb59c8bae629d5f1  samples/kprobes: Add 
__kprobes and NOKPROBE_SYMBOL() for handlers.

elapsed time: 480m

configs tested: 108
configs skipped: 3

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
arm   aspeed_g4_defconfig
h8300 edosk2674_defconfig
sh   se7751_defconfig
i386defconfig
arm   tegra_defconfig
shhp6xx_defconfig
arm64alldefconfig
armvexpress_defconfig
m68km5272c3_defconfig
sh sh03_defconfig
arm lpc32xx_defconfig
riscvallyesconfig
i386  allnoconfig
i386  debian-10.3
i386 allyesconfig
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200512
i386 randconfig-a005-20200512
i386 randconfig-a003-20200512
i386 randconfig-a001-20200512
i386 randconfig-a004-20200512
i386 randconfig-a002-20200512
x86_64   randconfig-a016-20200512
x86_64   randconfig-a012-20200512
x86_64   randconfig-a015-20200512
x86_64   randconfig-a013-20200512
x86_64   randconfig-a014-20200512
x86_64   randconfig-a011-20200512
i386 randconfig-a012-20200512
i386 randconfig-a016-20200512
i386 randconfig-a014-20200512
i386 randconfig-a011-20200512
i386 randconfig-a013-20200512
i386 randconfig-a015-20200512
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
x86_64  defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
sparc   defconfig
um   allmodconfig
umallnoconfig
um   allyesconfig
um 

[tip:sched/core] BUILD SUCCESS 2a0a24ebb499c9d499eea948d3fc108f936e36d4

2020-05-12 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
sched/core
branch HEAD: 2a0a24ebb499c9d499eea948d3fc108f936e36d4  sched: Make 
scheduler_ipi inline

elapsed time: 482m

configs tested: 112
configs skipped: 5

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
m68kstmark2_defconfig
arm   aspeed_g4_defconfig
sh  rts7751r2d1_defconfig
powerpc ep8248e_defconfig
openriscor1ksim_defconfig
h8300 edosk2674_defconfig
sh   se7751_defconfig
i386defconfig
arm   tegra_defconfig
shhp6xx_defconfig
sh sh03_defconfig
riscvallyesconfig
arm lpc32xx_defconfig
shtitan_defconfig
arc   tb10x_defconfig
powerpc wii_defconfig
s390defconfig
i386  allnoconfig
i386 allyesconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200512
i386 randconfig-a005-20200512
i386 randconfig-a003-20200512
i386 randconfig-a001-20200512
i386 randconfig-a004-20200512
i386 randconfig-a002-20200512
x86_64   randconfig-a016-20200512
x86_64   randconfig-a012-20200512
x86_64   randconfig-a015-20200512
x86_64   randconfig-a013-20200512
x86_64   randconfig-a014-20200512
x86_64   randconfig-a011-20200512
i386 randconfig-a012-20200512
i386 randconfig-a016-20200512
i386 randconfig-a014-20200512
i386 randconfig-a011-20200512
i386 randconfig-a013-20200512
i386 randconfig-a015-20200512
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
x86_64  defconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
um   

[tip:x86/cpu] BUILD SUCCESS 7e32a9dac9926241d56851e1517c9391d39fb48e

2020-05-12 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
x86/cpu
branch HEAD: 7e32a9dac9926241d56851e1517c9391d39fb48e  x86/cpu: Use INVPCID 
mnemonic in invpcid.h

elapsed time: 485m

configs tested: 112
configs skipped: 4

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
arm  colibri_pxa300_defconfig
c6xevmc6457_defconfig
powerpc powernv_defconfig
mips decstation_r4k_defconfig
arm   aspeed_g4_defconfig
h8300 edosk2674_defconfig
sh   se7751_defconfig
i386defconfig
arm   tegra_defconfig
shhp6xx_defconfig
arm64alldefconfig
armvexpress_defconfig
m68km5272c3_defconfig
sh sh03_defconfig
riscvallyesconfig
arm lpc32xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200512
i386 randconfig-a005-20200512
i386 randconfig-a003-20200512
i386 randconfig-a001-20200512
i386 randconfig-a004-20200512
i386 randconfig-a002-20200512
x86_64   randconfig-a016-20200512
x86_64   randconfig-a012-20200512
x86_64   randconfig-a015-20200512
x86_64   randconfig-a013-20200512
x86_64   randconfig-a014-20200512
x86_64   randconfig-a011-20200512
i386 randconfig-a012-20200512
i386 randconfig-a016-20200512
i386 randconfig-a014-20200512
i386 randconfig-a011-20200512
i386 randconfig-a013-20200512
i386 randconfig-a015-20200512
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
x86_64  defconfig
sparc   defconfig
sparc64 defconfig
sparc64   allnoconfig
sparc64  allyesconfig
sparc64  allmodconfig
um

Re: [PATCH v2 4/6] bus: mhi: core: Introduce debugfs entries and counters for MHI

2020-05-12 Thread kbuild test robot
Hi Bhaumik,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Bhaumik-Bhatt/Introduce-features-and-debugfs-sysfs-entries-for-MHI/20200513-014548
base:e098d7762d602be640c53565ceca342f81e55ad2
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All warnings (new ones prefixed by >>):

drivers/bus/mhi/core/debugfs.c: In function 'mhi_debugfs_events_show':
>> drivers/bus/mhi/core/debugfs.c:71:33: warning: cast from pointer to integer 
>> of different size [-Wpointer-to-int-cast]
71 |   er_ctxt->rp, er_ctxt->wp, (u64)ring->rp,
| ^
>> drivers/bus/mhi/core/debugfs.c:70:53: warning: format '%llx' expects 
>> argument of type 'long long unsigned int', but argument 6 has type 
>> 'dma_addr_t' {aka 'unsigned int'} [-Wformat=]
70 |   " rp:0x%llx wp:0x%llx local rp:0x%llx db:0x%llxn",
|  ~~~^
| |
| long long unsigned int
|  %x
71 |   er_ctxt->rp, er_ctxt->wp, (u64)ring->rp,
72 |   mhi_event->db_cfg.db_val);
|   
||
|dma_addr_t {aka unsigned int}
drivers/bus/mhi/core/debugfs.c: In function 'mhi_debugfs_channels_show':
drivers/bus/mhi/core/debugfs.c:119:7: warning: cast from pointer to integer of 
different size [-Wpointer-to-int-cast]
119 |   (u64)ring->rp, (u64)ring->wp,
|   ^
drivers/bus/mhi/core/debugfs.c:119:22: warning: cast from pointer to integer of 
different size [-Wpointer-to-int-cast]
119 |   (u64)ring->rp, (u64)ring->wp,
|  ^
drivers/bus/mhi/core/debugfs.c:118:59: warning: format '%llx' expects argument 
of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 
'unsigned int'} [-Wformat=]
118 |   seq_printf(m, " local rp:0x%llx local wp:0x%llx db:0x%llxn",
|~~~^
|   |
|   long long unsigned 
int
|%x
119 |   (u64)ring->rp, (u64)ring->wp,
120 |   mhi_chan->db_cfg.db_val);
|   ~~~
|   |
|   dma_addr_t {aka unsigned int}
drivers/bus/mhi/core/debugfs.c: In function 'mhi_debugfs_trigger_reset':
drivers/bus/mhi/core/debugfs.c:294:2: error: implicit declaration of function 
'mhi_pm_sys_err_handler'; did you mean 'mhi_pm_sys_err_worker'? 
[-Werror=implicit-function-declaration]
294 |  mhi_pm_sys_err_handler(mhi_cntrl);
|  ^~
|  mhi_pm_sys_err_worker
cc1: some warnings being treated as errors

vim +71 drivers/bus/mhi/core/debugfs.c

36  
37  static int mhi_debugfs_events_show(struct seq_file *m, void *d)
38  {
39  struct mhi_controller *mhi_cntrl = m->private;
40  struct mhi_event *mhi_event;
41  struct mhi_event_ctxt *er_ctxt;
42  int i;
43  
44  if (!mhi_is_active(mhi_cntrl)) {
45  seq_puts(m, "Device not ready\n");
46  return -ENODEV;
47  }
48  
49  er_ctxt = mhi_cntrl->mhi_ctxt->er_ctxt;
50  mhi_event = mhi_cntrl->mhi_event;
51  for (i = 0; i < mhi_cntrl->total_ev_rings;
52  i++, er_ctxt++, 
mhi_event++) {
53  struct mhi_ring *ring = _event->ring;
54  
55  if (mhi_event->offload_ev) {
56  seq_printf(m, "Index:%d is an offload event 
ring\n", i);
57  continue;
58  }
59  
60  seq_printf(m, "Index:%d intmod count:%lu time:%lu",
61 i, (er_ctxt->intmod & EV_CTX

[RFC PATCH] media: v4l: xilinx: xcsi2rxss_enum_mbus_code() can be static

2020-05-12 Thread kbuild test robot


Signed-off-by: kbuild test robot 
---
 xilinx-csi2rxss.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/platform/xilinx/xilinx-csi2rxss.c 
b/drivers/media/platform/xilinx/xilinx-csi2rxss.c
index cac08149ae7a8..3c2e9ff166db1 100644
--- a/drivers/media/platform/xilinx/xilinx-csi2rxss.c
+++ b/drivers/media/platform/xilinx/xilinx-csi2rxss.c
@@ -813,9 +813,9 @@ static int xcsi2rxss_set_format(struct v4l2_subdev *sd,
  *
  * Return: -EINVAL or zero on success
  */
-int xcsi2rxss_enum_mbus_code(struct v4l2_subdev *sd,
-struct v4l2_subdev_pad_config *cfg,
-struct v4l2_subdev_mbus_code_enum *code)
+static int xcsi2rxss_enum_mbus_code(struct v4l2_subdev *sd,
+   struct v4l2_subdev_pad_config *cfg,
+   struct v4l2_subdev_mbus_code_enum *code)
 {
struct xcsi2rxss_state *state = to_xcsi2rxssstate(sd);
u32 dt, n;


Re: [PATCH v13 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver

2020-05-12 Thread kbuild test robot
Hi Vishal,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Vishal-Sagar/Add-support-for-Xilinx-CSI2-Receiver-Subsystem/20200512-232348
base:   git://linuxtv.org/media_tree.git master
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

>> drivers/media/platform/xilinx/xilinx-csi2rxss.c:816:5: sparse: sparse: 
>> symbol 'xcsi2rxss_enum_mbus_code' was not declared. Should it be static?

Please review and possibly fold the followup patch.

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


Re: [PATCH v2 4/6] bus: mhi: core: Introduce debugfs entries and counters for MHI

2020-05-12 Thread kbuild test robot
Hi Bhaumik,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Bhaumik-Bhatt/Introduce-features-and-debugfs-sysfs-entries-for-MHI/20200513-014548
base:e098d7762d602be640c53565ceca342f81e55ad2
config: um-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=um 

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

All errors (new ones prefixed by >>):

drivers/bus/mhi/core/debugfs.c: In function 'mhi_debugfs_trigger_reset':
>> drivers/bus/mhi/core/debugfs.c:294:2: error: implicit declaration of 
>> function 'mhi_pm_sys_err_handler'; did you mean 'mhi_pm_sys_err_worker'? 
>> [-Werror=implicit-function-declaration]
mhi_pm_sys_err_handler(mhi_cntrl);
^~
mhi_pm_sys_err_worker
cc1: some warnings being treated as errors

vim +294 drivers/bus/mhi/core/debugfs.c

   259  
   260  static int mhi_debugfs_trigger_reset(void *data, u64 val)
   261  {
   262  struct mhi_controller *mhi_cntrl = data;
   263  struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev;
   264  struct device *dev = _dev->dev;
   265  enum mhi_pm_state cur_state;
   266  int ret = -EIO;
   267  
   268  if (!mhi_is_active(mhi_cntrl))
   269  return -ENODEV;
   270  
   271  if (!val)
   272  return -EINVAL;
   273  
   274  ret = mhi_device_get_sync(mhi_dev, MHI_VOTE_DEVICE);
   275  if (ret) {
   276  dev_err(dev, "Device did not enter M0 state, MHI:%s, 
PM:%s\n",
   277  TO_MHI_STATE_STR(mhi_cntrl->dev_state),
   278  to_mhi_pm_state_str(mhi_cntrl->pm_state));
   279  return ret;
   280  }
   281  
   282  if (mhi_cntrl->rddm_image) {
   283  ret = mhi_force_rddm_mode(mhi_cntrl);
   284  goto exit_mhi_trigger_reset;
   285  }
   286  
   287  write_lock_irq(_cntrl->pm_lock);
   288  cur_state = mhi_tryset_pm_state(mhi_cntrl, 
MHI_PM_SYS_ERR_DETECT);
   289  write_unlock_irq(_cntrl->pm_lock);
   290  
   291  if (cur_state != MHI_PM_SYS_ERR_DETECT)
   292  goto exit_mhi_trigger_reset;
   293  
 > 294  mhi_pm_sys_err_handler(mhi_cntrl);
   295  ret = 0;
   296  
   297  exit_mhi_trigger_reset:
   298  mhi_device_put(mhi_dev, MHI_VOTE_DEVICE);
   299  
   300  return ret;
   301  }
   302  

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


.config.gz
Description: application/gzip


Re: [PATCH 5/5] arm64: perf: Add cap_user_time_short

2020-05-12 Thread kbuild test robot
Hi Peter,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Peter-Zijlstra/arm64-perf-Proper-cap_user_time-support/20200512-205141
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
059c6d68cfc5f85ba3ab71d71a6de380016f7936
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=arm64 

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

All errors (new ones prefixed by >>):

arch/arm64/kernel/perf_event.c: In function 'arch_perf_update_userpage':
>> arch/arm64/kernel/perf_event.c:1187:11: error: 'struct perf_event_mmap_page' 
>> has no member named 'time_cycle'; did you mean 'time_cycles'?
1187 |   userpg->time_cycle = rd->epoch_cyc;
|   ^~
|   time_cycles
arch/arm64/kernel/perf_event.c:1207:12: error: 'struct perf_event_mmap_page' 
has no member named 'shift'
1207 |  if (userpg->shift == 32) {
|^~
arch/arm64/kernel/perf_event.c:1208:9: error: 'struct perf_event_mmap_page' has 
no member named 'shift'
1208 |   userpg->shift = 31;
| ^~

vim +1187 arch/arm64/kernel/perf_event.c

  1167  
  1168  void arch_perf_update_userpage(struct perf_event *event,
  1169 struct perf_event_mmap_page *userpg, u64 
now)
  1170  {
  1171  struct clock_read_data *rd;
  1172  unsigned int seq;
  1173  
  1174  userpg->cap_user_time = 0;
  1175  userpg->cap_user_time_zero = 0;
  1176  userpg->cap_user_time_short = 0;
  1177  
  1178  do {
  1179  rd = sched_clock_read_begin();
  1180  
  1181  if (rd->read_sched_clock != arch_timer_read_counter)
  1182  return;
  1183  
  1184  userpg->time_mult = rd->mult;
  1185  userpg->time_shift = rd->shift;
  1186  userpg->time_zero = rd->epoch_ns;
> 1187  userpg->time_cycle = rd->epoch_cyc;

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


.config.gz
Description: application/gzip


[tip:master] BUILD SUCCESS 808b53da85c718ee5f9c816661e4dee41e2e13f0

2020-05-12 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 808b53da85c718ee5f9c816661e4dee41e2e13f0  Merge branch 'core/rcu'

elapsed time: 484m

configs tested: 116
configs skipped: 6

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

arm defconfig
arm  allyesconfig
arm  allmodconfig
arm   allnoconfig
arm64allyesconfig
arm64   defconfig
arm64allmodconfig
arm64 allnoconfig
sparcallyesconfig
m68k allyesconfig
m68kstmark2_defconfig
arm  colibri_pxa300_defconfig
c6xevmc6457_defconfig
powerpc powernv_defconfig
mips decstation_r4k_defconfig
arm   aspeed_g4_defconfig
sh  rts7751r2d1_defconfig
powerpc ep8248e_defconfig
openriscor1ksim_defconfig
h8300 edosk2674_defconfig
sh   se7751_defconfig
i386defconfig
arm   tegra_defconfig
shhp6xx_defconfig
arm64alldefconfig
armvexpress_defconfig
m68km5272c3_defconfig
sh sh03_defconfig
riscvallyesconfig
arm lpc32xx_defconfig
i386  allnoconfig
i386 allyesconfig
i386  debian-10.3
ia64 allmodconfig
ia64defconfig
ia64  allnoconfig
ia64 allyesconfig
m68k allmodconfig
m68k  allnoconfig
m68k   sun3_defconfig
m68kdefconfig
nios2   defconfig
nios2allyesconfig
openriscdefconfig
c6x  allyesconfig
c6x   allnoconfig
openrisc allyesconfig
nds32   defconfig
nds32 allnoconfig
csky allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
h8300allmodconfig
xtensa  defconfig
arc defconfig
arc  allyesconfig
sh   allmodconfig
shallnoconfig
microblazeallnoconfig
mips allyesconfig
mips  allnoconfig
mips allmodconfig
pariscallnoconfig
parisc  defconfig
parisc   allyesconfig
parisc   allmodconfig
powerpc defconfig
powerpc  allyesconfig
powerpc  rhel-kconfig
powerpc  allmodconfig
powerpc   allnoconfig
i386 randconfig-a006-20200512
i386 randconfig-a005-20200512
i386 randconfig-a003-20200512
i386 randconfig-a001-20200512
i386 randconfig-a004-20200512
i386 randconfig-a002-20200512
x86_64   randconfig-a016-20200512
x86_64   randconfig-a012-20200512
x86_64   randconfig-a015-20200512
x86_64   randconfig-a013-20200512
x86_64   randconfig-a014-20200512
x86_64   randconfig-a011-20200512
i386 randconfig-a012-20200512
i386 randconfig-a016-20200512
i386 randconfig-a014-20200512
i386 randconfig-a011-20200512
i386 randconfig-a013-20200512
i386 randconfig-a015-20200512
riscv allnoconfig
riscv   defconfig
riscvallmodconfig
s390 allyesconfig
s390  allnoconfig
s390 allmodconfig
s390defconfig
x86_64  defconfig
sparc   defconfig
sparc64 

Re: [PATCH 2/5] arm64: perf: Implement correct cap_user_time

2020-05-12 Thread kbuild test robot
Hi Peter,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Peter-Zijlstra/arm64-perf-Proper-cap_user_time-support/20200512-205141
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
059c6d68cfc5f85ba3ab71d71a6de380016f7936
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=arm64 

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

All errors (new ones prefixed by >>):

arch/arm64/kernel/perf_event.c: In function 'arch_perf_update_userpage':
>> arch/arm64/kernel/perf_event.c:1205:12: error: 'struct perf_event_mmap_page' 
>> has no member named 'shift'
1205 |  if (userpg->shift == 32) {
|^~
arch/arm64/kernel/perf_event.c:1206:9: error: 'struct perf_event_mmap_page' has 
no member named 'shift'
1206 |   userpg->shift = 31;
| ^~

vim +1205 arch/arm64/kernel/perf_event.c

  1165  
  1166  void arch_perf_update_userpage(struct perf_event *event,
  1167 struct perf_event_mmap_page *userpg, u64 
now)
  1168  {
  1169  struct clock_read_data *rd;
  1170  unsigned int seq;
  1171  
  1172  /*
  1173   * Internal timekeeping for enabled/running/stopped times
  1174   * is always computed with the sched_clock.
  1175   */
  1176  userpg->cap_user_time = 1;
  1177  userpg->cap_user_time_zero = 1;
  1178  
  1179  do {
  1180  rd = sched_clock_read_begin();
  1181  
  1182  userpg->time_mult = rd->mult;
  1183  userpg->time_shift = rd->shift;
  1184  userpg->time_zero = rd->epoch_ns;
  1185  
  1186  /*
  1187   * This isn't strictly correct, the ARM64 counter can be
  1188   * 'short' and then we get funnies when it wraps. The 
correct
  1189   * thing would be to extend the perf ABI with a cycle 
and mask
  1190   * value, but because wrapping on ARM64 is very rare in
  1191   * practise this 'works'.
  1192   */
  1193  userpg->time_zero -= (rd->epoch_cyc * rd->mult) >> 
rd->shift;
  1194  
  1195  } while (sched_clock_read_retry(seq));
  1196  
  1197  userpg->time_offset = userpg->time_zero - now;
  1198  
  1199  /*
  1200   * time_shift is not expected to be greater than 31 due to
  1201   * the original published conversion algorithm shifting a
  1202   * 32-bit value (now specifies a 64-bit value) - refer
  1203   * perf_event_mmap_page documentation in perf_event.h.
  1204   */
> 1205  if (userpg->shift == 32) {
  1206  userpg->shift = 31;
  1207  userpg->time_mult >>= 1;
  1208  }
  1209  

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


.config.gz
Description: application/gzip


Re: [PATCH] ASoC: rsnd: add interrupt support for SSI BUSIF buffer

2020-05-12 Thread kbuild test robot
Hi Yongbo,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Yongbo-Zhang/ASoC-rsnd-add-interrupt-support-for-SSI-BUSIF-buffer/20200509-035713
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 
for-next
:: branch date: 6 hours ago
:: commit date: 6 hours ago

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


cppcheck warnings: (new ones prefixed by >>)

>> sound/soc/sh/rcar/ssi.c:531:1: warning: Unmatched '{'. Configuration: ''. 
>> [syntaxError]
   {
   ^
>> sound/soc/sh/rcar/ssi.c:531:1: warning: Unmatched '{'. Configuration: 
>> 'DEBUG'. [syntaxError]
   {
   ^

# 
https://github.com/0day-ci/linux/commit/391d452251464b78f72ba3a1fd9b6091b3d4a942
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 391d452251464b78f72ba3a1fd9b6091b3d4a942
vim +531 sound/soc/sh/rcar/ssi.c

ae5c322303fff5 Kuninori Morimoto 2013-07-21  527  
ae5c322303fff5 Kuninori Morimoto 2013-07-21  528  static int 
rsnd_ssi_quit(struct rsnd_mod *mod,
2c0fac19de2cd7 Kuninori Morimoto 2015-06-15  529 struct 
rsnd_dai_stream *io,
690602fcd85385 Kuninori Morimoto 2015-01-15  530 struct 
rsnd_priv *priv)
ae5c322303fff5 Kuninori Morimoto 2013-07-21 @531  {
ae5c322303fff5 Kuninori Morimoto 2013-07-21  532struct rsnd_ssi *ssi = 
rsnd_mod_to_ssi(mod);
ae5c322303fff5 Kuninori Morimoto 2013-07-21  533struct device *dev = 
rsnd_priv_to_dev(priv);
391d452251464b Yongbo Zhang  2020-05-08  534int is_tdm, 
is_tdm_split;
391d452251464b Yongbo Zhang  2020-05-08  535int id = 
rsnd_mod_id(mod);
391d452251464b Yongbo Zhang  2020-05-08  536int i;
391d452251464b Yongbo Zhang  2020-05-08  537u32 sys_int_enable = 0;
391d452251464b Yongbo Zhang  2020-05-08  538  
391d452251464b Yongbo Zhang  2020-05-08  539is_tdm  = 
rsnd_runtime_is_tdm(io);
391d452251464b Yongbo Zhang  2020-05-08  540is_tdm_split= 
rsnd_runtime_is_tdm_split(io);
ae5c322303fff5 Kuninori Morimoto 2013-07-21  541  
fd9adcfdc1434f Kuninori Morimoto 2016-02-18  542if 
(!rsnd_ssi_is_run_mods(mod, io))
fd9adcfdc1434f Kuninori Morimoto 2016-02-18  543return 0;
fd9adcfdc1434f Kuninori Morimoto 2016-02-18  544  
e5d9cfc6f5fe56 Andrzej Hajda 2015-12-24  545if (!ssi->usrcnt) {
c0ea089dbad47a Kuninori Morimoto 2018-10-30  546dev_err(dev, 
"%s usrcnt error\n", rsnd_mod_name(mod));
e5d9cfc6f5fe56 Andrzej Hajda 2015-12-24  547return -EIO;
e5d9cfc6f5fe56 Andrzej Hajda 2015-12-24  548}
e7d850dd10f4e6 Kuninori Morimoto 2015-10-26  549  
26d34b11af6a34 Kuninori Morimoto 2016-02-18  550
rsnd_ssi_master_clk_stop(mod, io);
e7d850dd10f4e6 Kuninori Morimoto 2015-10-26  551  
e7d850dd10f4e6 Kuninori Morimoto 2015-10-26  552rsnd_mod_power_off(mod);
e7d850dd10f4e6 Kuninori Morimoto 2015-10-26  553  
e7d850dd10f4e6 Kuninori Morimoto 2015-10-26  554ssi->usrcnt--;
e7d850dd10f4e6 Kuninori Morimoto 2015-10-26  555  
203cdf51f28820 Kuninori Morimoto 2018-06-12  556if (!ssi->usrcnt) {
203cdf51f28820 Kuninori Morimoto 2018-06-12  557ssi->cr_own 
= 0;
203cdf51f28820 Kuninori Morimoto 2018-06-12  558ssi->cr_mode
= 0;
203cdf51f28820 Kuninori Morimoto 2018-06-12  559ssi->wsr
= 0;
203cdf51f28820 Kuninori Morimoto 2018-06-12  560}
203cdf51f28820 Kuninori Morimoto 2018-06-12  561  
391d452251464b Yongbo Zhang  2020-05-08  562/* disable busif buffer 
over/under run interrupt. */
391d452251464b Yongbo Zhang  2020-05-08  563if (is_tdm || 
is_tdm_split) {
391d452251464b Yongbo Zhang  2020-05-08  564switch (id) {
391d452251464b Yongbo Zhang  2020-05-08  565case 0:
391d452251464b Yongbo Zhang  2020-05-08  566case 1:
391d452251464b Yongbo Zhang  2020-05-08  567case 2:
391d452251464b Yongbo Zhang  2020-05-08  568case 3:
391d452251464b Yongbo Zhang  2020-05-08  569case 4:
391d452251464b Yongbo Zhang  2020-05-08  570for (i 
= 0; i < 4; i++) {
391d452251464b Yongbo Zhang  2020-05-08  571
sys_int_enable = rsnd_mod_read(mod,
391d452251464b Yongbo Zhang  2020-05-08  572
SSI_SYS_INT_ENA

[tip:core/rcu] BUILD SUCCESS 68f0f2690e183306b52671a9ad09fb31808b0500

2020-05-11 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
core/rcu
branch HEAD: 68f0f2690e183306b52671a9ad09fb31808b0500  Merge branch 'for-mingo' 
of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu

elapsed time: 499m

configs tested: 114
configs skipped: 2

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

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

Re: [PATCH v2 net-next 03/15] net: dsa: sja1105: keep the VLAN awareness state in a driver variable

2020-05-11 Thread kbuild test robot
Hi Vladimir,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Vladimir-Oltean/Traffic-support-for-dsa_8021q-in-vlan_filtering-1-mode/20200512-024329
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
a6f0b26d6a5dcf27980e65f965779a929039f11d
config: xtensa-randconfig-r021-20200511 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=xtensa 

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

All errors (new ones prefixed by >>):

   xtensa-linux-ld: net/dsa/tag_sja1105.o: in function `sja1105_rcv':
>> net/dsa/tag_sja1105.c:305: undefined reference to 
>> `sja1105_can_use_vlan_as_tags'
   xtensa-linux-ld: net/dsa/tag_sja1105.o: in function `sja1105_filter':
   net/dsa/tag_sja1105.c:77: undefined reference to 
`sja1105_can_use_vlan_as_tags'

vim +305 net/dsa/tag_sja1105.c

f3097be21bf17a Vladimir Oltean 2019-06-08  246  
227d07a07ef126 Vladimir Oltean 2019-05-05  247  static struct sk_buff 
*sja1105_rcv(struct sk_buff *skb,
227d07a07ef126 Vladimir Oltean 2019-05-05  248  
   struct net_device *netdev,
227d07a07ef126 Vladimir Oltean 2019-05-05  249  
   struct packet_type *pt)
227d07a07ef126 Vladimir Oltean 2019-05-05  250  {
e53e18a6fe4d3a Vladimir Oltean 2019-06-08  251  struct sja1105_meta 
meta = {0};
d461933638ae9f Vladimir Oltean 2019-06-08  252  int source_port, 
switch_id;
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  253  struct ethhdr *hdr;
227d07a07ef126 Vladimir Oltean 2019-05-05  254  u16 tpid, vid, tci;
42824463d38d27 Vladimir Oltean 2019-06-08  255  bool is_link_local;
227d07a07ef126 Vladimir Oltean 2019-05-05  256  bool is_tagged;
e53e18a6fe4d3a Vladimir Oltean 2019-06-08  257  bool is_meta;
227d07a07ef126 Vladimir Oltean 2019-05-05  258  
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  259  hdr = eth_hdr(skb);
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  260  tpid = 
ntohs(hdr->h_proto);
d461933638ae9f Vladimir Oltean 2019-06-08  261  is_tagged = (tpid == 
ETH_P_SJA1105);
42824463d38d27 Vladimir Oltean 2019-06-08  262  is_link_local = 
sja1105_is_link_local(skb);
e53e18a6fe4d3a Vladimir Oltean 2019-06-08  263  is_meta = 
sja1105_is_meta_frame(skb);
227d07a07ef126 Vladimir Oltean 2019-05-05  264  
227d07a07ef126 Vladimir Oltean 2019-05-05  265  skb->offload_fwd_mark = 
1;
227d07a07ef126 Vladimir Oltean 2019-05-05  266  
42824463d38d27 Vladimir Oltean 2019-06-08  267  if (is_tagged) {
42824463d38d27 Vladimir Oltean 2019-06-08  268  /* Normal 
traffic path. */
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  269  
skb_push_rcsum(skb, ETH_HLEN);
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  270  
__skb_vlan_pop(skb, );
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  271  
skb_pull_rcsum(skb, ETH_HLEN);
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  272  
skb_reset_network_header(skb);
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  273  
skb_reset_transport_header(skb);
e80f40cbe4dd51 Vladimir Oltean 2020-03-24  274  
42824463d38d27 Vladimir Oltean 2019-06-08  275  vid = tci & 
VLAN_VID_MASK;
42824463d38d27 Vladimir Oltean 2019-06-08  276  source_port = 
dsa_8021q_rx_source_port(vid);
42824463d38d27 Vladimir Oltean 2019-06-08  277  switch_id = 
dsa_8021q_rx_switch_id(vid);
42824463d38d27 Vladimir Oltean 2019-06-08  278  skb->priority = 
(tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT;
42824463d38d27 Vladimir Oltean 2019-06-08  279  } else if 
(is_link_local) {
227d07a07ef126 Vladimir Oltean 2019-05-05  280  /* Management 
traffic path. Switch embeds the switch ID and
227d07a07ef126 Vladimir Oltean 2019-05-05  281   * port ID into 
bytes of the destination MAC, courtesy of
227d07a07ef126 Vladimir Oltean 2019-05-05  282   * the 
incl_srcpt options.
227d07a07ef126 Vladimir Oltean 2019-05-05  283   */
227d07a07ef126 Vladimir Oltean 2019-05-05  284  source_port = 
hdr->h_dest[3];
227d07a07ef126 Vladimir Oltean 2019-05-05  285  switch_id = 
hdr->

Re: [PATCH 13/17] staging: wfx: fix endianness of the field 'len'

2020-05-11 Thread kbuild test robot
Hi Jerome,

I love your patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Jerome-Pouiller/staging-wfx-fix-support-for-big-endian-hosts/20200512-031750
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
ae73e7784871ebe2c43da619b4a1e2c9ff81508d
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/byteorder/big_endian.h:5,
from arch/m68k/include/uapi/asm/byteorder.h:5,
from include/asm-generic/bitops/le.h:6,
from arch/m68k/include/asm/bitops.h:528,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from include/asm-generic/bug.h:19,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/gpio/consumer.h:6,
from drivers/staging/wfx/bh.c:8:
   drivers/staging/wfx/bh.c: In function 'tx_helper':
>> drivers/staging/wfx/bh.c:202:39: warning: passing argument 1 of '__swab16s' 
>> makes pointer from integer without a cast [-Wint-conversion]
 202 |  cpu_to_le16s(((struct hif_msg *)data)->len);
   include/uapi/linux/byteorder/big_endian.h:96:38: note: in definition of 
macro '__cpu_to_le16s'
  96 | #define __cpu_to_le16s(x) __swab16s((x))
 |  ^
>> drivers/staging/wfx/bh.c:202:2: note: in expansion of macro 'cpu_to_le16s'
 202 |  cpu_to_le16s(((struct hif_msg *)data)->len);
 |  ^~~~
   In file included from include/linux/swab.h:5,
from include/uapi/linux/byteorder/big_endian.h:13,
from include/linux/byteorder/big_endian.h:5,
from arch/m68k/include/uapi/asm/byteorder.h:5,
from include/asm-generic/bitops/le.h:6,
from arch/m68k/include/asm/bitops.h:528,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from include/asm-generic/bug.h:19,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/gpio/consumer.h:6,
from drivers/staging/wfx/bh.c:8:
   include/uapi/linux/swab.h:240:37: note: expected '__u16 *' {aka 'short 
unsigned int *'} but argument is of type 'u16' {aka 'short unsigned int'}
 240 | static inline void __swab16s(__u16 *p)
 |  ~~~^

vim +/__swab16s +202 drivers/staging/wfx/bh.c

   169  
   170  static void tx_helper(struct wfx_dev *wdev, struct hif_msg *hif)
   171  {
   172  int ret;
   173  void *data;
   174  bool is_encrypted = false;
   175  size_t len = hif->len;
   176  
   177  WARN(len < sizeof(*hif), "try to send corrupted data");
   178  
   179  hif->seqnum = wdev->hif.tx_seqnum;
   180  wdev->hif.tx_seqnum = (wdev->hif.tx_seqnum + 1) % 
(HIF_COUNTER_MAX + 1);
   181  
   182  if (wfx_is_secure_command(wdev, hif->id)) {
   183  len = round_up(len - sizeof(hif->len), 16) + 
sizeof(hif->len) +
   184  sizeof(struct hif_sl_msg_hdr) +
   185  sizeof(struct hif_sl_tag);
   186  // AES support encryption in-place. However, mac80211 
access to
   187  // 802.11 header after frame was sent (to get MAC 
addresses).
   188  // So, keep origin buffer clear.
   189  data = kmalloc(len, GFP_KERNEL);
   190  if (!data)
   191  goto end;
   192  is_encrypted = true;
   193  ret = wfx_sl_encode(wdev, hif, data);
   194  if (ret)
   195  goto end;
   196  } else {
   197  data = hif;
   198  }
   199  WARN(len > wdev->hw_caps.size_inp_ch_buf,
   200   "%s: 

Re: [PATCH 1/2] mfd: mfd-core: Add mechanism for removal of a subset of children

2020-05-11 Thread kbuild test robot
Hi Charles,

I love your patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Charles-Keepax/mfd-mfd-core-Add-mechanism-for-removal-of-a-subset-of-children/20200512-032030
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: s390-randconfig-r034-20200511 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=s390 

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

All warnings (new ones prefixed by >>):

   drivers/mfd/mfd-core.c: In function 'mfd_remove_devices_fn':
>> drivers/mfd/mfd-core.c:290:12: warning: cast from pointer to integer of 
>> different size [-Wpointer-to-int-cast]
 290 |  int tag = (int)data;
 |^
   drivers/mfd/mfd-core.c: In function 'mfd_remove_devices_by_tag':
>> drivers/mfd/mfd-core.c:310:40: warning: cast to pointer from integer of 
>> different size [-Wint-to-pointer-cast]
 310 |  device_for_each_child_reverse(parent, (void *)tag,
 |^

vim +290 drivers/mfd/mfd-core.c

   285  
   286  static int mfd_remove_devices_fn(struct device *dev, void *data)
   287  {
   288  struct platform_device *pdev;
   289  const struct mfd_cell *cell;
 > 290  int tag = (int)data;
   291  
   292  if (dev->type != _dev_type)
   293  return 0;
   294  
   295  pdev = to_platform_device(dev);
   296  cell = mfd_get_cell(pdev);
   297  
   298  if (tag && cell->tag != tag)
   299  return 0;
   300  
   301  regulator_bulk_unregister_supply_alias(dev, 
cell->parent_supplies,
   302 
cell->num_parent_supplies);
   303  
   304  platform_device_unregister(pdev);
   305  return 0;
   306  }
   307  
   308  void mfd_remove_devices_by_tag(struct device *parent, int tag)
   309  {
 > 310  device_for_each_child_reverse(parent, (void *)tag,
   311mfd_remove_devices_fn);
   312  }
   313  EXPORT_SYMBOL(mfd_remove_devices_by_tag);
   314  

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


.config.gz
Description: application/gzip


arch/powerpc/kernel/head_40x.S:348: Error: attempt to move .org backwards

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

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   152036d1379ffd6985262743dcf6b0f9c75f83a4
commit: 9e27086292aa880921a0f2b8501e5189d5efcf03 powerpc/32: Warn and return 
ENOSYS on syscalls from kernel
date:   3 months ago
config: powerpc64-randconfig-r012-20200511 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9e27086292aa880921a0f2b8501e5189d5efcf03
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=powerpc64 

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

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/head_40x.S: Assembler messages:
   arch/powerpc/kernel/head_40x.S:804: Warning: invalid register expression
>> arch/powerpc/kernel/head_40x.S:348: Error: attempt to move .org backwards

vim +348 arch/powerpc/kernel/head_40x.S

14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 200  
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 201/* First, check if it was a zone fault (which means a user
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 202* tried to access a kernel or read-protected page - always
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 203* a SEGV).  All other faults here must be stores, so no
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 204* need to check ESR_DST as well. */
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 205mfspr   r10, SPRN_ESR
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 206andis.  r10, r10, ESR_DIZ@h
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 207bne 2f
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 208  
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 209mfspr   r10, SPRN_DEAR  /* Get faulting address */
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 210  
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 211/* If we are faulting a kernel address, we have to use the
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 212 * kernel page tables.
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 213 */
8a13c4f972e6c1 arch/powerpc/kernel/head_40x.S Kumar Gala 2007-10-11 
 214lis r11, PAGE_OFFSET@h
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 215cmplw   r10, r11
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 216blt+3f
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 217lis r11, swapper_pg_dir@h
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 218ori r11, r11, swapper_pg_dir@l
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 219li  r9, 0
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 220mtspr   SPRN_PID, r9/* TLB will have 0 TID */
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 221b   4f
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 222  
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 223/* Get the PGD for the current thread.
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 224 */
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 225  3:
ee43eb788b3a06 arch/powerpc/kernel/head_40x.S Benjamin Herrenschmidt 2009-07-14 
 226mfspr   r11,SPRN_SPRG_THREAD
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 227lwz r11,PGDIR(r11)
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 228  4:
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 229tophys(r11, r11)
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 230rlwimi  r11, r10, 12, 20, 29/* Create L1 (pgdir/pmd) address */
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 231lwz r11, 0(r11) /* Get L1 entry */
14cf11af6cf608 arch/powerpc/kernel/head_4xx.S Paul Mackerras 2005-09-26 
 232rlwinm. r12, r11, 0, 0, 19  /

[tip:master] BUILD SUCCESS 7145ebce02f440f3033026e2aa56a182e8093bc2

2020-05-11 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 7145ebce02f440f3033026e2aa56a182e8093bc2  Merge branch 'linus'

elapsed time: 521m

configs tested: 100
configs skipped: 1

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

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

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

arm-linux-gnueabi-ld: arch/arm/mach-dove/pcie.c:59: undefined reference to `pci_ioremap_io'

2020-05-11 Thread kbuild test robot
Hi Peter,

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:   2ef96a5bb12be62ef75b5828c0aab838ebb29cb8
commit: 7a7a8f549ddd18126dfa3dedbe42d877614c7995 arm/patch: Fix !MMU compile
date:   3 months ago
config: arm-randconfig-r021-20200511 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 7a7a8f549ddd18126dfa3dedbe42d877614c7995
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm 

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

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: arch/arm/mach-dove/pcie.o: in function 
`dove_pcie_setup':
   arch/arm/mach-dove/pcie.c:57: undefined reference to `pci_ioremap_io'
>> arm-linux-gnueabi-ld: arch/arm/mach-dove/pcie.c:59: undefined reference to 
>> `pci_ioremap_io'

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


.config.gz
Description: application/gzip


Re: [PATCH v2 3/3] iio: cros_ec_light: Add support for RGB sensor

2020-05-11 Thread kbuild test robot
Hi Gwendal,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Gwendal-Grignou/iio-cros_ec-Add-support-for-RGB-light-sensor/20200507-074251
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: i386-randconfig-a003-20200511 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

All warnings (new ones prefixed by >>):

   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   drivers/iio/light/cros_ec_light_prox.c:51:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:38: error: initializer element is 
not constant
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:51:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:38: note: (near initialization for 
'cros_ec_light_prox_bitmasks[3]')
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:51:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   drivers/iio/light/cros_ec_light_prox.c:52:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK | CROS_EC_LIGHT_CLEAR_OR_PROXIMITY_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:38: error: initializer element is 
not constant
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:52:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK | CROS_EC_LIGHT_CLEAR_OR_PROXIMITY_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:38: note: (near initialization for 
'cros_ec_light_prox_bitmasks[4]')
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:52:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK | CROS_EC_LIGHT_CLEAR_OR_PROXIMITY_MASK,
 ^~~~
   In file included from include/linux/dev_printk.h:14:0,
from include/linux/device.h:15,
from drivers/iio/light/cros_ec_light_prox.c:8:
   drivers/iio/light/cros_ec_light_prox.c: In function 'cros_ec_light_capture':
   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : 
__trace_if_value(cond))
   ^~~~
>> drivers/iio/light/cros_ec_light_prox.c:403:2: note: in expansion of macro 
>> 'if'
 if ((scan_mask & CROS_EC_LIGHT_XYZ_SPACE_MASK) ||
 ^~
   drivers/iio/light/cros_ec_light_prox.c:404:19: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 (scan_mask & CROS_EC_LIGHT_RGB_SPACE_MASK)) {
  ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : 
__trace_if_value(cond))
^~~~
>> drivers/iio/light/

[rcu:rcu/dev] BUILD SUCCESS 13e69ca01ce1621ce74248bda86cfad47fa5a0fa

2020-05-10 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  rcu/dev
branch HEAD: 13e69ca01ce1621ce74248bda86cfad47fa5a0fa  locking/osq_lock: 
Annotate a data race in osq_lock

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  try_invoke_on_locked_down_task()  
arch/x86/events/zhaoxin/built-in.*  
  
==
+1 0
353159365e72 rcu: Add KCSAN stubs 
 0 0
4f58820fd710 srcu: Add KCSAN stubs
 0 0
2f0846956355 rcu: Mark rcu_state.ncpus to detect concurrent writes
 0 0
314eeb43e5f2 rcu: Add *_ONCE() and data_race() to rcu_node ->exp_tasks pl 
 0 0
065a6db12a80 rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks 
 0 0
b68c6146512d srcu: Add data_race() to ->srcu_lock_count and ->srcu_unlock 
 0 0
5822b8126ff0 rcu: Add WRITE_ONCE() to rcu_node ->boost_tasks  
 0 0
47fbb074536e rcu: Use data_race() for RCU CPU stall-warning prints
 0 0
53965dbe5396 drm: Make drm_dp_mst_dsc_aux_for_port() safe for old compile 
 0 0
1fca4d12f463 rcu: Expedite first two FQS scans under callback-overload co 
 0 0
fcbcc0e70050 rcu: Fix the (t=0 jiffies) false positive
 0 0
ddc465936643 Revert "rculist: Describe variadic macro argument in a Sphin 
 0 0
c28d5c09d09f rcu: Get rid of some doc warnings in update.c
 0 0
62ae19511f1e rcu: Mark rcu_state.gp_seq to detect more concurrent writes  
 0 0
a66dbda7893f rcu: Replace assigned pointer ret value by corresponding boo 
 0 0
da44cd6c8e88 rcu: Replace 1 by true   
 0 0
29ffebc5fcc0 rcu: Convert ULONG_CMP_GE() to time_after() for jiffy compar 
 0 0
7b2413111a63 rcu: Convert rcu_initiate_boost() ULONG_CMP_GE() to time_aft 
 0 0
e2f3ccfa6200 rcu: Convert rcu_nohz_full_cpu() ULONG_CMP_LT() to time_befo 
   +83   +84   +83
+136  f736e0f1a55a Merge branches 'fixes.2020.04.27a', 'kfree_rcu.2020.04.27a', 
  -224  -224 0  
 0  2d9d829af55c Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0 0  
 0  99a5d03ba959 Merge branch 'lkmm-dev.2020.04.15b' into HEAD
   +38   +38 0  
 0  3123dcd3ef7f fork: Annotate a data race in vm_area_dup()  
 0 0 0  
 0  2ba74f25e0de x86/mm/pat: Mark an intentional data race
 0 0 0  
 0  cd59625dedde rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0 0  
 0  ca6e49239a17 locktorture: Use true and false to assign to bool variables  
 0 0 0  
 0  8c8786cd0247 srcu: Fix a typo in comment 

Re: [PATCH v2 3/3] iio: cros_ec_light: Add support for RGB sensor

2020-05-10 Thread kbuild test robot
Hi Gwendal,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Gwendal-Grignou/iio-cros_ec-Add-support-for-RGB-light-sensor/20200507-074251
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

All errors (new ones prefixed by >>):

   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   drivers/iio/light/cros_ec_light_prox.c:51:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK,
 ^~~~
>> drivers/iio/light/cros_ec_light_prox.c:39:38: error: initializer element is 
>> not constant
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:51:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:38: note: (near initialization for 
'cros_ec_light_prox_bitmasks[3]')
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:51:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   drivers/iio/light/cros_ec_light_prox.c:52:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK | CROS_EC_LIGHT_CLEAR_OR_PROXIMITY_MASK,
 ^~~~
>> drivers/iio/light/cros_ec_light_prox.c:39:38: error: initializer element is 
>> not constant
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:52:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK | CROS_EC_LIGHT_CLEAR_OR_PROXIMITY_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c:39:38: note: (near initialization for 
'cros_ec_light_prox_bitmasks[4]')
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
 ^
   drivers/iio/light/cros_ec_light_prox.c:52:2: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 CROS_EC_LIGHT_RGB_SPACE_MASK | CROS_EC_LIGHT_CLEAR_OR_PROXIMITY_MASK,
 ^~~~
   drivers/iio/light/cros_ec_light_prox.c: In function 'cros_ec_light_capture':
   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   drivers/iio/light/cros_ec_light_prox.c:404:19: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 (scan_mask & CROS_EC_LIGHT_RGB_SPACE_MASK)) {
  ^~~~
   drivers/iio/light/cros_ec_light_prox.c: In function 
'cros_ec_light_prox_update_scan_mode':
   drivers/iio/light/cros_ec_light_prox.c:39:40: warning: left-hand operand of 
comma expression has no effect [-Wunused-value]
#define CROS_EC_LIGHT_RGB_SPACE_MASK (6, 4)
   ^
   drivers/iio/light/cros_ec_light_prox.c:434:24: note: in expansion of macro 
'CROS_EC_LIGHT_RGB_SPACE_MASK'
 else if (*scan_mask & CROS_EC_LIGHT_RGB_SPACE_MASK)
   ^~~~

vim +39 drivers/iio/light/cros_ec_light_prox.c

23  
24  /*
25   * We may present up to 7 channels:
26   *
27   * +-+-+-+-+-+-+-+
28   * |Clear|  X  |  Y  |  Z  | RED |BLUE |GREEN|
29   * |Prox | | | | | | |
30   * +-+-+-+-+-+-+-+
31   *
32   * Prox[imity] is presented by proximity sensors.
33   * The clear channel is supported by single and color light sensors.
34   * Color light sensor either repo

[tip:master] BUILD SUCCESS 506c28aae936a300b6eb16e4fe8472755b10ae44

2020-05-10 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  master
branch HEAD: 506c28aae936a300b6eb16e4fe8472755b10ae44  Merge branch 'core/core'

elapsed time: 705m

configs tested: 119
configs skipped: 1

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

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

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

2020-05-10 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   e99332e7b4cda6e60f5b5916cf9943a79dbef902
commit: 1651e700664b4597ddf4f8adfe435252a0d11277 x86: Fix bitops.h warning with 
a moved cast
date:   8 weeks ago
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
git checkout 1651e700664b4597ddf4f8adfe435252a0d11277
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

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

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

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

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

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

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


[PATCH] dsa: sja1105: fix semicolon.cocci warnings

2020-05-10 Thread kbuild test robot
From: kbuild test robot 

drivers/net/dsa/sja1105/sja1105_ethtool.c:481:11-12: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: ae1804de93f6 ("dsa: sja1105: dynamically allocate stats structure")
CC: Arnd Bergmann 
Signed-off-by: kbuild test robot 
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   30e2206e11ce27ae910cc0dab21472429e400a87
commit: ae1804de93f6f1626906567ae7deec8e0111259d [6966/7905] dsa: sja1105: 
dynamically allocate stats structure

 sja1105_ethtool.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/dsa/sja1105/sja1105_ethtool.c
+++ b/drivers/net/dsa/sja1105/sja1105_ethtool.c
@@ -478,7 +478,7 @@ void sja1105_get_ethtool_stats(struct ds
 
if (priv->info->device_id == SJA1105E_DEVICE_ID ||
priv->info->device_id == SJA1105T_DEVICE_ID)
-   goto out;;
+   goto out;
 
memset(data + k, 0, ARRAY_SIZE(sja1105pqrs_extra_port_stats) *
sizeof(u64));


Re: [PATCH v11 54/56] input: atmel_mxt_ts: added sysfs interface to update atmel T38 data

2020-05-10 Thread kbuild test robot
Hi Jiada,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Jiada-Wang/atmel_mxt_ts-misc/20200509-031552
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next

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


cppcheck warnings: (new ones prefixed by >>)

>> drivers/input/touchscreen/atmel_mxt_ts.c:4045:8: warning: %d in format 
>> string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. 
>> [invalidScanfArgType_int]
ret = sscanf(buf, "%zd %d%zd", , , );
  ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1993:20: warning: Unsigned 
expression 'byte_offset' can't be negative so it is unnecessary to test it. 
[unsignedPositive]
  if (byte_offset >= 0 && byte_offset < cfg->mem_size) {
  ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1024:33: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
  status & MXT_T6_STATUS_RESET ? " RESET" : "",
   ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1025:31: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
  status & MXT_T6_STATUS_OFL ? " OFL" : "",
 ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1026:34: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
  status & MXT_T6_STATUS_SIGERR ? " SIGERR" : "",
^
   drivers/input/touchscreen/atmel_mxt_ts.c:1027:31: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
  status & MXT_T6_STATUS_CAL ? " CAL" : "",
 ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1028:34: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
  status & MXT_T6_STATUS_CFGERR ? " CFGERR" : "",
^
   drivers/input/touchscreen/atmel_mxt_ts.c:1029:35: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
  status & MXT_T6_STATUS_COMSERR ? " COMSERR" : "");
 ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1346:17: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
 status & 0x01 ? "FREQCHG " : "",
   ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1347:17: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
 status & 0x02 ? "APXCHG " : "",
   ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1348:17: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
 status & 0x04 ? "ALGOERR " : "",
   ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1349:17: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
 status & 0x10 ? "STATCHG " : "",
   ^
   drivers/input/touchscreen/atmel_mxt_ts.c:1350:17: warning: Clarify 
calculation precedence for '&' and '?'. [clarifyCalculation]
 status & 0x20 ? "NLVLCHG " : "");
   ^
   drivers/input/touchscreen/atmel_mxt_ts.c:274:20: warning: struct member 
'mxt_dbg::t37_buf' is never used. [unusedStructMember]
struct t37_debug *t37_buf;
  ^
   drivers/input/touchscreen/atmel_mxt_ts.c:275:15: warning: struct member 
'mxt_dbg::t37_pages' is never used. [unusedStructMember]
unsigned int t37_pages;
 ^
   drivers/input/touchscreen/atmel_mxt_ts.c:276:15: warning: struct member 
'mxt_dbg::t37_nodes' is never used. [unusedStructMember]
unsigned int t37_nodes;

vim +4045 drivers/input/touchscreen/atmel_mxt_ts.c

  4024  
  4025  static ssize_t t38_data_store(struct device *dev,
  4026struct device_attribute *attr,
  4027const char *buf, size_t count)
  4028  {
  4029  struct mxt_data *data = dev_get_drvdata(dev);
  4030  struct mxt_object *object;
  4031  ssize_t ret = 0, pos, offset;
  4032  unsigned int i, len, index;
  4033  u8 *t38_buf;
  4034  
  4035  if (!data->object_table)
  4036  return 

drivers/crypto/chelsio/chcr_ktls.c:1078: undefined reference to `tls_get_record'

2020-05-10 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   e99332e7b4cda6e60f5b5916cf9943a79dbef902
commit: 5a4b9fe7fece62ecab6fb28fe92362f83b41c33e cxgb4/chcr: complete record tx 
handling
date:   9 weeks ago
config: alpha-randconfig-r036-20200510 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 5a4b9fe7fece62ecab6fb28fe92362f83b41c33e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=alpha 

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

All errors (new ones prefixed by >>):

   alpha-linux-ld: drivers/crypto/chelsio/chcr_ktls.o: in function 
`tls_is_sk_tx_device_offloaded':
>> include/net/tls.h:431: undefined reference to `tls_validate_xmit_skb'
   alpha-linux-ld: drivers/crypto/chelsio/chcr_ktls.o: in function 
`chcr_ktls_xmit':
>> drivers/crypto/chelsio/chcr_ktls.c:1078: undefined reference to 
>> `tls_get_record'
>> alpha-linux-ld: drivers/crypto/chelsio/chcr_ktls.c:1078: undefined reference 
>> to `tls_get_record'

vim +1078 drivers/crypto/chelsio/chcr_ktls.c

   996  
   997  /* nic tls TX handler */
   998  int chcr_ktls_xmit(struct sk_buff *skb, struct net_device *dev)
   999  {
  1000  struct chcr_ktls_ofld_ctx_tx *tx_ctx;
  1001  struct tcphdr *th = tcp_hdr(skb);
  1002  int data_len, qidx, ret = 0, mss;
  1003  struct tls_record_info *record;
  1004  struct chcr_ktls_info *tx_info;
  1005  u32 tls_end_offset, tcp_seq;
  1006  struct tls_context *tls_ctx;
  1007  struct sk_buff *local_skb;
  1008  int new_connection_state;
  1009  struct sge_eth_txq *q;
  1010  struct adapter *adap;
  1011  unsigned long flags;
  1012  
  1013  tcp_seq = ntohl(th->seq);
  1014  
  1015  mss = skb_is_gso(skb) ? skb_shinfo(skb)->gso_size : 
skb->data_len;
  1016  
  1017  /* check if we haven't set it for ktls offload */
  1018  if (!skb->sk || !tls_is_sk_tx_device_offloaded(skb->sk))
  1019  goto out;
  1020  
  1021  tls_ctx = tls_get_ctx(skb->sk);
  1022  if (unlikely(tls_ctx->netdev != dev))
  1023  goto out;
  1024  
  1025  tx_ctx = chcr_get_ktls_tx_context(tls_ctx);
  1026  tx_info = tx_ctx->chcr_info;
  1027  
  1028  if (unlikely(!tx_info))
  1029  goto out;
  1030  
  1031  /* check the connection state, we don't need to pass new 
connection
  1032   * state, state machine will check and update the new state if 
it is
  1033   * stuck due to responses not received from HW.
  1034   * Start the tx handling only if state is KTLS_CONN_TX_READY.
  1035   */
  1036  new_connection_state = 
chcr_ktls_update_connection_state(tx_info, 0);
  1037  if (new_connection_state != KTLS_CONN_TX_READY)
  1038  goto out;
  1039  
  1040  /* don't touch the original skb, make a new skb to extract each 
records
  1041   * and send them separately.
  1042   */
  1043  local_skb = alloc_skb(0, GFP_KERNEL);
  1044  
  1045  if (unlikely(!local_skb))
  1046  return NETDEV_TX_BUSY;
  1047  
  1048  adap = tx_info->adap;
  1049  qidx = skb->queue_mapping;
  1050  q = >sge.ethtxq[qidx + tx_info->first_qset];
  1051  cxgb4_reclaim_completed_tx(adap, >q, true);
  1052  /* update tcb */
  1053  ret = chcr_ktls_xmit_tcb_cpls(tx_info, q, ntohl(th->seq),
  1054ntohl(th->ack_seq),
  1055ntohs(th->window));
  1056  if (ret) {
  1057  dev_kfree_skb_any(local_skb);
  1058  return NETDEV_TX_BUSY;
  1059  }
  1060  
  1061  /* copy skb contents into local skb */
  1062  chcr_ktls_skb_copy(skb, local_skb);
  1063  
  1064  /* go through the skb and send only one record at a time. */
  1065  data_len = skb->data_len;
  1066  /* TCP segments can be in received from host either complete or 
partial.
  1067   * chcr_end_part_handler will handle cases if complete record 
or end
  1068   * part of the record is received. Incase of partial end part 
of record,
  1069   * we will send the complete record again.
  1070   */
  1071  do {
  1072  int i;
  1073  
  1074  cxgb4_reclaim_completed_tx(adap, >q, true);
  1075  /* lock taken */
  1076  spin_lock_

[rcu:dev.2020.05.07a] BUILD SUCCESS 1af6526eb52eb1fb840f5941e1b8691d49e03674

2020-05-09 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  
dev.2020.05.07a
branch HEAD: 1af6526eb52eb1fb840f5941e1b8691d49e03674  locking/osq_lock: 
Annotate a data race in osq_lock

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  arch/x86/events/zhaoxin/built-in.*  
try_invoke_on_locked_down_task()

==
+1 0
353159365e72 rcu: Add KCSAN stubs 
 0 0
4f58820fd710 srcu: Add KCSAN stubs
 0 0
2f0846956355 rcu: Mark rcu_state.ncpus to detect concurrent writes
 0 0
314eeb43e5f2 rcu: Add *_ONCE() and data_race() to rcu_node ->exp_tasks pl 
 0 0
065a6db12a80 rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks 
 0 0
b68c6146512d srcu: Add data_race() to ->srcu_lock_count and ->srcu_unlock 
 0 0
5822b8126ff0 rcu: Add WRITE_ONCE() to rcu_node ->boost_tasks  
 0 0
47fbb074536e rcu: Use data_race() for RCU CPU stall-warning prints
 0 0
53965dbe5396 drm: Make drm_dp_mst_dsc_aux_for_port() safe for old compile 
 0 0
1fca4d12f463 rcu: Expedite first two FQS scans under callback-overload co 
 0 0
fcbcc0e70050 rcu: Fix the (t=0 jiffies) false positive
 0 0
ddc465936643 Revert "rculist: Describe variadic macro argument in a Sphin 
 0 0
c28d5c09d09f rcu: Get rid of some doc warnings in update.c
 0 0
62ae19511f1e rcu: Mark rcu_state.gp_seq to detect more concurrent writes  
 0 0
a66dbda7893f rcu: Replace assigned pointer ret value by corresponding boo 
 0 0
da44cd6c8e88 rcu: Replace 1 by true   
 0 0
29ffebc5fcc0 rcu: Convert ULONG_CMP_GE() to time_after() for jiffy compar 
 0 0
7b2413111a63 rcu: Convert rcu_initiate_boost() ULONG_CMP_GE() to time_aft 
 0 0
e2f3ccfa6200 rcu: Convert rcu_nohz_full_cpu() ULONG_CMP_LT() to time_befo 
   +83   +84+136   
+83  f736e0f1a55a Merge branches 'fixes.2020.04.27a', 'kfree_rcu.2020.04.27a', 
  -224  -224   0
 0  2d9d829af55c Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0   0
 0  99a5d03ba959 Merge branch 'lkmm-dev.2020.04.15b' into HEAD
   +38   +38   0
 0  3123dcd3ef7f fork: Annotate a data race in vm_area_dup()  
 0 0   0
 0  2ba74f25e0de x86/mm/pat: Mark an intentional data race
 0 0   0
 0  cd59625dedde rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0   0
 0  ca6e49239a17 locktorture: Use true and false to assign to bool variables  
 0 0   0
 0  8c8786cd0247 srcu: Fix a typo in 

Re: [PATCH net-next 4/4] net: phy: bcm54140: add cable diagnostics support

2020-05-09 Thread kbuild test robot
Hi Michael,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Michael-Walle/net-phy-broadcom-cable-tester-support/20200510-063955
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
2c674bec76d35b75c7c730f863424387c9e9633a
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

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

>> drivers/net/phy/bcm54140.c:834:13: error: 'PHY_POLL_CABLE_TEST' undeclared 
>> here (not in a function)
  .flags  = PHY_POLL_CABLE_TEST,
^~~
>> drivers/net/phy/bcm54140.c:846:4: error: 'struct phy_driver' has no member 
>> named 'cable_test_start'
  .cable_test_start = bcm_phy_cable_test_start_rdb,
   ^~~~
>> drivers/net/phy/bcm54140.c:846:23: error: initialization from incompatible 
>> pointer type [-Werror=incompatible-pointer-types]
  .cable_test_start = bcm_phy_cable_test_start_rdb,
  ^~~~
   drivers/net/phy/bcm54140.c:846:23: note: (near initialization for 
'bcm54140_drivers[0].set_loopback')
>> drivers/net/phy/bcm54140.c:847:4: error: 'struct phy_driver' has no member 
>> named 'cable_test_get_status'
  .cable_test_get_status = bcm_phy_cable_test_get_status_rdb,
   ^
>> drivers/net/phy/bcm54140.c:847:28: warning: excess elements in struct 
>> initializer
  .cable_test_get_status = bcm_phy_cable_test_get_status_rdb,
   ^
   drivers/net/phy/bcm54140.c:847:28: note: (near initialization for 
'bcm54140_drivers[0]')
   cc1: some warnings being treated as errors

vim +/PHY_POLL_CABLE_TEST +834 drivers/net/phy/bcm54140.c

   828  
   829  static struct phy_driver bcm54140_drivers[] = {
   830  {
   831  .phy_id = PHY_ID_BCM54140,
   832  .phy_id_mask= BCM54140_PHY_ID_MASK,
   833  .name   = "Broadcom BCM54140",
 > 834  .flags  = PHY_POLL_CABLE_TEST,
   835  .features   = PHY_GBIT_FEATURES,
   836  .config_init= bcm54140_config_init,
   837  .did_interrupt  = bcm54140_did_interrupt,
   838  .ack_interrupt  = bcm54140_ack_intr,
   839  .config_intr= bcm54140_config_intr,
   840  .probe  = bcm54140_probe,
   841  .suspend= genphy_suspend,
   842  .resume = genphy_resume,
   843  .soft_reset = genphy_soft_reset,
   844  .get_tunable= bcm54140_get_tunable,
   845  .set_tunable= bcm54140_set_tunable,
 > 846  .cable_test_start = bcm_phy_cable_test_start_rdb,
 > 847  .cable_test_get_status = 
 > bcm_phy_cable_test_get_status_rdb,
   848  },
   849  };
   850  module_phy_driver(bcm54140_drivers);
   851  

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


.config.gz
Description: application/gzip


Re: [PATCH v2 2/2] serial: lantiq: Make driver modular

2020-05-09 Thread kbuild test robot
Hi Rahul,

Thank you for the patch! Perhaps something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Rahul-Tanwar/serial-lantiq-Make-UART-s-use-as-console-selectable/20200509-174007
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git 
tty-testing
config: h8300-allyesconfig (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=h8300 

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

All warnings (new ones prefixed by >>):

>> WARNING: modpost: vmlinux.o(.data+0x172c14): Section mismatch in reference 
>> from the variable lqasc_driver to the variable .init.text:lqasc_probe
   The variable lqasc_driver references
   the variable __init lqasc_probe
   If the reference is valid then annotate the
   variable with or __refdata (see linux/init.h) or name the variable:
   

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


.config.gz
Description: application/gzip


Re: [PATCH net-next 3/4] net: phy: broadcom: add cable test support

2020-05-09 Thread kbuild test robot
Hi Michael,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Michael-Walle/net-phy-broadcom-cable-tester-support/20200510-063955
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
2c674bec76d35b75c7c730f863424387c9e9633a
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

All errors (new ones prefixed by >>):

   drivers/net/phy/bcm-phy-lib.c: In function 'bcm_phy_cable_test_report_trans':
>> drivers/net/phy/bcm-phy-lib.c:639:10: error: 
>> 'ETHTOOL_A_CABLE_RESULT_CODE_OK' undeclared (first use in this function); 
>> did you mean 'ETHTOOL_A_COALESCE_PKT_RATE_LOW'?
  return ETHTOOL_A_CABLE_RESULT_CODE_OK;
 ^~
 ETHTOOL_A_COALESCE_PKT_RATE_LOW
   drivers/net/phy/bcm-phy-lib.c:639:10: note: each undeclared identifier is 
reported only once for each function it appears in
>> drivers/net/phy/bcm-phy-lib.c:641:10: error: 
>> 'ETHTOOL_A_CABLE_RESULT_CODE_OPEN' undeclared (first use in this function); 
>> did you mean 'ETHTOOL_A_CABLE_RESULT_CODE_OK'?
  return ETHTOOL_A_CABLE_RESULT_CODE_OPEN;
 ^~~~
 ETHTOOL_A_CABLE_RESULT_CODE_OK
>> drivers/net/phy/bcm-phy-lib.c:643:10: error: 
>> 'ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT' undeclared (first use in this 
>> function); did you mean 'ETHTOOL_A_CABLE_RESULT_CODE_OPEN'?
  return ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT;
 ^~
 ETHTOOL_A_CABLE_RESULT_CODE_OPEN
>> drivers/net/phy/bcm-phy-lib.c:645:10: error: 
>> 'ETHTOOL_A_CABLE_RESULT_CODE_CROSS_SHORT' undeclared (first use in this 
>> function); did you mean 'ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT'?
  return ETHTOOL_A_CABLE_RESULT_CODE_CROSS_SHORT;
 ^~~
 ETHTOOL_A_CABLE_RESULT_CODE_SAME_SHORT
>> drivers/net/phy/bcm-phy-lib.c:649:10: error: 
>> 'ETHTOOL_A_CABLE_RESULT_CODE_UNSPEC' undeclared (first use in this 
>> function); did you mean 'ETHTOOL_A_CABLE_RESULT_CODE_OPEN'?
  return ETHTOOL_A_CABLE_RESULT_CODE_UNSPEC;
 ^~
 ETHTOOL_A_CABLE_RESULT_CODE_OPEN
   drivers/net/phy/bcm-phy-lib.c: In function 'bcm_phy_report_length':
>> drivers/net/phy/bcm-phy-lib.c:681:2: error: implicit declaration of function 
>> 'ethnl_cable_test_fault_length' [-Werror=implicit-function-declaration]
 ethnl_cable_test_fault_length(phydev, pair, val);
 ^
   drivers/net/phy/bcm-phy-lib.c: In function '_bcm_phy_cable_test_get_status':
>> drivers/net/phy/bcm-phy-lib.c:719:2: error: implicit declaration of function 
>> 'ethnl_cable_test_result'; did you mean 'bcm_phy_cable_test_start'? 
>> [-Werror=implicit-function-declaration]
 ethnl_cable_test_result(phydev, ETHTOOL_A_CABLE_PAIR_A,
 ^~~
 bcm_phy_cable_test_start
>> drivers/net/phy/bcm-phy-lib.c:719:34: error: 'ETHTOOL_A_CABLE_PAIR_A' 
>> undeclared (first use in this function); did you mean 'ETHTOOL_A_PAUSE_MAX'?
 ethnl_cable_test_result(phydev, ETHTOOL_A_CABLE_PAIR_A,
 ^~
 ETHTOOL_A_PAUSE_MAX
>> drivers/net/phy/bcm-phy-lib.c:721:34: error: 'ETHTOOL_A_CABLE_PAIR_B' 
>> undeclared (first use in this function); did you mean 
>> 'ETHTOOL_A_CABLE_PAIR_A'?
 ethnl_cable_test_result(phydev, ETHTOOL_A_CABLE_PAIR_B,
 ^~
 ETHTOOL_A_CABLE_PAIR_A
>> drivers/net/phy/bcm-phy-lib.c:723:34: error: 'ETHTOOL_A_CABLE_PAIR_C' 
>> undeclared (first use in this function); did you mean 
>> 'ETHTOOL_A_CABLE_PAIR_B'?
 ethnl_cable_test_result(phydev, ETHTOOL_A_CABLE_PAIR_C,
 ^~
 ETHTOOL_A_CABLE_PAIR_B
>> drivers/net/phy/bcm-phy-lib.c:725:34: error: 'ETHTOOL_A_CABLE_PAIR_D' 
>> undeclared (first use in this function); did you mean 
>> 'ETHTOOL_A_CABLE_PAIR_C'?
 ethnl_cable_test_result(phydev, ETHTOOL_A_CABLE

[PATCH] clk / soc: mediatek: fix ptr_ret.cocci warnings

2020-05-09 Thread kbuild test robot
From: kbuild test robot 

drivers/soc/mediatek/mtk-mmsys.c:28:1-3: WARNING: PTR_ERR_OR_ZERO can be used


 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: scripts/coccinelle/api/ptr_ret.cocci

Fixes: 13032709e232 ("clk / soc: mediatek: Move mt8173 MMSYS to platform 
driver")
CC: Matthias Brugger 
Signed-off-by: kbuild test robot 
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   30e2206e11ce27ae910cc0dab21472429e400a87
commit: 13032709e2328553970f0002df5edce6aac69425 [1266/7905] clk / soc: 
mediatek: Move mt8173 MMSYS to platform driver

 mtk-mmsys.c |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/drivers/soc/mediatek/mtk-mmsys.c
+++ b/drivers/soc/mediatek/mtk-mmsys.c
@@ -25,10 +25,7 @@ static int mtk_mmsys_probe(struct platfo
 
clks = platform_device_register_data(>dev, data->clk_driver,
 PLATFORM_DEVID_AUTO, NULL, 0);
-   if (IS_ERR(clks))
-   return PTR_ERR(clks);
-
-   return 0;
+   return PTR_ERR_OR_ZERO(clks);
 }
 
 static const struct of_device_id of_match_mtk_mmsys[] = {


Re: [PATCH v11 12/18] x86/fsgsbase/64: move save_fsgs to header file

2020-05-09 Thread kbuild test robot
Hi Sasha,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Sasha-Levin/Enable-FSGSBASE-instructions/20200510-032805
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
2ce0d7f9766f0e49bb54f149c77bae89464932fb
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

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

   In file included from arch/x86/include/uapi/asm/ptrace.h:6:0,
from arch/x86/include/asm/ptrace.h:7,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:13,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:38,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from arch/x86/kernel/process.c:6:
>> arch/x86/include/uapi/asm/ptrace-abi.h:16:12: error: expected identifier 
>> before numeric constant
#define FS 9
   ^
>> arch/x86/kernel/process.h:42:2: note: in expansion of macro 'FS'
 FS,
 ^~
   In file included from arch/x86/kernel/process.c:46:0:
   arch/x86/kernel/process.h: In function 'save_base_legacy':
>> arch/x86/kernel/process.h:85:18: error: 'struct thread_struct' has no member 
>> named 'fsbase'
   prev_p->thread.fsbase = 0;
 ^
>> arch/x86/kernel/process.h:87:18: error: 'struct thread_struct' has no member 
>> named 'gsbase'
   prev_p->thread.gsbase = 0;
 ^
   In file included from arch/x86/include/asm/ptrace.h:5:0,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:13,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:38,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/mm.h:10,
from arch/x86/kernel/process.c:6:
   arch/x86/kernel/process.h: In function 'save_fsgs':
>> arch/x86/kernel/process.h:93:30: error: 'struct thread_struct' has no member 
>> named 'fsindex'
 savesegment(fs, task->thread.fsindex);
 ^
   arch/x86/include/asm/segment.h:368:32: note: in definition of macro 
'savesegment'
 asm("mov %%" #seg ",%0":"=r" (value) : : "memory")
   ^
>> arch/x86/kernel/process.h:94:30: error: 'struct thread_struct' has no member 
>> named 'gsindex'
 savesegment(gs, task->thread.gsindex);
 ^
   arch/x86/include/asm/segment.h:368:32: note: in definition of macro 
'savesegment'
 asm("mov %%" #seg ",%0":"=r" (value) : : "memory")
   ^
   In file included from arch/x86/kernel/process.c:46:0:
   arch/x86/kernel/process.h:101:15: error: 'struct thread_struct' has no 
member named 'fsbase'
  task->thread.fsbase = rdfsbase();
  ^
>> arch/x86/kernel/process.h:101:25: error: implicit declaration of function 
>> 'rdfsbase'; did you mean 'rb_erase'? [-Werror=implicit-function-declaration]
  task->thread.fsbase = rdfsbase();
^~~~
rb_erase
   arch/x86/kernel/process.h:102:15: error: 'struct thread_struct' has no 
member named 'gsbase'
  task->thread.gsbase = x86_gsbase_read_cpu_inactive();
  ^
>> arch/x86/kernel/process.h:102:25: error: implicit declaration of function 
>> 'x86_gsbase_read_cpu_inactive' [-Werror=implicit-function-declaration]
  task->thread.gsbase = x86_gsbase_read_cpu_

[rcu:rcu/next] BUILD SUCCESS 373b78add5ef0c6fd1154304208252dbf0309114

2020-05-09 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  rcu/next
branch HEAD: 373b78add5ef0c6fd1154304208252dbf0309114  fs/btrfs: Add 
cond_resched() for try_release_extent_mapping() stalls

i386-tinyconfig vmlinux size:

==
 TOTAL  TEXT  arch/x86/events/zhaoxin/built-in.*  
try_invoke_on_locked_down_task()

==
+1 0
353159365e72 rcu: Add KCSAN stubs 
 0 0
4f58820fd710 srcu: Add KCSAN stubs
 0 0
2f0846956355 rcu: Mark rcu_state.ncpus to detect concurrent writes
 0 0
314eeb43e5f2 rcu: Add *_ONCE() and data_race() to rcu_node ->exp_tasks pl 
 0 0
065a6db12a80 rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks 
 0 0
b68c6146512d srcu: Add data_race() to ->srcu_lock_count and ->srcu_unlock 
 0 0
5822b8126ff0 rcu: Add WRITE_ONCE() to rcu_node ->boost_tasks  
 0 0
47fbb074536e rcu: Use data_race() for RCU CPU stall-warning prints
 0 0
53965dbe5396 drm: Make drm_dp_mst_dsc_aux_for_port() safe for old compile 
 0 0
1fca4d12f463 rcu: Expedite first two FQS scans under callback-overload co 
 0 0
fcbcc0e70050 rcu: Fix the (t=0 jiffies) false positive
 0 0
ddc465936643 Revert "rculist: Describe variadic macro argument in a Sphin 
 0 0
c28d5c09d09f rcu: Get rid of some doc warnings in update.c
 0 0
62ae19511f1e rcu: Mark rcu_state.gp_seq to detect more concurrent writes  
 0 0
a66dbda7893f rcu: Replace assigned pointer ret value by corresponding boo 
 0 0
da44cd6c8e88 rcu: Replace 1 by true   
 0 0
29ffebc5fcc0 rcu: Convert ULONG_CMP_GE() to time_after() for jiffy compar 
 0 0
7b2413111a63 rcu: Convert rcu_initiate_boost() ULONG_CMP_GE() to time_aft 
 0 0
e2f3ccfa6200 rcu: Convert rcu_nohz_full_cpu() ULONG_CMP_LT() to time_befo 
   +83   +84+136   
+83  f736e0f1a55a Merge branches 'fixes.2020.04.27a', 'kfree_rcu.2020.04.27a', 
  -224  -224   0
 0  2d9d829af55c Merge branch 'kcsan-dev.2020.04.13c' into HEAD   
 0 0   0
 0  99a5d03ba959 Merge branch 'lkmm-dev.2020.04.15b' into HEAD
   +38   +38   0
 0  3123dcd3ef7f fork: Annotate a data race in vm_area_dup()  
 0 0   0
 0  2ba74f25e0de x86/mm/pat: Mark an intentional data race
 0 0   0
 0  cd59625dedde rculist: Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init 
 0 0   0
 0  ca6e49239a17 locktorture: Use true and false to assign to bool variables  
 0 0   0
 0  8c8786cd0247 srcu: Fix 

Re: [PATCH net-next 4/4] net: phy: bcm54140: add cable diagnostics support

2020-05-09 Thread kbuild test robot
Hi Michael,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Michael-Walle/net-phy-broadcom-cable-tester-support/20200510-063955
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
2c674bec76d35b75c7c730f863424387c9e9633a
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=alpha 

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

All errors (new ones prefixed by >>):

   drivers/net/phy/bcm54140.c:834:13: error: 'PHY_POLL_CABLE_TEST' undeclared 
here (not in a function)
 834 |   .flags  = PHY_POLL_CABLE_TEST,
 | ^~~
   drivers/net/phy/bcm54140.c:846:4: error: 'struct phy_driver' has no member 
named 'cable_test_start'
 846 |   .cable_test_start = bcm_phy_cable_test_start_rdb,
 |^~~~
>> drivers/net/phy/bcm54140.c:846:23: error: initialization of 'int (*)(struct 
>> phy_device *, bool)' {aka 'int (*)(struct phy_device *, _Bool)'} from 
>> incompatible pointer type 'int (*)(struct phy_device *)' 
>> [-Werror=incompatible-pointer-types]
 846 |   .cable_test_start = bcm_phy_cable_test_start_rdb,
 |   ^~~~
   drivers/net/phy/bcm54140.c:846:23: note: (near initialization for 
'bcm54140_drivers[0].set_loopback')
   drivers/net/phy/bcm54140.c:847:4: error: 'struct phy_driver' has no member 
named 'cable_test_get_status'
 847 |   .cable_test_get_status = bcm_phy_cable_test_get_status_rdb,
 |^
   drivers/net/phy/bcm54140.c:847:28: warning: excess elements in struct 
initializer
 847 |   .cable_test_get_status = bcm_phy_cable_test_get_status_rdb,
 |^
   drivers/net/phy/bcm54140.c:847:28: note: (near initialization for 
'bcm54140_drivers[0]')
   cc1: some warnings being treated as errors

vim +846 drivers/net/phy/bcm54140.c

   828  
   829  static struct phy_driver bcm54140_drivers[] = {
   830  {
   831  .phy_id = PHY_ID_BCM54140,
   832  .phy_id_mask= BCM54140_PHY_ID_MASK,
   833  .name   = "Broadcom BCM54140",
   834  .flags  = PHY_POLL_CABLE_TEST,
   835  .features   = PHY_GBIT_FEATURES,
   836  .config_init= bcm54140_config_init,
   837  .did_interrupt  = bcm54140_did_interrupt,
   838  .ack_interrupt  = bcm54140_ack_intr,
   839  .config_intr= bcm54140_config_intr,
   840  .probe  = bcm54140_probe,
   841  .suspend= genphy_suspend,
   842  .resume = genphy_resume,
   843  .soft_reset = genphy_soft_reset,
   844  .get_tunable= bcm54140_get_tunable,
   845  .set_tunable= bcm54140_set_tunable,
 > 846  .cable_test_start = bcm_phy_cable_test_start_rdb,
   847  .cable_test_get_status = 
bcm_phy_cable_test_get_status_rdb,
   848  },
   849  };
   850  module_phy_driver(bcm54140_drivers);
   851  

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


.config.gz
Description: application/gzip


drivers/gpu/drm/rcar-du/rcar_du_crtc.c:737: undefined reference to `rcar_lvds_clk_enable'

2020-05-09 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   d5eeab8d7e269e8cfc53b915bccd7bd30485bcbf
commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied 
by y to become m
date:   8 weeks ago
config: arm64-randconfig-r024-20200509 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout def2fbffe62c00c330c7f41584a356001179c59c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=arm64 

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

All errors (new ones prefixed by >>):

   aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_crtc.o: in function 
`rcar_du_crtc_atomic_enable':
>> drivers/gpu/drm/rcar-du/rcar_du_crtc.c:737: undefined reference to 
>> `rcar_lvds_clk_enable'
   drivers/gpu/drm/rcar-du/rcar_du_crtc.c:737:(.text+0x1408): relocation 
truncated to fit: R_AARCH64_CALL26 against undefined symbol 
`rcar_lvds_clk_enable'
   aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_crtc.o: in function 
`rcar_du_crtc_atomic_disable':
>> drivers/gpu/drm/rcar-du/rcar_du_crtc.c:771: undefined reference to 
>> `rcar_lvds_clk_disable'
   drivers/gpu/drm/rcar-du/rcar_du_crtc.c:771:(.text+0x19bc): relocation 
truncated to fit: R_AARCH64_CALL26 against undefined symbol 
`rcar_lvds_clk_disable'
   aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_drv.o: in function 
`rcar_du_init':
>> drivers/gpu/drm/rcar-du/rcar_du_drv.c:613: undefined reference to 
>> `rcar_du_of_init'
   drivers/gpu/drm/rcar-du/rcar_du_drv.c:613:(.init.text+0x18): relocation 
truncated to fit: R_AARCH64_CALL26 against undefined symbol `rcar_du_of_init'
   aarch64-linux-ld: drivers/gpu/drm/rcar-du/rcar_du_encoder.o: in function 
`rcar_du_encoder_init':
>> drivers/gpu/drm/rcar-du/rcar_du_encoder.c:107: undefined reference to 
>> `rcar_lvds_dual_link'
   drivers/gpu/drm/rcar-du/rcar_du_encoder.c:107:(.text+0x1e8): relocation 
truncated to fit: R_AARCH64_CALL26 against undefined symbol 
`rcar_lvds_dual_link'

vim +737 drivers/gpu/drm/rcar-du/rcar_du_crtc.c

b8a43032a7b8d7 Laurent Pinchart 2018-11-24  711  
0b20a0f8c3cb6f Laurent Pinchart 2017-06-30  712  static void 
rcar_du_crtc_atomic_enable(struct drm_crtc *crtc,
0b20a0f8c3cb6f Laurent Pinchart 2017-06-30  713 
   struct drm_crtc_state *old_state)
4bf8e1962f91ee Laurent Pinchart 2013-06-19  714  {
4bf8e1962f91ee Laurent Pinchart 2013-06-19  715 struct rcar_du_crtc 
*rcrtc = to_rcar_crtc(crtc);
a6cc417d3eee4a Laurent Pinchart 2019-01-17  716 struct 
rcar_du_crtc_state *rstate = to_rcar_crtc_state(crtc->state);
b764f2f66ed48c Kieran Bingham   2019-03-15  717 struct rcar_du_device 
*rcdu = rcrtc->dev;
4bf8e1962f91ee Laurent Pinchart 2013-06-19  718  
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  719 if (rcrtc->cmm)
78b6bb1d24dbf0 Jacopo Mondi 2019-10-17  720 
rcar_cmm_enable(rcrtc->cmm);
f66ee304ae8990 Laurent Pinchart 2013-06-14  721 rcar_du_crtc_get(rcrtc);
a6cc417d3eee4a Laurent Pinchart 2019-01-17  722  
a6cc417d3eee4a Laurent Pinchart 2019-01-17  723 /*
a6cc417d3eee4a Laurent Pinchart 2019-01-17  724  * On D3/E3 the dot 
clock is provided by the LVDS encoder attached to
a6cc417d3eee4a Laurent Pinchart 2019-01-17  725  * the DU channel. We 
need to enable its clock output explicitly if
a6cc417d3eee4a Laurent Pinchart 2019-01-17  726  * the LVDS output is 
disabled.
a6cc417d3eee4a Laurent Pinchart 2019-01-17  727  */
a6cc417d3eee4a Laurent Pinchart 2019-01-17  728 if 
(rcdu->info->lvds_clk_mask & BIT(rcrtc->index) &&
a6cc417d3eee4a Laurent Pinchart 2019-01-17  729 rstate->outputs == 
BIT(RCAR_DU_OUTPUT_DPAD0)) {
a6cc417d3eee4a Laurent Pinchart 2019-01-17  730 struct 
rcar_du_encoder *encoder =
a6cc417d3eee4a Laurent Pinchart 2019-01-17  731 
rcdu->encoders[RCAR_DU_OUTPUT_LVDS0 + rcrtc->index];
a6cc417d3eee4a Laurent Pinchart 2019-01-17  732 const struct 
drm_display_mode *mode =
a6cc417d3eee4a Laurent Pinchart 2019-01-17  733 
>state->adjusted_mode;
35a61fe9218a9d Boris Brezillon  2019-12-03  734 struct 
drm_bridge *bridge;
a6cc417d3eee4a Laurent Pinchart 2019-01-17  735  
35a61fe9218a9d Boris Brezillon  2019-12-03  736 bridge = 
drm_bridge_chain_get_first_bridge(>base);
35a61fe9218a9d Boris Brezillon  2019-12-03 @737 
rcar_lvds_clk_enable(bridge, mode->clock * 1000);
a6cc417d3eee4a Laurent Pinchart 2019-01-17  738 }
a6cc417d3eee4a Laurent 

Re: [PATCH] ASoC: rsnd: add interrupt support for SSI BUSIF buffer

2020-05-09 Thread kbuild test robot
Hi Yongbo,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Yongbo-Zhang/ASoC-rsnd-add-interrupt-support-for-SSI-BUSIF-buffer/20200509-035713
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 
for-next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross 
ARCH=xtensa 

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

All errors (new ones prefixed by >>):

   sound/soc/sh/rcar/ssi.c: In function 'rsnd_ssi_quit':
>> sound/soc/sh/rcar/ssi.c:596:12: error: invalid storage class for function 
>> 'rsnd_ssi_hw_params'
 596 | static int rsnd_ssi_hw_params(struct rsnd_mod *mod,
 |^~
   sound/soc/sh/rcar/ssi.c:596:1: warning: ISO C90 forbids mixed declarations 
and code [-Wdeclaration-after-statement]
 596 | static int rsnd_ssi_hw_params(struct rsnd_mod *mod,
 | ^~
>> sound/soc/sh/rcar/ssi.c:615:12: error: invalid storage class for function 
>> 'rsnd_ssi_start'
 615 | static int rsnd_ssi_start(struct rsnd_mod *mod,
 |^~
   sound/soc/sh/rcar/ssi.c:648:12: error: invalid storage class for function 
'rsnd_ssi_stop'
 648 | static int rsnd_ssi_stop(struct rsnd_mod *mod,
 |^
>> sound/soc/sh/rcar/ssi.c:692:12: error: invalid storage class for function 
>> 'rsnd_ssi_irq'
 692 | static int rsnd_ssi_irq(struct rsnd_mod *mod,
 |^~~~
>> sound/soc/sh/rcar/ssi.c:734:13: error: invalid storage class for function 
>> 'rsnd_ssi_pio_interrupt'
 734 | static bool rsnd_ssi_pio_interrupt(struct rsnd_mod *mod,
 | ^~
   sound/soc/sh/rcar/ssi.c:736:13: error: invalid storage class for function 
'__rsnd_ssi_interrupt'
 736 | static void __rsnd_ssi_interrupt(struct rsnd_mod *mod,
 | ^~~~
   sound/soc/sh/rcar/ssi.c: In function '__rsnd_ssi_interrupt':
   sound/soc/sh/rcar/ssi.c:760:13: error: implicit declaration of function 
'rsnd_ssi_pio_interrupt'; did you mean 'rsnd_mod_interrupt'? 
[-Werror=implicit-function-declaration]
 760 |   elapsed = rsnd_ssi_pio_interrupt(mod, io);
 | ^~
 | rsnd_mod_interrupt
   sound/soc/sh/rcar/ssi.c:798:14: error: too few arguments to function 
'rsnd_mod_write'
 798 | status = rsnd_mod_write(mod,
 |  ^~
   In file included from sound/soc/sh/rcar/ssi.c:21:
   sound/soc/sh/rcar/rsnd.h:260:6: note: declared here
 260 | void rsnd_mod_write(struct rsnd_mod *mod, enum rsnd_reg reg, u32 
data);
 |  ^~
   sound/soc/sh/rcar/ssi.c: In function 'rsnd_ssi_quit':
   sound/soc/sh/rcar/ssi.c:829:20: error: invalid storage class for function 
'rsnd_ssi_interrupt'
 829 | static irqreturn_t rsnd_ssi_interrupt(int irq, void *data)
 |^~
   sound/soc/sh/rcar/ssi.c:838:13: error: invalid storage class for function 
'rsnd_ssi_get_status'
 838 | static u32 *rsnd_ssi_get_status(struct rsnd_mod *mod,
 | ^~~
   sound/soc/sh/rcar/ssi.c:876:13: error: invalid storage class for function 
'rsnd_ssi_parent_attach'
 876 | static void rsnd_ssi_parent_attach(struct rsnd_mod *mod,
 | ^~
>> sound/soc/sh/rcar/ssi.c:906:12: error: invalid storage class for function 
>> 'rsnd_ssi_pcm_new'
 906 | static int rsnd_ssi_pcm_new(struct rsnd_mod *mod,
 |^~~~
   sound/soc/sh/rcar/ssi.c:920:12: error: invalid storage class for function 
'rsnd_ssi_common_probe'
 920 | static int rsnd_ssi_common_probe(struct rsnd_mod *mod,
 |^
   sound/soc/sh/rcar/ssi.c:963:12: error: invalid storage class for function 
'rsnd_ssi_common_remove'
 963 | static int rsnd_ssi_common_remove(struct rsnd_mod *mod,
 |^~
   sound/soc/sh/rcar/ssi.c:987:13: error: invalid storage class for function 
'rsnd_ssi_pio_interrupt'
 987 | static bool rsnd_ssi_pio_interrupt(struct rsnd_mod *mod,
 | ^~
>> so

net/mptcp/protocol.c:538:6: warning: 'dfrag_collapsed' may be used uninitialized in this function

2020-05-08 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   d5eeab8d7e269e8cfc53b915bccd7bd30485bcbf
commit: 3b1d6210a9577369103330b0d802b0bf74b65e7f mptcp: implement and use 
MPTCP-level retransmission
date:   6 weeks ago
config: x86_64-randconfig-a003-20200509 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
git checkout 3b1d6210a9577369103330b0d802b0bf74b65e7f
# save the attached .config to linux build tree
make ARCH=x86_64 

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

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 >>):

   net/mptcp/protocol.c: In function 'mptcp_sendmsg_frag':
>> net/mptcp/protocol.c:538:6: warning: 'dfrag_collapsed' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]
  if (!dfrag_collapsed) {
 ^

vim +/dfrag_collapsed +538 net/mptcp/protocol.c

18b683bff89d46ac Paolo Abeni   2020-03-27  422  
6d0060f600adfdda Mat Martineau 2020-01-21  423  static int 
mptcp_sendmsg_frag(struct sock *sk, struct sock *ssk,
3f8e0aae17963634 Paolo Abeni   2020-03-27  424
struct msghdr *msg, struct mptcp_data_frag *dfrag,
3f8e0aae17963634 Paolo Abeni   2020-03-27  425
long *timeo, int *pmss_now,
57040755a3e43a1e Paolo Abeni   2020-01-21  426
int *ps_goal)
6d0060f600adfdda Mat Martineau 2020-01-21  427  {
18b683bff89d46ac Paolo Abeni   2020-03-27  428  int mss_now, 
avail_size, size_goal, offset, ret, frag_truesize = 0;
18b683bff89d46ac Paolo Abeni   2020-03-27  429  bool dfrag_collapsed, 
can_collapse = false;
6d0060f600adfdda Mat Martineau 2020-01-21  430  struct mptcp_sock *msk 
= mptcp_sk(sk);
6d0060f600adfdda Mat Martineau 2020-01-21  431  struct mptcp_ext *mpext 
= NULL;
3f8e0aae17963634 Paolo Abeni   2020-03-27  432  bool retransmission = 
!!dfrag;
57040755a3e43a1e Paolo Abeni   2020-01-21  433  struct sk_buff *skb, 
*tail;
6d0060f600adfdda Mat Martineau 2020-01-21  434  struct page_frag *pfrag;
3f8e0aae17963634 Paolo Abeni   2020-03-27  435  struct page *page;
3f8e0aae17963634 Paolo Abeni   2020-03-27  436  u64 *write_seq;
6d0060f600adfdda Mat Martineau 2020-01-21  437  size_t psize;
6d0060f600adfdda Mat Martineau 2020-01-21  438  
6d0060f600adfdda Mat Martineau 2020-01-21  439  /* use the mptcp page 
cache so that we can easily move the data
6d0060f600adfdda Mat Martineau 2020-01-21  440   * from one substream 
to another, but do per subflow memory accounting
3f8e0aae17963634 Paolo Abeni   2020-03-27  441   * Note: pfrag is used 
only !retransmission, but the compiler if
3f8e0aae17963634 Paolo Abeni   2020-03-27  442   * fooled into a 
warning if we don't init here
6d0060f600adfdda Mat Martineau 2020-01-21  443   */
6d0060f600adfdda Mat Martineau 2020-01-21  444  pfrag = 
sk_page_frag(sk);
3f8e0aae17963634 Paolo Abeni   2020-03-27  445  while ((!retransmission 
&& !mptcp_page_frag_refill(ssk, pfrag)) ||
6d0060f600adfdda Mat Martineau 2020-01-21  446 
!mptcp_ext_cache_refill(msk)) {
6d0060f600adfdda Mat Martineau 2020-01-21  447  ret = 
sk_stream_wait_memory(ssk, timeo);
6d0060f600adfdda Mat Martineau 2020-01-21  448  if (ret)
6d0060f600adfdda Mat Martineau 2020-01-21  449  return 
ret;
18b683bff89d46ac Paolo Abeni   2020-03-27  450  
18b683bff89d46ac Paolo Abeni   2020-03-27  451  /* if 
sk_stream_wait_memory() sleeps snd_una can change
18b683bff89d46ac Paolo Abeni   2020-03-27  452   * 
significantly, refresh the rtx queue
18b683bff89d46ac Paolo Abeni   2020-03-27  453   */
18b683bff89d46ac Paolo Abeni   2020-03-27  454  
mptcp_clean_una(sk);
18b683bff89d46ac Paolo Abeni   2020-03-27  455  
8ab183deb26a3b79 Paolo Abeni   2020-01-21  456  if 
(unlikely(__mptcp_needs_tcp_fallback(msk)))
8ab183deb26a3b79 Paolo Abeni   2020-01-21  457  return 
0;
6d0060f600adfdda Mat Martineau 2020-01-21  458  }
3f8e0aae17963634 Paolo Abeni   2020-03-27  459  if (!retransmission) {
3f8e0aae17963634 Paolo Abeni   2020-03-27  460  write_seq = 
>write_seq;
3f8e0aae17963634 Paolo Abeni   2020-03-27  461  page = 
pfrag->page;
3f8e0aae17963634 Paolo Abeni   2020-03-27  462  } else {
3f8e0aae17963634 Paolo Abeni   2020-03-27  463  write_seq = 
>data_seq;
3f8e0aae17963634 Paolo Abeni   2020-03-27  464  page = 
dfrag->page;
3f8e0aae17963634 Paolo Abeni   2020-03-27  465  }
6d0060f600adfdda Mat Martin

Re: [PATCH] ASoC: rsnd: add interrupt support for SSI BUSIF buffer

2020-05-08 Thread kbuild test robot
Hi Yongbo,

Thank you for the patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Yongbo-Zhang/ASoC-rsnd-add-interrupt-support-for-SSI-BUSIF-buffer/20200509-035713
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 
for-next
config: arm-defconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 
6d2a66b10d458e34c852be46028092d2b46edc14)
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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

All errors (new ones prefixed by >>):

>> sound/soc/sh/rcar/ssi.c:600:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:618:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:651:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:696:1: error: function definition is not allowed here
   {
   ^
>> sound/soc/sh/rcar/ssi.c:734:1: error: function declared in block scope 
>> cannot have 'static' storage class
   static bool rsnd_ssi_pio_interrupt(struct rsnd_mod *mod,
   ^
   sound/soc/sh/rcar/ssi.c:738:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:830:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:841:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:878:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:909:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:923:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:966:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:989:1: error: function definition is not allowed here
   {
   ^
   sound/soc/sh/rcar/ssi.c:1033:1: error: function definition is not allowed 
here
   {
   ^
   sound/soc/sh/rcar/ssi.c:1051:1: error: function definition is not allowed 
here
   {
   ^
   sound/soc/sh/rcar/ssi.c:1063:1: error: function definition is not allowed 
here
   {
   ^
>> sound/soc/sh/rcar/ssi.c:1069:12: error: use of undeclared identifier 
>> 'rsnd_ssi_common_probe'
   .probe  = rsnd_ssi_common_probe,
 ^
>> sound/soc/sh/rcar/ssi.c:1070:13: error: use of undeclared identifier 
>> 'rsnd_ssi_common_remove'
   .remove = rsnd_ssi_common_remove,
 ^
>> sound/soc/sh/rcar/ssi.c:1071:11: error: use of undeclared identifier 
>> 'rsnd_ssi_pio_init'
   .init   = rsnd_ssi_pio_init,
 ^
   fatal error: too many errors emitted, stopping now [-ferror-limit=]
   20 errors generated.

vim +600 sound/soc/sh/rcar/ssi.c

ae5c322303fff5 Kuninori Morimoto  2013-07-21  595  
919567d914b3c1 Kuninori Morimoto  2015-04-10  596  static int 
rsnd_ssi_hw_params(struct rsnd_mod *mod,
2c0fac19de2cd7 Kuninori Morimoto  2015-06-15  597 
struct rsnd_dai_stream *io,
919567d914b3c1 Kuninori Morimoto  2015-04-10  598 
struct snd_pcm_substream *substream,
919567d914b3c1 Kuninori Morimoto  2015-04-10  599 
struct snd_pcm_hw_params *params)
919567d914b3c1 Kuninori Morimoto  2015-04-10 @600  {
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  601   struct rsnd_dai *rdai = 
rsnd_io_to_rdai(io);
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  602   unsigned int fmt_width 
= snd_pcm_format_width(params_format(params));
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  603  
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  604   if (fmt_width > 
rdai->chan_width) {
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  605   struct 
rsnd_priv *priv = rsnd_io_to_priv(io);
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  606   struct device 
*dev = rsnd_priv_to_dev(priv);
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  607  
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  608   dev_err(dev, 
"invalid combination of slot-width and format-data-width\n");
fb2815f44a9eb3 Dragos Tarcatu 2018-09-03  609

Re: [PATCH v2 9/9] vfio/fsl-mc: Add read/write support for fsl-mc devices

2020-05-08 Thread kbuild test robot
Hi Diana,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Diana-Craciun/vfio-fsl-mc-VFIO-support-for-FSL-MC-devices/20200509-034845
base:   https://github.com/awilliam/linux-vfio.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

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

   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_release':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:170:9: error: implicit declaration of 
function 'dprc_reset_container'; did you mean 'resource_contains'? 
[-Werror=implicit-function-declaration]
  ret = dprc_reset_container(mc_cont->mc_io, 0,
^~~~
resource_contains
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:173:6: error: 
'DPRC_RESET_OPTION_NON_RECURSIVE' undeclared (first use in this function)
 DPRC_RESET_OPTION_NON_RECURSIVE);
 ^~~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:173:6: note: each undeclared identifier is 
reported only once for each function it appears in
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:177:3: error: implicit declaration of 
function 'fsl_mc_cleanup_irq_pool'; did you mean 'fsl_mc_free_irqs'? 
[-Werror=implicit-function-declaration]
  fsl_mc_cleanup_irq_pool(mc_cont);
  ^~~
  fsl_mc_free_irqs
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_read':
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:348:13: error: implicit declaration of 
>> function 'readq'; did you mean 'readl'? 
>> [-Werror=implicit-function-declaration]
  data[i] = readq(region->ioaddr + i * sizeof(uint64_t));
^
readl
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_send_command':
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:367:3: error: implicit declaration of 
>> function 'writeq_relaxed'; did you mean 'writeb_relaxed'? 
>> [-Werror=implicit-function-declaration]
  writeq_relaxed(cmd_data[i], ioaddr + i * sizeof(uint64_t));
  ^~
  writeb_relaxed
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:370:2: error: implicit declaration of 
>> function 'writeq'; did you mean 'writel'? 
>> [-Werror=implicit-function-declaration]
 writeq(cmd_data[0], ioaddr);
 ^~
 writel
   In file included from include/linux/byteorder/little_endian.h:5:0,
from arch/x86/include/uapi/asm/byteorder.h:5,
from include/asm-generic/bitops/le.h:6,
from arch/x86/include/asm/bitops.h:395,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from arch/x86/include/asm/percpu.h:45,
from arch/x86/include/asm/current.h:6,
from include/linux/sched.h:12,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from drivers/vfio/fsl-mc/vfio_fsl_mc.c:7:
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:380:24: error: implicit declaration of 
>> function 'readq_relaxed'; did you mean 'readw_relaxed'? 
>> [-Werror=implicit-function-declaration]
  header = cpu_to_le64(readq_relaxed(ioaddr));
   ^
   include/uapi/linux/byteorder/little_endian.h:31:51: note: in definition of 
macro '__cpu_to_le64'
#define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
  ^
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:380:12: note: in expansion of macro 
>> 'cpu_to_le64'
  header = cpu_to_le64(readq_relaxed(ioaddr));
   ^~~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_bus_notifier':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:517:9: error: 'struct fsl_mc_device' has 
no member named 'driver_override'
  mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s",
^~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_init_device':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:555:8: error: implicit declaration of 
function 'dprc_setup'; did you mean 'x2apic_setup'? 
[-Werror=implicit-function-declaration]
 ret = dprc_setup(mc_dev);
   ^~
   x2apic_setup
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:562:8: error: implicit declaration of 

Re: [PATCH v2 8/9] vfio/fsl-mc: trigger an interrupt via eventfd

2020-05-08 Thread kbuild test robot
Hi Diana,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Diana-Craciun/vfio-fsl-mc-VFIO-support-for-FSL-MC-devices/20200509-034845
base:   https://github.com/awilliam/linux-vfio.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

All errors (new ones prefixed by >>):

   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_release':
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:164:9: error: implicit declaration of 
>> function 'dprc_reset_container'; did you mean 'resource_contains'? 
>> [-Werror=implicit-function-declaration]
  ret = dprc_reset_container(mc_cont->mc_io, 0,
^~~~
resource_contains
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:167:6: error: 
>> 'DPRC_RESET_OPTION_NON_RECURSIVE' undeclared (first use in this function)
 DPRC_RESET_OPTION_NON_RECURSIVE);
 ^~~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:167:6: note: each undeclared identifier is 
reported only once for each function it appears in
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:171:3: error: implicit declaration of 
>> function 'fsl_mc_cleanup_irq_pool'; did you mean 'fsl_mc_free_irqs'? 
>> [-Werror=implicit-function-declaration]
  fsl_mc_cleanup_irq_pool(mc_cont);
  ^~~
  fsl_mc_free_irqs
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_bus_notifier':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:399:9: error: 'struct fsl_mc_device' has 
no member named 'driver_override'
  mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s",
^~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_init_device':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:437:8: error: implicit declaration of 
function 'dprc_setup'; did you mean 'x2apic_setup'? 
[-Werror=implicit-function-declaration]
 ret = dprc_setup(mc_dev);
   ^~
   x2apic_setup
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:444:8: error: implicit declaration of 
function 'dprc_scan_container'; did you mean 'init_section_contains'? 
[-Werror=implicit-function-declaration]
 ret = dprc_scan_container(mc_dev, false);
   ^~~
   init_section_contains
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:448:3: error: implicit declaration of 
function 'dprc_cleanup'; did you mean 'pud_clear'? 
[-Werror=implicit-function-declaration]
  dprc_cleanup(mc_dev);
  ^~~~
  pud_clear
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_device_remove':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:507:14: error: 'struct fsl_mc_device' has 
no member named 'driver_override'
 kfree(mc_dev->driver_override);
 ^~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:508:8: error: 'struct fsl_mc_device' has 
no member named 'driver_override'
 mc_dev->driver_override = NULL;
   ^~
   cc1: some warnings being treated as errors
--
   drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c: In function 
'vfio_fsl_mc_set_irq_trigger':
>> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:137:8: error: implicit declaration of 
>> function 'fsl_mc_populate_irq_pool'; did you mean 'fsl_mc_allocate_irqs'? 
>> [-Werror=implicit-function-declaration]
 ret = fsl_mc_populate_irq_pool(mc_cont,
   ^~~~
   fsl_mc_allocate_irqs
>> drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:138:4: error: 
>> 'FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS' undeclared (first use in this function); 
>> did you mean 'FSL_MC_NUM_POOL_TYPES'?
   FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS);
   ^~
   FSL_MC_NUM_POOL_TYPES
   drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c:138:4: note: each undeclared 
identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +164 drivers/vfio/fsl-mc/vfio_fsl_mc.c

   148  
   149  static void vfio_fsl_mc_release(void *device_data)
   150  {
   151  struct vfio_fsl_mc_device *vdev = device_data;
   152  int ret;
   153  
   154  mutex_lock(>reflck->lock);
   155  
   156  if (!(--vdev->refcnt)) {
   157  struct fsl_mc_device *mc_dev = vdev->mc_dev;
   158  struct device *cont_dev = fsl_mc_cont_dev(_dev->dev);
   159  struct fsl_mc_dev

[rcu:rcu/next] BUILD SUCCESS 825613e73129f5806f10f67674af21ad0218a5f3

2020-05-08 Thread kbuild test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git  rcu/next
branch HEAD: 825613e73129f5806f10f67674af21ad0218a5f3  rcu-tasks: Convert 
sleeps to idle priority

elapsed time: 480m

configs tested: 95
configs skipped: 1

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

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

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


Re: [PATCH v2 2/9] vfio/fsl-mc: Scan DPRC objects on vfio-fsl-mc driver bind

2020-05-08 Thread kbuild test robot
Hi Diana,

I love your patch! Yet something to improve:

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

url:
https://github.com/0day-ci/linux/commits/Diana-Craciun/vfio-fsl-mc-VFIO-support-for-FSL-MC-devices/20200509-034845
base:   https://github.com/awilliam/linux-vfio.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

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

All errors (new ones prefixed by >>):

   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_bus_notifier':
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:100:9: error: 'struct fsl_mc_device' has 
>> no member named 'driver_override'
  mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s",
^~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_init_device':
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:135:8: error: implicit declaration of 
>> function 'dprc_setup'; did you mean 'x2apic_setup'? 
>> [-Werror=implicit-function-declaration]
 ret = dprc_setup(mc_dev);
   ^~
   x2apic_setup
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:142:8: error: implicit declaration of 
>> function 'dprc_scan_container'; did you mean 'init_section_contains'? 
>> [-Werror=implicit-function-declaration]
 ret = dprc_scan_container(mc_dev, false);
   ^~~
   init_section_contains
>> drivers/vfio/fsl-mc/vfio_fsl_mc.c:146:3: error: implicit declaration of 
>> function 'dprc_cleanup'; did you mean 'pud_clear'? 
>> [-Werror=implicit-function-declaration]
  dprc_cleanup(mc_dev);
  ^~~~
  pud_clear
   drivers/vfio/fsl-mc/vfio_fsl_mc.c: In function 'vfio_fsl_mc_device_remove':
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:198:14: error: 'struct fsl_mc_device' has 
no member named 'driver_override'
 kfree(mc_dev->driver_override);
 ^~
   drivers/vfio/fsl-mc/vfio_fsl_mc.c:199:8: error: 'struct fsl_mc_device' has 
no member named 'driver_override'
 mc_dev->driver_override = NULL;
   ^~
   cc1: some warnings being treated as errors

vim +100 drivers/vfio/fsl-mc/vfio_fsl_mc.c

88  
89  static int vfio_fsl_mc_bus_notifier(struct notifier_block *nb,
90  unsigned long action, void *data)
91  {
92  struct vfio_fsl_mc_device *vdev = container_of(nb,
93  struct vfio_fsl_mc_device, nb);
94  struct device *dev = data;
95  struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev);
96  struct fsl_mc_device *mc_cont = 
to_fsl_mc_device(mc_dev->dev.parent);
97  
98  if (action == BUS_NOTIFY_ADD_DEVICE &&
99  vdev->mc_dev == mc_cont) {
 > 100  mc_dev->driver_override = kasprintf(GFP_KERNEL, "%s",
   101  
vfio_fsl_mc_ops.name);
   102  dev_info(dev, "Setting driver override for device in 
dprc %s\n",
   103   dev_name(_cont->dev));
   104  } else if (action == BUS_NOTIFY_BOUND_DRIVER &&
   105  vdev->mc_dev == mc_cont) {
   106  struct fsl_mc_driver *mc_drv = 
to_fsl_mc_driver(dev->driver);
   107  
   108  if (mc_drv && mc_drv != _fsl_mc_driver)
   109  dev_warn(dev, "Object %s bound to driver %s 
while DPRC bound to vfio-fsl-mc\n",
   110   dev_name(dev), mc_drv->driver.name);
   111  }
   112  
   113  return 0;
   114  }
   115  
   116  static int vfio_fsl_mc_init_device(struct vfio_fsl_mc_device *vdev)
   117  {
   118  struct fsl_mc_device *mc_dev = vdev->mc_dev;
   119  int ret = 0;
   120  
   121  /* Non-dprc devices share mc_io from parent */
   122  if (!is_fsl_mc_bus_dprc(mc_dev)) {
   123  struct fsl_mc_device *mc_cont = 
to_fsl_mc_device(mc_dev->dev.parent);
   124  
   125  mc_dev->mc_io = mc_cont->mc_io;
   126  return 0;
   127  }
   128  
   129  vdev->nb.notifier_call = vfio_fsl_mc_bus_notifier;
   130  ret = bus_register_notifier(_mc_bus_type, >nb);
   131  if (ret)
   132  return ret;
   133  
   134  /* open DPRC, alloc

[tip:locking/kcsan] BUILD SUCCESS 97a9474aeb789183a1d0712e66a4283860279ac9

2020-05-08 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
locking/kcsan
branch HEAD: 97a9474aeb789183a1d0712e66a4283860279ac9  Merge branch 
'kcsan-for-tip' of 
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into 
locking/kcsan

elapsed time: 487m

configs tested: 101
configs skipped: 1

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

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

[tip:perf/core] BUILD SUCCESS 059c6d68cfc5f85ba3ab71d71a6de380016f7936

2020-05-08 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git  
perf/core
branch HEAD: 059c6d68cfc5f85ba3ab71d71a6de380016f7936  Merge tag 
'perf-core-for-mingo-5.8-20200506' of 
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

elapsed time: 483m

configs tested: 98
configs skipped: 21

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

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

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

drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl'

2020-05-08 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   79dede78c0573618e3137d3d8cbf78c84e25fabd
commit: 9e860351550b28901a78f122b1e2dc97f78ba369 m68knommu: Remove mm.h include 
from uaccess_no.h
date:   6 weeks ago
config: m68k-randconfig-r006-20200507 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9e860351550b28901a78f122b1e2dc97f78ba369
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

   drivers/watchdog/m54xx_wdt.c: In function 'wdt_enable':
>> drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function 
>> '__raw_readl' [-Werror=implicit-function-declaration]
  49 |  gms0 = __raw_readl(MCF_GPT_GMS0);
 | ^~~
>> drivers/watchdog/m54xx_wdt.c:55:2: error: implicit declaration of function 
>> '__raw_writel'; did you mean '__raw_write_lock'? 
>> [-Werror=implicit-function-declaration]
  55 |  __raw_writel(gms0, MCF_GPT_GMS0);
 |  ^~~~
 |  __raw_write_lock
   cc1: some warnings being treated as errors

vim +/__raw_readl +49 drivers/watchdog/m54xx_wdt.c

88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  43  
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  44  
static void wdt_enable(void)
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  45  
{
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  46  
unsigned int gms0;
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  47  
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  48  
/* preserve GPIO usage, if any */
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer   2012-09-18 @49  
gms0 = __raw_readl(MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  50  
if (gms0 & MCF_GPT_GMS_TMS_GPIO)
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  51  
gms0 &= (MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_GPIO_MASK
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  52  
| MCF_GPT_GMS_OD);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  53  
else
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  54  
gms0 = MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_OD;
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer   2012-09-18 @55  
__raw_writel(gms0, MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  56  
__raw_writel(MCF_GPT_GCIR_PRE(heartbeat*(MCF_BUSCLK/0x)) |
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer   2012-09-18  57  
MCF_GPT_GCIR_CNT(0x), MCF_GPT_GCIR0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  58  
gms0 |= MCF_GPT_GMS_OCPW(0xA5) | MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE;
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer   2012-09-18  59  
__raw_writel(gms0, MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  60  
}
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  61  

:: The code at line 49 was first introduced by commit
:: 944c3d81dbead14725e7d12675c37a2027760608 m68knommu: clean up ColdFire 
54xx General Timer definitions

:: TO: Greg Ungerer 
:: CC: Greg Ungerer 

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


.config.gz
Description: application/gzip


<    1   2   3   4   5   6   7   8   9   10   >