Re: [PATCH 2/3] block/diskstats: accumulate all per-cpu counters in one pass

From: kbuild test robot
Date: Mon Mar 02 2020 - 08:40:56 EST


Hi Konstantin,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on block/for-next]
[also build test ERROR on linux/master linus/master v5.6-rc4 next-20200228]
[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/Konstantin-Khlebnikov/block-diskstats-more-accurate-approximation-of-io_ticks-for-slow-disks/20200302-192211
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: init/do_mounts.o: in function `part_stat_read_all':
>> do_mounts.c:(.text+0x4ef): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: arch/um/kernel/mem.o: in function `part_stat_read_all':
mem.c:(.text+0x0): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: arch/um/kernel/process.o: in function `part_stat_read_all':
process.c:(.text+0x25f): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: arch/um/kernel/ptrace.o: in function `part_stat_read_all':
ptrace.c:(.text+0x14c): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: arch/um/drivers/ubd_kern.o: in function `part_stat_read_all':
ubd_kern.c:(.text+0x1f41): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/fork.o: in function `part_stat_read_all':
fork.c:(.text+0xbb2): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/cpu.o: in function `part_stat_read_all':
cpu.c:(.text+0x6a7): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/exit.o: in function `part_stat_read_all':
exit.c:(.text+0x5b4): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sysctl.o: in function `part_stat_read_all':
sysctl.c:(.text+0x18b5): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/signal.o: in function `part_stat_read_all':
signal.c:(.text+0xcd6): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sys.o: in function `part_stat_read_all':
sys.c:(.text+0xc36): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/umh.o: in function `part_stat_read_all':
umh.c:(.text+0xa25): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/task_work.o: in function `part_stat_read_all':
task_work.c:(.text+0x0): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/reboot.o: in function `part_stat_read_all':
reboot.c:(.text+0x243): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/kmod.o: in function `part_stat_read_all':
kmod.c:(.text+0x479): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/core.o: in function `part_stat_read_all':
core.c:(.text+0xa8e): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/loadavg.o: in function `part_stat_read_all':
loadavg.c:(.text+0x0): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/clock.o: in function `part_stat_read_all':
clock.c:(.text+0x24): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/cputime.o: in function `part_stat_read_all':
cputime.c:(.text+0x4f): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/idle.o: in function `part_stat_read_all':
idle.c:(.text+0x141): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/fair.o: in function `part_stat_read_all':
fair.c:(.text+0x125a): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/rt.o: in function `part_stat_read_all':
rt.c:(.text+0xc24): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/deadline.o: in function `part_stat_read_all':
deadline.c:(.text+0x11cf): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/wait.o: in function `part_stat_read_all':
wait.c:(.text+0x7f3): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/wait_bit.o: in function `part_stat_read_all':
wait_bit.c:(.text+0x215): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/swait.o: in function `part_stat_read_all':
swait.c:(.text+0x329): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/completion.o: in function `part_stat_read_all':
completion.c:(.text+0x13a): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/debug.o: in function `part_stat_read_all':
debug.c:(.text+0xd6e): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/cpuacct.o: in function `part_stat_read_all':
cpuacct.c:(.text+0x400): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/sched/membarrier.o: in function `part_stat_read_all':
membarrier.c:(.text+0x8a): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/power/process.o: in function `part_stat_read_all':
process.c:(.text+0x2cf): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/freezer.o: in function `part_stat_read_all':
freezer.c:(.text+0x1de): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/time/timer.o: in function `part_stat_read_all':
timer.c:(.text+0xd7e): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/acct.o: in function `part_stat_read_all':
acct.c:(.text+0x5e2): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/cgroup/cgroup.o: in function `part_stat_read_all':
cgroup.c:(.text+0x25e6): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: kernel/seccomp.o: in function `part_stat_read_all':
seccomp.c:(.text+0x1193): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/filemap.o: in function `part_stat_read_all':
filemap.c:(.text+0x2826): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/mempool.o: in function `part_stat_read_all':
mempool.c:(.text+0x741): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/oom_kill.o: in function `part_stat_read_all':
oom_kill.c:(.text+0x211): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/fadvise.o: in function `part_stat_read_all':
fadvise.c:(.text+0x27c): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/page-writeback.o: in function `part_stat_read_all':
page-writeback.c:(.text+0x1cb2): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/readahead.o: in function `part_stat_read_all':
readahead.c:(.text+0x3c8): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/swap.o: in function `part_stat_read_all':
swap.c:(.text+0x10de): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/truncate.o: in function `part_stat_read_all':
truncate.c:(.text+0x6f6): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/vmscan.o: in function `part_stat_read_all':
vmscan.c:(.text+0x99b): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/shmem.o: in function `part_stat_read_all':
shmem.c:(.text+0x33ec): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/util.o: in function `part_stat_read_all':
util.c:(.text+0x8fd): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/vmstat.o: in function `part_stat_read_all':
vmstat.c:(.text+0x988): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/backing-dev.o: in function `part_stat_read_all':
backing-dev.c:(.text+0x755): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/slab_common.o: in function `part_stat_read_all':
slab_common.c:(.text+0x6ff): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here
ld: mm/compaction.o: in function `part_stat_read_all':
compaction.c:(.text+0x0): multiple definition of `part_stat_read_all'; init/main.o:main.c:(.text+0x1d5): first defined here

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

Attachment: .config.gz
Description: application/gzip