[zen-kernel-zen-kernel:5.13/futex2-tkg 3/15] kernel/sys_ni.c:157:1: warning: no previous prototype for function '__arm64_sys_futex_waitv'
by kernel test robot
tree: https://github.com/zen-kernel/zen-kernel 5.13/futex2-tkg
head: 8eb940ffa39f19c4ddf284615dfb27a6444a3c1d
commit: e0c5fabdb1a5efa8d1c606485e22709fd4f90fb5 [3/15] futex2: Implement vectorized wait
config: arm64-randconfig-r022-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/zen-kernel/zen-kernel/commit/e0c5fabdb1a5efa8d1c606485...
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.13/futex2-tkg
git checkout e0c5fabdb1a5efa8d1c606485e22709fd4f90fb5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:61:1: note: expanded from here
__arm64_sys_futex
^
kernel/sys_ni.c:147:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:148:1: warning: no previous prototype for function '__arm64_sys_futex_time32' [-Wmissing-prototypes]
COND_SYSCALL(futex_time32);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:62:1: note: expanded from here
__arm64_sys_futex_time32
^
kernel/sys_ni.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:149:1: warning: no previous prototype for function '__arm64_sys_set_robust_list' [-Wmissing-prototypes]
COND_SYSCALL(set_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:63:1: note: expanded from here
__arm64_sys_set_robust_list
^
kernel/sys_ni.c:149:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:150:1: warning: no previous prototype for function '__arm64_compat_sys_set_robust_list' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(set_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:64:1: note: expanded from here
__arm64_compat_sys_set_robust_list
^
kernel/sys_ni.c:150:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:151:1: warning: no previous prototype for function '__arm64_sys_get_robust_list' [-Wmissing-prototypes]
COND_SYSCALL(get_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:65:1: note: expanded from here
__arm64_sys_get_robust_list
^
kernel/sys_ni.c:151:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:152:1: warning: no previous prototype for function '__arm64_compat_sys_get_robust_list' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(get_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:66:1: note: expanded from here
__arm64_compat_sys_get_robust_list
^
kernel/sys_ni.c:152:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:155:1: warning: no previous prototype for function '__arm64_sys_futex_wait' [-Wmissing-prototypes]
COND_SYSCALL(futex_wait);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:67:1: note: expanded from here
__arm64_sys_futex_wait
^
kernel/sys_ni.c:155:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:156:1: warning: no previous prototype for function '__arm64_sys_futex_wake' [-Wmissing-prototypes]
COND_SYSCALL(futex_wake);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:68:1: note: expanded from here
__arm64_sys_futex_wake
^
kernel/sys_ni.c:156:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
>> kernel/sys_ni.c:157:1: warning: no previous prototype for function '__arm64_sys_futex_waitv' [-Wmissing-prototypes]
COND_SYSCALL(futex_waitv);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:69:1: note: expanded from here
__arm64_sys_futex_waitv
^
kernel/sys_ni.c:157:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:164:1: warning: no previous prototype for function '__arm64_sys_kexec_load' [-Wmissing-prototypes]
COND_SYSCALL(kexec_load);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:70:1: note: expanded from here
__arm64_sys_kexec_load
^
kernel/sys_ni.c:164:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:165:1: warning: no previous prototype for function '__arm64_compat_sys_kexec_load' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(kexec_load);
^
arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:71:1: note: expanded from here
__arm64_compat_sys_kexec_load
^
kernel/sys_ni.c:165:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:168:1: warning: no previous prototype for function '__arm64_sys_init_module' [-Wmissing-prototypes]
COND_SYSCALL(init_module);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:72:1: note: expanded from here
__arm64_sys_init_module
^
kernel/sys_ni.c:168:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:169:1: warning: no previous prototype for function '__arm64_sys_delete_module' [-Wmissing-prototypes]
COND_SYSCALL(delete_module);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:73:1: note: expanded from here
__arm64_sys_delete_module
^
kernel/sys_ni.c:169:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:174:1: warning: no previous prototype for function '__arm64_sys_syslog' [-Wmissing-prototypes]
COND_SYSCALL(syslog);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:74:1: note: expanded from here
__arm64_sys_syslog
^
kernel/sys_ni.c:174:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:181:1: warning: no previous prototype for function '__arm64_sys_setregid' [-Wmissing-prototypes]
COND_SYSCALL(setregid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:75:1: note: expanded from here
__arm64_sys_setregid
^
kernel/sys_ni.c:181:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:182:1: warning: no previous prototype for function '__arm64_sys_setgid' [-Wmissing-prototypes]
COND_SYSCALL(setgid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:76:1: note: expanded from here
__arm64_sys_setgid
^
kernel/sys_ni.c:182:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
vim +/__arm64_sys_futex_waitv +157 kernel/sys_ni.c
153
154 /* kernel/futex2.c */
155 COND_SYSCALL(futex_wait);
156 COND_SYSCALL(futex_wake);
> 157 COND_SYSCALL(futex_waitv);
158
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[xlnx:xlnx_rebase_v5.4 903/1765] drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
by kernel test robot
Hi Michal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 2f686fa6c0bf7fa168dc45dd7ce1359217212911
commit: 6d0468b837bc2b3cce625f59904d137e63637b5d [903/1765] usb: dwc3: Add support for clock disabling during suspend
config: mips-randconfig-p002-20210720 (attached as .config)
compiler: mips-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Xilinx/linux-xlnx/commit/6d0468b837bc2b3cce625f59904d1...
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 6d0468b837bc2b3cce625f59904d137e63637b5d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/usb/dwc3/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/usb/dwc3/host.c:12:
include/linux/usb/xhci_pdriver.h:22:6: warning: no previous prototype for 'dwc3_host_wakeup_capable' [-Wmissing-prototypes]
22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/host.c:14:
drivers/usb/dwc3/core.h:1418:6: warning: no previous prototype for 'dwc3_simple_wakeup_capable' [-Wmissing-prototypes]
1418 | void dwc3_simple_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/host.c:16:6: error: redefinition of 'dwc3_host_wakeup_capable'
16 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc3/host.c:12:
include/linux/usb/xhci_pdriver.h:22:6: note: previous definition of 'dwc3_host_wakeup_capable' was here
22 | void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/dwc3_host_wakeup_capable +16 drivers/usb/dwc3/host.c
15
> 16 void dwc3_host_wakeup_capable(struct device *dev, bool wakeup)
17 {
18 dwc3_simple_wakeup_capable(dev, wakeup);
19 }
20
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
drivers/infiniband/hw/qib/qib_sysfs.c:411:1: warning: performing pointer subtraction with a null pointer has undefined behavior
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
commit: 4a7aaf88c89f12f8048137e274ce0d40fe1056b2 RDMA/qib: Use attributes for the port sysfs
date: 5 weeks ago
config: x86_64-randconfig-r016-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c781eb153bfbd1b52b03efe34f56bbeccbb8aba6)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 4a7aaf88c89f12f8048137e274ce0d40fe1056b2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/infiniband/hw/qib/qib_sysfs.c:411:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rc_resends);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:412:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(seq_naks);
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:413:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rdma_seq);
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:414:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rnr_naks);
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:415:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(other_naks);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:416:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rc_timeouts);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:417:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(loop_pkts);
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:418:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(pkt_drops);
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:419:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(dmawait);
^~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:420:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(unaligned);
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:421:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rc_dupreq);
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:422:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rc_seqnak);
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:423:1: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
QIB_DIAGC_ATTR(rc_crwaits);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qib/qib_sysfs.c:408:51: note: expanded from macro 'QIB_DIAGC_ATTR'
.counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
^ ~~~~~~~~
13 warnings generated.
vim +411 drivers/infiniband/hw/qib/qib_sysfs.c
f24a6d4887668c Harish Chegondi 2016-01-22 404
4a7aaf88c89f12 Jason Gunthorpe 2021-06-11 405 #define QIB_DIAGC_ATTR(N) \
f24a6d4887668c Harish Chegondi 2016-01-22 406 static struct qib_diagc_attr qib_diagc_attr_##N = { \
4a7aaf88c89f12 Jason Gunthorpe 2021-06-11 407 .attr = __ATTR(N, 0664, diagc_attr_show, diagc_attr_store), \
4a7aaf88c89f12 Jason Gunthorpe 2021-06-11 408 .counter = &((struct qib_ibport *)0)->rvp.n_##N - (u64 *)0, \
f931551bafe1f1 Ralph Campbell 2010-05-23 409 }
f931551bafe1f1 Ralph Campbell 2010-05-23 410
f931551bafe1f1 Ralph Campbell 2010-05-23 @411 QIB_DIAGC_ATTR(rc_resends);
f931551bafe1f1 Ralph Campbell 2010-05-23 412 QIB_DIAGC_ATTR(seq_naks);
f931551bafe1f1 Ralph Campbell 2010-05-23 413 QIB_DIAGC_ATTR(rdma_seq);
f931551bafe1f1 Ralph Campbell 2010-05-23 414 QIB_DIAGC_ATTR(rnr_naks);
f931551bafe1f1 Ralph Campbell 2010-05-23 415 QIB_DIAGC_ATTR(other_naks);
f931551bafe1f1 Ralph Campbell 2010-05-23 416 QIB_DIAGC_ATTR(rc_timeouts);
f931551bafe1f1 Ralph Campbell 2010-05-23 417 QIB_DIAGC_ATTR(loop_pkts);
f931551bafe1f1 Ralph Campbell 2010-05-23 418 QIB_DIAGC_ATTR(pkt_drops);
f931551bafe1f1 Ralph Campbell 2010-05-23 419 QIB_DIAGC_ATTR(dmawait);
f931551bafe1f1 Ralph Campbell 2010-05-23 420 QIB_DIAGC_ATTR(unaligned);
f931551bafe1f1 Ralph Campbell 2010-05-23 421 QIB_DIAGC_ATTR(rc_dupreq);
f931551bafe1f1 Ralph Campbell 2010-05-23 422 QIB_DIAGC_ATTR(rc_seqnak);
7199435414868b Kaike Wan 2019-09-11 423 QIB_DIAGC_ATTR(rc_crwaits);
f931551bafe1f1 Ralph Campbell 2010-05-23 424
:::::: The code at line 411 was first introduced by commit
:::::: f931551bafe1f10ded7f5282e2aa162c267a2e5d IB/qib: Add new qib driver for QLogic PCIe InfiniBand adapters
:::::: TO: Ralph Campbell <ralph.campbell(a)qlogic.com>
:::::: CC: Roland Dreier <rolandd(a)cisco.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_223' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE
by kernel test robot
Hi Thomas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
commit: 6e799cb69a70eedbb41561b750f7180c12cff280 mm/highmem: Provide and use CONFIG_DEBUG_KMAP_LOCAL
date: 8 months ago
config: arc-randconfig-r036-20210720 (attached as .config)
compiler: arc-elf-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 6e799cb69a70eedbb41561b750f7180c12cff280
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:
arch/arc/mm/highmem.c: In function 'kmap_init':
>> include/linux/compiler_types.h:319:38: error: call to '__compiletime_assert_223' declared with attribute error: BUILD_BUG_ON failed: FIX_KMAP_SLOTS > PTRS_PER_PTE
319 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:300:4: note: in definition of macro '__compiletime_assert'
300 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:319:2: note: in expansion of macro '_compiletime_assert'
319 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
arch/arc/mm/highmem.c:69:2: note: in expansion of macro 'BUILD_BUG_ON'
69 | BUILD_BUG_ON(FIX_KMAP_SLOTS > PTRS_PER_PTE);
| ^~~~~~~~~~~~
vim +/__compiletime_assert_223 +319 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 305
eb5c2d4b45e3d2 Will Deacon 2020-07-21 306 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 307 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 308
eb5c2d4b45e3d2 Will Deacon 2020-07-21 309 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 310 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 311 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 312 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 313 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 314 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 315 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 316 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 317 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 318 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @319 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 320
:::::: The code at line 319 was first introduced by commit
:::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h
:::::: TO: Will Deacon <will(a)kernel.org>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH][RFC] sched/cpuacct: Fix cpuacct charge
by kernel test robot
Hi Li,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on asm-generic/master]
[also build test ERROR on tip/sched/core tip/master linux/master linus/master v5.14-rc2 next-20210720]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Li-RongQing/sched-cpuacct-Fix-cp...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/b7cbc83d1da5b3b55713e72269c478683...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Li-RongQing/sched-cpuacct-Fix-cpuacct-charge/20210720-150427
git checkout b7cbc83d1da5b3b55713e72269c478683f02c4eb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/sched/cpuacct.c: In function 'cpuacct_charge':
>> kernel/sched/cpuacct.c:344:25: error: implicit declaration of function 'get_irq_regs_cpu'; did you mean 'get_irq_regs'? [-Werror=implicit-function-declaration]
344 | struct pt_regs *regs = get_irq_regs_cpu(cpu) ? : task_pt_regs(tsk);
| ^~~~~~~~~~~~~~~~
| get_irq_regs
kernel/sched/cpuacct.c:344:49: warning: pointer/integer type mismatch in conditional expression
344 | struct pt_regs *regs = get_irq_regs_cpu(cpu) ? : task_pt_regs(tsk);
| ^
cc1: some warnings being treated as errors
vim +344 kernel/sched/cpuacct.c
333
334 /*
335 * charge this task's execution time to its accounting group.
336 *
337 * called with rq->lock held.
338 */
339 void cpuacct_charge(struct task_struct *tsk, u64 cputime)
340 {
341 struct cpuacct *ca;
342 int index = CPUACCT_STAT_SYSTEM;
343 int cpu = task_cpu(tsk);
> 344 struct pt_regs *regs = get_irq_regs_cpu(cpu) ? : task_pt_regs(tsk);
345
346 if (regs && user_mode(regs))
347 index = CPUACCT_STAT_USER;
348
349 rcu_read_lock();
350
351 for (ca = task_ca(tsk); ca; ca = parent_ca(ca))
352 __this_cpu_add(ca->cpuusage->usages[index], cputime);
353
354 rcu_read_unlock();
355 }
356
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[tglx-devel:irq/msi 4/8] include/asm-generic/io.h:173:15: error: too many arguments to function 'readl'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/msi
head: 148a9616eb053a8c0d0c9859fde99fa2aee3ccea
commit: abefd748ab60997c05fcd79e7b4072cd4fd47c19 [4/8] PCI/MSI: Enforce MSI[X] entry updates to be visible
config: ia64-randconfig-r025-20210720 (attached as .config)
compiler: ia64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id...
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel irq/msi
git checkout abefd748ab60997c05fcd79e7b4072cd4fd47c19
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/pci/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/pci/msi.c: In function '__pci_write_msi_msg':
drivers/pci/msi.c:316:12: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion]
316 | readl(msg->data, base + PCI_MSIX_ENTRY_DATA);
| ~~~^~~~~~
| |
| u32 {aka unsigned int}
In file included from arch/ia64/include/asm/io.h:281,
from arch/ia64/include/asm/uaccess.h:41,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/huge_mm.h:8,
from include/linux/mm.h:728,
from drivers/pci/msi.c:11:
include/asm-generic/io.h:174:54: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
174 | static inline u32 readl(const volatile void __iomem *addr)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
>> include/asm-generic/io.h:173:15: error: too many arguments to function 'readl'
173 | #define readl readl
| ^~~~~
drivers/pci/msi.c:316:3: note: in expansion of macro 'readl'
316 | readl(msg->data, base + PCI_MSIX_ENTRY_DATA);
| ^~~~~
include/asm-generic/io.h:173:15: note: declared here
173 | #define readl readl
| ^~~~~
include/asm-generic/io.h:174:19: note: in expansion of macro 'readl'
174 | static inline u32 readl(const volatile void __iomem *addr)
| ^~~~~
vim +/readl +173 include/asm-generic/io.h
7dc59bdde70633 GuanXuetao 2011-02-22 171
9216efafc52ff9 Thierry Reding 2014-10-01 172 #ifndef readl
9216efafc52ff9 Thierry Reding 2014-10-01 @173 #define readl readl
9216efafc52ff9 Thierry Reding 2014-10-01 174 static inline u32 readl(const volatile void __iomem *addr)
3f7e212df82ca0 Arnd Bergmann 2009-05-13 175 {
032d59e1cde9dd Sinan Kaya 2018-04-05 176 u32 val;
032d59e1cde9dd Sinan Kaya 2018-04-05 177
032d59e1cde9dd Sinan Kaya 2018-04-05 178 __io_br();
c1d55d50139bea Stafford Horne 2020-07-29 179 val = __le32_to_cpu((__le32 __force)__raw_readl(addr));
abbbbc83a210e9 Will Deacon 2019-02-22 180 __io_ar(val);
032d59e1cde9dd Sinan Kaya 2018-04-05 181 return val;
3f7e212df82ca0 Arnd Bergmann 2009-05-13 182 }
9216efafc52ff9 Thierry Reding 2014-10-01 183 #endif
3f7e212df82ca0 Arnd Bergmann 2009-05-13 184
:::::: The code at line 173 was first introduced by commit
:::::: 9216efafc52ff99e9351ef60de5fcafc2bc8adb6 asm-generic/io.h: Reconcile I/O accessor overrides
:::::: TO: Thierry Reding <treding(a)nvidia.com>
:::::: CC: Thierry Reding <treding(a)nvidia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[tglx-devel:irq/msi 4/8] drivers/pci/msi.c:316:12: warning: passing argument 1 of 'readl' makes pointer from integer without a cast
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/msi
head: 148a9616eb053a8c0d0c9859fde99fa2aee3ccea
commit: abefd748ab60997c05fcd79e7b4072cd4fd47c19 [4/8] PCI/MSI: Enforce MSI[X] entry updates to be visible
config: i386-randconfig-r034-20210720 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id...
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel irq/msi
git checkout abefd748ab60997c05fcd79e7b4072cd4fd47c19
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/pci/msi.c: In function '__pci_write_msi_msg':
>> drivers/pci/msi.c:316:12: warning: passing argument 1 of 'readl' makes pointer from integer without a cast [-Wint-conversion]
316 | readl(msg->data, base + PCI_MSIX_ENTRY_DATA);
| ~~~^~~~~~
| |
| u32 {aka unsigned int}
In file included from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/pci/msi.c:12:
arch/x86/include/asm/io.h:48:54: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
48 | static inline type name(const volatile void __iomem *addr) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
arch/x86/include/asm/io.h:59:1: note: in expansion of macro 'build_mmio_read'
59 | build_mmio_read(readl, "l", unsigned int, "=r", :"memory")
| ^~~~~~~~~~~~~~~
arch/x86/include/asm/io.h:75:15: error: too many arguments to function 'readl'
75 | #define readl readl
| ^~~~~
drivers/pci/msi.c:316:3: note: in expansion of macro 'readl'
316 | readl(msg->data, base + PCI_MSIX_ENTRY_DATA);
| ^~~~~
arch/x86/include/asm/io.h:59:17: note: declared here
59 | build_mmio_read(readl, "l", unsigned int, "=r", :"memory")
| ^~~~~
arch/x86/include/asm/io.h:48:20: note: in definition of macro 'build_mmio_read'
48 | static inline type name(const volatile void __iomem *addr) \
| ^~~~
vim +/readl +316 drivers/pci/msi.c
283
284 void __pci_write_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
285 {
286 struct pci_dev *dev = msi_desc_to_pci_dev(entry);
287
288 if (dev->current_state != PCI_D0 || pci_dev_is_disconnected(dev)) {
289 /* Don't touch the hardware now */
290 } else if (entry->msi_attrib.is_msix) {
291 void __iomem *base = pci_msix_desc_addr(entry);
292 bool unmasked = !(entry->masked & PCI_MSIX_ENTRY_CTRL_MASKBIT);
293
294 if (!base)
295 goto skip;
296
297 /*
298 * The specification mandates that the entry is masked
299 * when the message is modified:
300 *
301 * "If software changes the Address or Data value of an
302 * entry while the entry is unmasked, the result is
303 * undefined."
304 */
305 if (unmasked)
306 __pci_msix_desc_mask_irq(entry, PCI_MSIX_ENTRY_CTRL_MASKBIT);
307
308 writel(msg->address_lo, base + PCI_MSIX_ENTRY_LOWER_ADDR);
309 writel(msg->address_hi, base + PCI_MSIX_ENTRY_UPPER_ADDR);
310 writel(msg->data, base + PCI_MSIX_ENTRY_DATA);
311
312 if (unmasked)
313 __pci_msix_desc_mask_irq(entry, 0);
314
315 /* Ensure that the writes are visible in the device */
> 316 readl(msg->data, base + PCI_MSIX_ENTRY_DATA);
317 } else {
318 int pos = dev->msi_cap;
319 u16 msgctl;
320
321 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl);
322 msgctl &= ~PCI_MSI_FLAGS_QSIZE;
323 msgctl |= entry->msi_attrib.multiple << 4;
324 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, msgctl);
325
326 pci_write_config_dword(dev, pos + PCI_MSI_ADDRESS_LO,
327 msg->address_lo);
328 if (entry->msi_attrib.is_64) {
329 pci_write_config_dword(dev, pos + PCI_MSI_ADDRESS_HI,
330 msg->address_hi);
331 pci_write_config_word(dev, pos + PCI_MSI_DATA_64,
332 msg->data);
333 } else {
334 pci_write_config_word(dev, pos + PCI_MSI_DATA_32,
335 msg->data);
336 }
337 /* Ensure that the writes are visible in the device */
338 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl);
339 }
340
341 skip:
342 entry->msg = *msg;
343
344 if (entry->write_msi_msg)
345 entry->write_msi_msg(entry, entry->write_msi_msg_data);
346
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH v5 2/3] clocksource: Rewrite Xilinx AXI timer driver
by kernel test robot
Hi Sean,
I love your patch! Perhaps something to improve:
[auto build test WARNING on tip/timers/core]
[also build test WARNING on pwm/for-next linus/master v5.14-rc2 next-20210720]
[cannot apply to xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Sean-Anderson/dt-bindings-pwm-Ad...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 2d0a9eb23ccfdf11308bec6db0bc007585d919d2
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/94fdaff6f9a931388dfbeecb76ea7b50e...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sean-Anderson/dt-bindings-pwm-Add-Xilinx-AXI-Timer/20210720-144903
git checkout 94fdaff6f9a931388dfbeecb76ea7b50eaa06711
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x1cff34): Section mismatch in reference from the function mchp_pit64b_reset() to the function .init.text:sched_clock_register()
The function mchp_pit64b_reset() references
the function __init sched_clock_register().
This is often because mchp_pit64b_reset lacks a __init
annotation or the annotation of sched_clock_register is wrong.
The below error/warnings are from parent commit:
<< WARNING: modpost: vmlinux.o(.text.unlikely+0x6440): Section mismatch in reference from the function __trace_event_discard_commit() to the variable .init.data:initcall_level_names
<< WARNING: modpost: vmlinux.o(.data+0x15efaf0): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:__setup_str_initcall_blacklist
<< WARNING: modpost: vmlinux.o(.data+0x15efc00): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:__setup_str_initcall_blacklist
<< WARNING: modpost: vmlinux.o(.data+0x15fa770): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:__setup_str_initcall_blacklist
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[zen-kernel-zen-kernel:5.13/futex2-tkg 14/15] kernel/futex2.c:1230:30: error: '__NR_futex_wait' undeclared; did you mean '__futex_wait'?
by kernel test robot
tree: https://github.com/zen-kernel/zen-kernel 5.13/futex2-tkg
head: 8eb940ffa39f19c4ddf284615dfb27a6444a3c1d
commit: afe010e85ccec03a8bbfafdf9687248386e7fd39 [14/15] futex2: Add sysfs entry for syscall numbers
config: sh-randconfig-c004-20210720 (attached as .config)
compiler: sh4-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/zen-kernel/zen-kernel/commit/afe010e85ccec03a8bbfafdf9...
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.13/futex2-tkg
git checkout afe010e85ccec03a8bbfafdf9687248386e7fd39
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/futex2.c: In function 'wait_show':
>> kernel/futex2.c:1230:30: error: '__NR_futex_wait' undeclared (first use in this function); did you mean '__futex_wait'?
1230 | return sprintf(buf, "%u\n", __NR_futex_wait);
| ^~~~~~~~~~~~~~~
| __futex_wait
kernel/futex2.c:1230:30: note: each undeclared identifier is reported only once for each function it appears in
kernel/futex2.c: In function 'wake_show':
>> kernel/futex2.c:1238:30: error: '__NR_futex_wake' undeclared (first use in this function); did you mean 'ksys_futex_wake'?
1238 | return sprintf(buf, "%u\n", __NR_futex_wake);
| ^~~~~~~~~~~~~~~
| ksys_futex_wake
kernel/futex2.c: In function 'waitv_show':
>> kernel/futex2.c:1246:30: error: '__NR_futex_waitv' undeclared (first use in this function); did you mean '__futex_wait'?
1246 | return sprintf(buf, "%u\n", __NR_futex_waitv);
| ^~~~~~~~~~~~~~~~
| __futex_wait
kernel/futex2.c:1248:1: error: control reaches end of non-void function [-Werror=return-type]
1248 | }
| ^
kernel/futex2.c: In function 'wake_show':
kernel/futex2.c:1240:1: error: control reaches end of non-void function [-Werror=return-type]
1240 | }
| ^
kernel/futex2.c: In function 'wait_show':
kernel/futex2.c:1232:1: error: control reaches end of non-void function [-Werror=return-type]
1232 | }
| ^
cc1: some warnings being treated as errors
vim +1230 kernel/futex2.c
1226
1227 static ssize_t wait_show(struct kobject *kobj, struct kobj_attribute *attr,
1228 char *buf)
1229 {
> 1230 return sprintf(buf, "%u\n", __NR_futex_wait);
1231
1232 }
1233 static struct kobj_attribute futex2_wait_attr = __ATTR_RO(wait);
1234
1235 static ssize_t wake_show(struct kobject *kobj, struct kobj_attribute *attr,
1236 char *buf)
1237 {
> 1238 return sprintf(buf, "%u\n", __NR_futex_wake);
1239
1240 }
1241 static struct kobj_attribute futex2_wake_attr = __ATTR_RO(wake);
1242
1243 static ssize_t waitv_show(struct kobject *kobj, struct kobj_attribute *attr,
1244 char *buf)
1245 {
> 1246 return sprintf(buf, "%u\n", __NR_futex_waitv);
1247
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[freescale-fslc:pr/394 10629/20126] drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1266:1: error: no previous prototype for 'gckPPU_SetEVIS'
by kernel test robot
Hi Ella,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/394
head: 0615afea9fc72fd8d47c3ddfb314e0d1d53c51ad
commit: 003e8f969b3267f44e94f0ee4f7167089bb0d800 [10629/20126] MGS-5531 [#imx-1868] Fix VIP Hang isse with HW reet
config: arm64-randconfig-r036-20210720 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Freescale/linux-fslc/commit/003e8f969b3267f44e94f0ee4f...
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/394
git checkout 003e8f969b3267f44e94f0ee4f7167089bb0d800
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1266:1: error: no previous prototype for 'gckPPU_SetEVIS' [-Werror=missing-prototypes]
1266 | gckPPU_SetEVIS(
| ^~~~~~~~~~~~~~
>> drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c:1590:1: error: no previous prototype for 'gckPPU_SetTempReg' [-Werror=missing-prototypes]
1590 | gckPPU_SetTempReg(
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/gckPPU_SetEVIS +1266 drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware_func_flop_reset.c
1264
1265 gceSTATUS
> 1266 gckPPU_SetEVIS(
1267 IN gctUINT32 Start,
1268 IN gctUINT32 End,
1269 IN gctUINT32 Evis,
1270 IN OUT gctUINT32_PTR Inst
1271 )
1272 {
1273 gceSTATUS status = gcvSTATUS_OK;
1274
1275 if (!Inst)
1276 {
1277 gcmkONERROR(gcvSTATUS_INVALID_ARGUMENT);
1278 }
1279
1280 Inst[0] = ((((gctUINT32) (Inst[0])) & ~(((gctUINT32) (((gctUINT32) ((((1 ?
1281 26:23) - (0 ?
1282 26:23) + 1) == 32) ?
1283 ~0U : (~(~0U << ((1 ?
1284 26:23) - (0 ?
1285 26:23) + 1))))))) << (0 ?
1286 26:23))) | (((gctUINT32) ((gctUINT32) (Start) & ((gctUINT32) ((((1 ?
1287 26:23) - (0 ?
1288 26:23) + 1) == 32) ?
1289 ~0U : (~(~0U << ((1 ? 26:23) - (0 ? 26:23) + 1))))))) << (0 ? 26:23)));
1290 Inst[0] = _SETBITS(Inst[0], 30, 27, End);
1291 Inst[1] = _SETBITS(Inst[1], 10, 2, Evis);
1292
1293 return gcvSTATUS_OK;
1294
1295 OnError:
1296 return status;
1297 }
1298
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months