arch/mips/include/asm/mach-ip27/topology.h:19:7: error: implicit declaration of function 'hub_data'
by kernel test robot
Hi Mike,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: 397dc00e249ec64e106374565575dd0eb7e25998 mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM
date: 8 months ago
:::::: branch date: 16 hours ago
:::::: commit date: 8 months ago
config: mips-randconfig-c021-20200612 (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/mips/include/asm/topology.h:11,
from include/linux/topology.h:36,
from include/linux/gfp.h:9,
from include/linux/slab.h:15,
from include/linux/crypto.h:19,
from include/crypto/hash.h:11,
from include/linux/uio.h:10,
from include/linux/socket.h:8,
from include/linux/compat.h:15,
from arch/mips/kernel/asm-offsets.c:12:
arch/mips/include/asm/mach-ip27/topology.h:25:39: error: 'MAX_COMPACT_NODES' undeclared here (not in a function)
25 | extern unsigned char __node_distances[MAX_COMPACT_NODES][MAX_COMPACT_NODES];
| ^~~~~~~~~~~~~~~~~
include/linux/topology.h: In function 'numa_node_id':
>> arch/mips/include/asm/mach-ip27/topology.h:16:27: error: implicit declaration of function 'cputonasid' [-Werror=implicit-function-declaration]
16 | #define cpu_to_node(cpu) (cputonasid(cpu))
| ^~~~~~~~~~
>> include/linux/topology.h:119:9: note: in expansion of macro 'cpu_to_node'
119 | return cpu_to_node(raw_smp_processor_id());
| ^~~~~~~~~~~
include/linux/topology.h: In function 'cpu_cpu_mask':
>> arch/mips/include/asm/mach-ip27/topology.h:19:7: error: implicit declaration of function 'hub_data' [-Werror=implicit-function-declaration]
19 | &hub_data(node)->h_cpus)
| ^~~~~~~~
include/linux/topology.h:227:9: note: in expansion of macro 'cpumask_of_node'
227 | return cpumask_of_node(cpu_to_node(cpu));
| ^~~~~~~~~~~~~~~
>> arch/mips/include/asm/mach-ip27/topology.h:19:21: error: invalid type argument of '->' (have 'int')
19 | &hub_data(node)->h_cpus)
| ^~
include/linux/topology.h:227:9: note: in expansion of macro 'cpumask_of_node'
227 | return cpumask_of_node(cpu_to_node(cpu));
| ^~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c: At top level:
arch/mips/kernel/asm-offsets.c:26:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes]
26 | void output_ptreg_defines(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:78:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes]
78 | void output_task_defines(void)
| ^~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:93:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes]
93 | void output_thread_info_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:110:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes]
110 | void output_thread_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:181:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes]
181 | void output_mm_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:242:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes]
242 | void output_sc_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:255:6: warning: no previous prototype for 'output_signal_defined' [-Wmissing-prototypes]
255 | void output_signal_defined(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/mips/kernel/asm-offsets.c:334:6: warning: no previous prototype for 'output_pm_defines' [-Wmissing-prototypes]
334 | void output_pm_defines(void)
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:99: arch/mips/kernel/asm-offsets.s] Error 1
make[2]: Target 'missing-syscalls' not remade because of errors.
make[1]: *** [arch/mips/Makefile:414: archprepare] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
make: Target 'prepare' not remade because of errors.
# 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 remote update linus
git checkout 397dc00e249ec64e106374565575dd0eb7e25998
vim +/hub_data +19 arch/mips/include/asm/mach-ip27/topology.h
cc6e8e0812cf95 include/asm-mips/mach-ip27/topology.h Ralf Baechle 2007-10-11 15
4bf841ebf17aaa arch/mips/include/asm/mach-ip27/topology.h Thomas Bogendoerfer 2019-10-03 @16 #define cpu_to_node(cpu) (cputonasid(cpu))
d797396f3387c5 arch/mips/include/asm/mach-ip27/topology.h Anton Blanchard 2010-01-06 17 #define cpumask_of_node(node) ((node) == -1 ? \
d797396f3387c5 arch/mips/include/asm/mach-ip27/topology.h Anton Blanchard 2010-01-06 18 cpu_all_mask : \
d797396f3387c5 arch/mips/include/asm/mach-ip27/topology.h Anton Blanchard 2010-01-06 @19 &hub_data(node)->h_cpus)
9dbdfce85c165f include/asm-mips/mach-ip27/topology.h Ralf Baechle 2005-09-15 20 struct pci_bus;
9dbdfce85c165f include/asm-mips/mach-ip27/topology.h Ralf Baechle 2005-09-15 21 extern int pcibus_to_node(struct pci_bus *);
9dbdfce85c165f include/asm-mips/mach-ip27/topology.h Ralf Baechle 2005-09-15 22
:::::: The code at line 19 was first introduced by commit
:::::: d797396f3387c5be8f63fcc8e9be98bb884ea86a MIPS: cpumask_of_node() should handle -1 as a node
:::::: TO: Anton Blanchard <anton(a)samba.org>
:::::: CC: Ralf Baechle <ralf(a)linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
arch/mips/kvm/mips.c:70:25: error: 'struct kvm_vcpu_stat' has no member named 'vz_cpucfg_exits'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG emulation for Loongson-3
date: 9 days ago
:::::: branch date: 16 hours ago
:::::: commit date: 9 days ago
config: mips-randconfig-c022-20200613 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from <command-line>:
>> arch/mips/kvm/mips.c:70:25: error: 'struct kvm_vcpu_stat' has no member named 'vz_cpucfg_exits'; did you mean 'vz_gpsi_exits'?
70 | VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
| ^~~~~~~~~~~~~~~
include/linux/compiler_types.h:133:57: note: in definition of macro '__compiler_offsetof'
133 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^
>> include/linux/kvm_host.h:1142:7: note: in expansion of macro 'offsetof'
1142 | { n, offsetof(struct kvm_vcpu, stat.x), KVM_STAT_VCPU, ## __VA_ARGS__ }
| ^~~~~~~~
>> arch/mips/kvm/mips.c:70:2: note: in expansion of macro 'VCPU_STAT'
70 | VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
| ^~~~~~~~~
arch/mips/kvm/mips.c:161:6: warning: no previous prototype for 'kvm_mips_free_vcpus' [-Wmissing-prototypes]
161 | void kvm_mips_free_vcpus(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~
--
>> arch/mips/kvm/vz.c:32:10: fatal error: loongson_regs.h: No such file or directory
32 | #include "loongson_regs.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
# 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 remote update linus
git checkout 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333
vim +70 arch/mips/kvm/mips.c
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal 2012-11-21 41
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal 2012-11-21 42 struct kvm_stats_debugfs_item debugfs_entries[] = {
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 43 VCPU_STAT("wait", wait_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 44 VCPU_STAT("cache", cache_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 45 VCPU_STAT("signal", signal_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 46 VCPU_STAT("interrupt", int_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 47 VCPU_STAT("cop_unusable", cop_unusable_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 48 VCPU_STAT("tlbmod", tlbmod_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 49 VCPU_STAT("tlbmiss_ld", tlbmiss_ld_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 50 VCPU_STAT("tlbmiss_st", tlbmiss_st_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 51 VCPU_STAT("addrerr_st", addrerr_st_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 52 VCPU_STAT("addrerr_ld", addrerr_ld_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 53 VCPU_STAT("syscall", syscall_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 54 VCPU_STAT("resvd_inst", resvd_inst_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 55 VCPU_STAT("break_inst", break_inst_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 56 VCPU_STAT("trap_inst", trap_inst_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 57 VCPU_STAT("msa_fpe", msa_fpe_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 58 VCPU_STAT("fpe", fpe_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 59 VCPU_STAT("msa_disabled", msa_disabled_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 60 VCPU_STAT("flush_dcache", flush_dcache_exits),
a7244920d1096c arch/mips/kvm/mips.c James Hogan 2017-03-14 61 #ifdef CONFIG_KVM_MIPS_VZ
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 62 VCPU_STAT("vz_gpsi", vz_gpsi_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 63 VCPU_STAT("vz_gsfc", vz_gsfc_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 64 VCPU_STAT("vz_hc", vz_hc_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 65 VCPU_STAT("vz_grr", vz_grr_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 66 VCPU_STAT("vz_gva", vz_gva_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 67 VCPU_STAT("vz_ghfc", vz_ghfc_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 68 VCPU_STAT("vz_gpa", vz_gpa_exits),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 69 VCPU_STAT("vz_resvd", vz_resvd_exits),
7f2a83f1c2a941 arch/mips/kvm/mips.c Huacai Chen 2020-05-23 @70 VCPU_STAT("vz_cpucfg", vz_cpucfg_exits),
a7244920d1096c arch/mips/kvm/mips.c James Hogan 2017-03-14 71 #endif
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 72 VCPU_STAT("halt_successful_poll", halt_successful_poll),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 73 VCPU_STAT("halt_attempted_poll", halt_attempted_poll),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 74 VCPU_STAT("halt_poll_invalid", halt_poll_invalid),
812756a82ea51e arch/mips/kvm/mips.c Emanuele Giuseppe Esposito 2020-04-14 75 VCPU_STAT("halt_wakeup", halt_wakeup),
cb953129bfe5c0 arch/mips/kvm/mips.c David Matlack 2020-05-08 76 VCPU_STAT("halt_poll_success_ns", halt_poll_success_ns),
cb953129bfe5c0 arch/mips/kvm/mips.c David Matlack 2020-05-08 77 VCPU_STAT("halt_poll_fail_ns", halt_poll_fail_ns),
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal 2012-11-21 78 {NULL}
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal 2012-11-21 79 };
669e846e6c4e13 arch/mips/kvm/kvm_mips.c Sanjay Lal 2012-11-21 80
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
riscv64-linux-objcopy: 'arch/riscv/kernel/vdso/vdso.so.dbg': No such file
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: ad5d1122b82fbd6a816d1b9d26ee01a6dbc2d757 riscv: use vDSO common flow to reduce the latency of the time-related functions
date: 2 days ago
:::::: branch date: 9 hours ago
:::::: commit date: 2 days ago
config: riscv-randconfig-r003-20200612 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ad5d1122b82fbd6a816d1b9d26ee01a6dbc2d757
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
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 >>, old ones prefixed by <<):
>> riscv64-linux-objcopy: 'arch/riscv/kernel/vdso/vdso.so.dbg': No such file
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
drivers/video/fbdev/controlfb.c:326:23: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct <anonymous>'} from type 'int'
by kernel test robot
Hi Bartlomiej,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: a07a63b0e24dd1316d11427601a9f83dc955bb40 video: fbdev: controlfb: add COMPILE_TEST support
date: 8 weeks ago
:::::: branch date: 7 hours ago
:::::: commit date: 8 weeks ago
config: m68k-randconfig-r025-20200612 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a07a63b0e24dd1316d11427601a9f83dc955bb40
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/video/fbdev/controlfb.c: In function 'controlfb_mmap':
drivers/video/fbdev/controlfb.c:326:23: error: implicit declaration of function 'pgprot_noncached' [-Werror=implicit-function-declaration]
326 | vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
| ^~~~~~~~~~~~~~~~
>> drivers/video/fbdev/controlfb.c:326:23: error: incompatible types when assigning to type 'pgprot_t' {aka 'struct <anonymous>'} from type 'int'
drivers/video/fbdev/controlfb.c: In function 'controlfb_setcolreg':
drivers/video/fbdev/controlfb.c:373:13: warning: variable 'b' set but not used [-Wunused-but-set-variable]
373 | __u8 r, g, b;
| ^
drivers/video/fbdev/controlfb.c:373:10: warning: variable 'g' set but not used [-Wunused-but-set-variable]
373 | __u8 r, g, b;
| ^
drivers/video/fbdev/controlfb.c:373:7: warning: variable 'r' set but not used [-Wunused-but-set-variable]
373 | __u8 r, g, b;
| ^
drivers/video/fbdev/controlfb.c: In function 'control_set_hardware':
drivers/video/fbdev/controlfb.c:505:11: warning: variable 'cmode' set but not used [-Wunused-but-set-variable]
505 | int i, cmode;
| ^~~~~
cc1: some warnings being treated as errors
# 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 remote update linus
git checkout a07a63b0e24dd1316d11427601a9f83dc955bb40
vim +326 drivers/video/fbdev/controlfb.c
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 303
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 304
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 305 /*
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 306 * Private mmap since we want to have a different caching on the framebuffer
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 307 * for controlfb.
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 308 * Note there's no locking in here; it's done in fb_mmap() in fbmem.c.
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 309 */
216d526c89d144 drivers/video/controlfb.c Christoph Hellwig 2006-01-14 310 static int controlfb_mmap(struct fb_info *info,
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 311 struct vm_area_struct *vma)
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 312 {
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 313 unsigned long mmio_pgoff;
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 314 unsigned long start;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 315 u32 len;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 316
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 317 start = info->fix.smem_start;
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 318 len = info->fix.smem_len;
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 319 mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT;
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 320 if (vma->vm_pgoff >= mmio_pgoff) {
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 321 if (info->var.accel_flags)
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 322 return -EINVAL;
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 323 vma->vm_pgoff -= mmio_pgoff;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 324 start = info->fix.mmio_start;
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 325 len = info->fix.mmio_len;
64b3d0e8122b42 drivers/video/controlfb.c Benjamin Herrenschmidt 2008-12-18 @326 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 327 } else {
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 328 /* framebuffer */
64b3d0e8122b42 drivers/video/controlfb.c Benjamin Herrenschmidt 2008-12-18 329 vma->vm_page_prot = pgprot_cached_wthru(vma->vm_page_prot);
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 330 }
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 331
47f698a9f2fc49 drivers/video/controlfb.c Tomi Valkeinen 2013-04-17 332 return vm_iomap_memory(vma, start, len);
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 333 }
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 334
:::::: The code at line 326 was first introduced by commit
:::::: 64b3d0e8122b422e879b23d42f9e0e8efbbf9744 powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED
:::::: TO: Benjamin Herrenschmidt <benh(a)kernel.crashing.org>
:::::: CC: Paul Mackerras <paulus(a)samba.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
elfcore.c:undefined reference to `dump_emit'
by kernel test robot
Hi Christoph,
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: df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: df41017eafd267c08acbfff99d34e4f96bbfbc92 ia64: remove support for machvecs
date: 10 months ago
:::::: branch date: 6 hours ago
:::::: commit date: 10 months ago
config: ia64-randconfig-r025-20200612 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout df41017eafd267c08acbfff99d34e4f96bbfbc92
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_phdrs':
>> elfcore.c:(.text+0x192): undefined reference to `dump_emit'
ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_data':
elfcore.c:(.text+0x2f2): undefined reference to `dump_emit'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
[chrome-os:chromeos-4.19 3/11] include/linux/compiler.h:25:18: warning: too many arguments for format
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 59745312216d50b3bbeebb92f5aaa9a57996ebb5
commit: 24f9cfbc3921d4f2ded2adcc5e55160191d60958 [3/11] CHROMIUM: soc: cmdq: mediatek: add debug function
:::::: branch date: 17 hours ago
:::::: commit date: 35 hours ago
config: i386-randconfig-r011-20200612 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout 24f9cfbc3921d4f2ded2adcc5e55160191d60958
# 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 >>, old ones prefixed by <<):
In file included from include/linux/export.h:45:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:7,
from include/linux/list.h:9,
from include/linux/wait.h:7,
from include/linux/completion.h:12,
from drivers/soc/mediatek/mtk-cmdq-helper.c:5:
drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_client_timeout':
>> include/linux/compiler.h:25:18: warning: too many arguments for format [-Wformat-extra-args]
static struct ftrace_likely_data ^
include/linux/compiler.h:69:16: note: in definition of macro '__trace_if'
______r = !!(cond); ^
include/asm-generic/bug.h:134:2: note: in expansion of macro 'if'
if (unlikely(__ret_warn_on)) ^
include/linux/compiler.h:48:24: note: in expansion of macro '__branch_check__'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/asm-generic/bug.h:134:6: note: in expansion of macro 'unlikely'
if (unlikely(__ret_warn_on)) ^
include/asm-generic/bug.h:166:3: note: in expansion of macro 'WARN'
WARN(1, format); ^
drivers/soc/mediatek/mtk-cmdq-helper.c:62:2: note: in expansion of macro 'WARN_ONCE'
WARN_ONCE(1, "cmdq timeout!n", client->client.dev);
^
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git remote update chrome-os
git checkout 24f9cfbc3921d4f2ded2adcc5e55160191d60958
vim +25 include/linux/compiler.h
1f0d69a9fc815d Steven Rostedt 2008-11-12 22
d45ae1f7041ac5 Steven Rostedt (VMware 2017-01-17 23) #define __branch_check__(x, expect, is_constant) ({ \
2026d35741f2c3 Mikulas Patocka 2018-05-30 24 long ______r; \
134e6a034cb004 Steven Rostedt (VMware 2017-01-19 @25) static struct ftrace_likely_data \
1f0d69a9fc815d Steven Rostedt 2008-11-12 26 __attribute__((__aligned__(4))) \
45b797492a0758 Steven Rostedt 2008-11-21 27 __attribute__((section("_ftrace_annotated_branch"))) \
1f0d69a9fc815d Steven Rostedt 2008-11-12 28 ______f = { \
134e6a034cb004 Steven Rostedt (VMware 2017-01-19 29) .data.func = __func__, \
134e6a034cb004 Steven Rostedt (VMware 2017-01-19 30) .data.file = __FILE__, \
134e6a034cb004 Steven Rostedt (VMware 2017-01-19 31) .data.line = __LINE__, \
1f0d69a9fc815d Steven Rostedt 2008-11-12 32 }; \
d45ae1f7041ac5 Steven Rostedt (VMware 2017-01-17 33) ______r = __builtin_expect(!!(x), expect); \
d45ae1f7041ac5 Steven Rostedt (VMware 2017-01-17 34) ftrace_likely_update(&______f, ______r, \
d45ae1f7041ac5 Steven Rostedt (VMware 2017-01-17 35) expect, is_constant); \
1f0d69a9fc815d Steven Rostedt 2008-11-12 36 ______r; \
1f0d69a9fc815d Steven Rostedt 2008-11-12 37 })
1f0d69a9fc815d Steven Rostedt 2008-11-12 38
:::::: The code at line 25 was first introduced by commit
:::::: 134e6a034cb004ed5acd3048792de70ced1c6cf5 tracing: Show number of constants profiled in likely profiler
:::::: TO: Steven Rostedt (VMware) <rostedt(a)goodmis.org>
:::::: CC: Steven Rostedt (VMware) <rostedt(a)goodmis.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
[ti:ti-linux-5.4.y 7046/7050] drivers/crypto/sa2ul.c:1296:25: warning: variable 'rctx' set but not used
by kernel test robot
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.4.y
head: 134a1b1f8814115e2dd115b67082321bf9e63cc1
commit: 2e7c47e07621e99da76060d7e85b2ea050ad97b0 [7046/7050] crypto: sa2ul: convert hash fallback mechanism to use local buffer
:::::: branch date: 7 hours ago
:::::: commit date: 12 hours ago
config: arm64-randconfig-c004-20200612 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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 <<):
drivers/crypto/sa2ul.c: In function 'sa_cipher_setkey':
drivers/crypto/sa2ul.c:856:14: warning: variable 'cra_name' set but not used [-Wunused-but-set-variable]
856 | const char *cra_name;
| ^~~~~~~~
drivers/crypto/sa2ul.c: In function 'sa_sha_dma_in_callback':
>> drivers/crypto/sa2ul.c:1296:25: warning: variable 'rctx' set but not used [-Wunused-but-set-variable]
1296 | struct sa_sha_req_ctx *rctx;
| ^~~~
drivers/crypto/sa2ul.c: At top level:
drivers/crypto/sa2ul.c:2211:6: warning: no previous prototype for 'sa_register_algos' [-Wmissing-prototypes]
2211 | void sa_register_algos(const struct device *dev)
| ^~~~~~~~~~~~~~~~~
drivers/crypto/sa2ul.c:2243:6: warning: no previous prototype for 'sa_unregister_algos' [-Wmissing-prototypes]
2243 | void sa_unregister_algos(const struct device *dev)
| ^~~~~~~~~~~~~~~~~~~
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git remote update ti
git checkout 2e7c47e07621e99da76060d7e85b2ea050ad97b0
vim +/rctx +1296 drivers/crypto/sa2ul.c
491c6a44ee1ed9 Keerthy 2020-01-17 1289
b30be50bf38eb7 Tero Kristo 2020-05-26 1290 static void sa_sha_dma_in_callback(void *data)
dfcac7a6a1f9e0 Keerthy 2020-01-17 1291 {
dfcac7a6a1f9e0 Keerthy 2020-01-17 1292 struct sa_rx_data *rxd = (struct sa_rx_data *)data;
b30be50bf38eb7 Tero Kristo 2020-05-26 1293 struct ahash_request *req;
b30be50bf38eb7 Tero Kristo 2020-05-26 1294 struct crypto_ahash *tfm;
b30be50bf38eb7 Tero Kristo 2020-05-26 1295 unsigned int authsize;
b30be50bf38eb7 Tero Kristo 2020-05-26 @1296 struct sa_sha_req_ctx *rctx;
dfcac7a6a1f9e0 Keerthy 2020-01-17 1297 int i, sg_nents;
dfcac7a6a1f9e0 Keerthy 2020-01-17 1298 size_t ml, pl;
dfcac7a6a1f9e0 Keerthy 2020-01-17 1299 u32 *mdptr, *result;
dfcac7a6a1f9e0 Keerthy 2020-01-17 1300
b30be50bf38eb7 Tero Kristo 2020-05-26 1301 req = container_of(rxd->req, struct ahash_request, base);
b30be50bf38eb7 Tero Kristo 2020-05-26 1302 tfm = crypto_ahash_reqtfm(req);
b30be50bf38eb7 Tero Kristo 2020-05-26 1303 authsize = crypto_ahash_digestsize(tfm);
b30be50bf38eb7 Tero Kristo 2020-05-26 1304 rctx = ahash_request_ctx(req);
b30be50bf38eb7 Tero Kristo 2020-05-26 1305
dfcac7a6a1f9e0 Keerthy 2020-01-17 1306 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml);
dfcac7a6a1f9e0 Keerthy 2020-01-17 1307 result = (u32 *)req->result;
dfcac7a6a1f9e0 Keerthy 2020-01-17 1308
2e7c47e07621e9 Tero Kristo 2020-05-26 1309 if (result)
dfcac7a6a1f9e0 Keerthy 2020-01-17 1310 for (i = 0; i < (authsize / 4); i++)
dfcac7a6a1f9e0 Keerthy 2020-01-17 1311 result[i] = htonl(mdptr[i + 4]);
dfcac7a6a1f9e0 Keerthy 2020-01-17 1312
b30be50bf38eb7 Tero Kristo 2020-05-26 1313 sg_nents = sg_nents_for_len(req->src, req->nbytes);
b30be50bf38eb7 Tero Kristo 2020-05-26 1314 dma_unmap_sg(rxd->ddev, req->src, sg_nents, DMA_FROM_DEVICE);
b30be50bf38eb7 Tero Kristo 2020-05-26 1315
b30be50bf38eb7 Tero Kristo 2020-05-26 1316 kfree(rxd->split_src_sg);
dfcac7a6a1f9e0 Keerthy 2020-01-17 1317
dfcac7a6a1f9e0 Keerthy 2020-01-17 1318 kfree(rxd);
dfcac7a6a1f9e0 Keerthy 2020-01-17 1319
dfcac7a6a1f9e0 Keerthy 2020-01-17 1320 ahash_request_complete(req, 0);
dfcac7a6a1f9e0 Keerthy 2020-01-17 1321 }
dfcac7a6a1f9e0 Keerthy 2020-01-17 1322
:::::: The code at line 1296 was first introduced by commit
:::::: b30be50bf38eb7964bc59dbfefd120939b357b37 crypto: sa2ul: sync codebase with latest upstream
:::::: TO: Tero Kristo <t-kristo(a)ti.com>
:::::: CC: Tero Kristo <t-kristo(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b791d1bdf9212d944d749a5c7ff6febdba241771
commit: c50ed99cd56ee725d9e14dffec8e8f1641b8ca30 scsi: mpt3sas: Remove usage of device_busy counter
date: 5 months ago
:::::: branch date: 14 hours ago
:::::: commit date: 5 months ago
config: i386-randconfig-r015-20200612 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout c50ed99cd56ee725d9e14dffec8e8f1641b8ca30
# 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 >>, old ones prefixed by <<):
>> drivers/scsi/mpt3sas/mpt3sas_base.c:3584:1: warning: no previous declaration for '_base_sdev_nr_inflight_request' [-Wmissing-declarations]
_base_sdev_nr_inflight_request(struct request_queue *q)
^
# 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 remote update linus
git checkout c50ed99cd56ee725d9e14dffec8e8f1641b8ca30
vim +/_base_sdev_nr_inflight_request +3584 drivers/scsi/mpt3sas/mpt3sas_base.c
03d1fb3a657839 Suganath prabu Subramani 2016-01-28 3575
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3576 /**
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3577 * _base_sdev_nr_inflight_request -get number of inflight requests
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3578 * of a request queue.
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3579 * @q: request_queue object
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3580 *
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3581 * returns number of inflight request of a request queue.
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3582 */
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3583 inline unsigned long
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 @3584 _base_sdev_nr_inflight_request(struct request_queue *q)
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3585 {
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3586 struct blk_mq_hw_ctx *hctx = q->queue_hw_ctx[0];
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3587
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3588 return atomic_read(&hctx->nr_active);
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3589 }
c50ed99cd56ee7 Sreekanth Reddy 2019-12-26 3590
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 3 months
Re: [PATCH v1 082/107] media: ti-vpe: cal: Move CAL I/O accessors to cal.h
by kernel test robot
Hi Laurent,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v5.8-rc1 next-20200614]
[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/Laurent-Pinchart/media-ti-vpe-ca...
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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 <<):
In file included from include/linux/err.h:5,
from include/linux/clk.h:12,
from drivers/media/platform/ti-vpe/cal.c:12:
drivers/media/platform/ti-vpe/cal.h: In function 'cal_write_field':
include/linux/bitfield.h:52:28: warning: comparison is always false due to limited range of data type [-Wtype-limits]
52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, | ^
include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert'
330 | if (!(condition)) | ^~~~~~~~~
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
350 | _compiletime_assert(condition, msg, __compiletime_assert_, __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/bitfield.h:52:3: note: in expansion of macro 'BUILD_BUG_ON_MSG'
52 | BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, | ^~~~~~~~~~~~~~~~
include/linux/bitfield.h:94:3: note: in expansion of macro '__BF_FIELD_CHECK'
94 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); | ^~~~~~~~~~~~~~~~
>> drivers/media/platform/ti-vpe/cal.h:229:9: note: in expansion of macro 'FIELD_PREP'
229 | val |= FIELD_PREP(mask, value);
| ^~~~~~~~~~
vim +/FIELD_PREP +229 drivers/media/platform/ti-vpe/cal.h
222
223 static inline void cal_write_field(struct cal_dev *cal, u32 offset, u32 value,
224 u32 mask)
225 {
226 u32 val = cal_read(cal, offset);
227
228 val &= ~mask;
> 229 val |= FIELD_PREP(mask, value);
230 cal_write(cal, offset, val);
231 }
232
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[chrome-os:chromeos-5.4 3/10] /tmp/ipv6-998441.s:1288: Error: bad expression
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: e750aa38b72bb12d634d711213d2d8e5b23e5b09
commit: 2672af5cccad3454d7d0545d86e2bea2b813d09e [3/10] BACKPORT:FROMGIT:Bluetooth: centralize default value initialization.
config: s390-randconfig-r023-20200614 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project cb5072d1877b38c972f95092db2cedbcddb81da6)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390-linux-gnu
git checkout 2672af5cccad3454d7d0545d86e2bea2b813d09e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the chrome-os/chromeos-5.4 HEAD e750aa38b72bb12d634d711213d2d8e5b23e5b09 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>, old ones prefixed by <<):
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : ^
include/uapi/linux/swab.h:20:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x0000ff00UL) << 8) | ^
In file included from net/dccp/ipv6.c:17:
In file included from include/net/addrconf.h:52:
In file included from include/linux/ipv6.h:87:
In file included from include/linux/icmpv6.h:5:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : ^
include/uapi/linux/swab.h:21:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | ^
In file included from net/dccp/ipv6.c:17:
In file included from include/net/addrconf.h:52:
In file included from include/linux/ipv6.h:87:
In file included from include/linux/icmpv6.h:5:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:119:21: note: expanded from macro '__swab32'
___constant_swab32(x) : ^
include/uapi/linux/swab.h:22:12: note: expanded from macro '___constant_swab32'
(((__u32)(x) & (__u32)0xff000000UL) >> 24)))
^
In file included from net/dccp/ipv6.c:17:
In file included from include/net/addrconf.h:52:
In file included from include/linux/ipv6.h:87:
In file included from include/linux/icmpv6.h:5:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:492:45: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr));
~~~~~~~~~~ ^
include/uapi/linux/byteorder/big_endian.h:34:59: note: expanded from macro '__le32_to_cpu'
#define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
^
include/uapi/linux/swab.h:120:12: note: expanded from macro '__swab32'
__fswab32(x))
^
In file included from net/dccp/ipv6.c:17:
In file included from include/net/addrconf.h:52:
In file included from include/linux/ipv6.h:87:
In file included from include/linux/icmpv6.h:5:
In file included from include/linux/skbuff.h:31:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:9:
In file included from arch/s390/include/asm/io.h:76:
include/asm-generic/io.h:503:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writeb(value, PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:513:46: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writew(cpu_to_le16(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:523:46: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
__raw_writel(cpu_to_le32(value), PCI_IOBASE + addr);
~~~~~~~~~~ ^
include/asm-generic/io.h:585:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:593:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:601:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
readsl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:610:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesb(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:619:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesw(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
include/asm-generic/io.h:628:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
writesl(PCI_IOBASE + addr, buffer, count);
~~~~~~~~~~ ^
20 warnings generated.
/tmp/ipv6-998441.s: Assembler messages:
>> /tmp/ipv6-998441.s:1288: Error: bad expression
>> /tmp/ipv6-998441.s:1288: Error: junk at end of line, first unrecognized character is `r'
clang-11: error: assembler command failed with exit code 1 (use -v to see invocation)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months