tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: de14d5f2a9ff2df737a01575ee95bc5a35f5853d commit: ca23b4d4cae5d32a9d22fb3c39550dcf43df83f9 [360/372] mm: swap: introduce swap_free_nr() for batched swap_free() config: sh-allnoconfig (https://download.01.org/0day-ci/archive/20240411/202404111752.Kgu9bb5I-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240411/202404111752.Kgu9bb5I-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202404111752.Kgu9bb5I-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): sh4-linux-ld: init/do_mounts.o: in function `swap_free_nr': >> do_mounts.c:(.text+0xc): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: arch/sh/mm/init.o: in function `swap_free_nr': init.c:(.text+0x0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/fork.o: in function `swap_free_nr': fork.c:(.text+0x8d0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/cpu.o: in function `swap_free_nr': cpu.c:(.text+0x4c0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/sysctl.o: in function `swap_free_nr': sysctl.c:(.text+0x16e4): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/sys.o: in function `swap_free_nr': sys.c:(.text+0x1134): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/umh.o: in function `swap_free_nr': umh.c:(.text+0x6e0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/reboot.o: in function `swap_free_nr': reboot.c:(.text+0x7bc): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/sched/core.o: in function `swap_free_nr': core.c:(.text+0x528): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/sched/build_policy.o: in function `swap_free_nr': build_policy.c:(.text+0x2498): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: kernel/time/timer.o: in function `swap_free_nr': timer.c:(.text+0xed4): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/filemap.o: in function `swap_free_nr': filemap.c:(.text+0x22f0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/oom_kill.o: in function `swap_free_nr': oom_kill.c:(.text+0x650): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/fadvise.o: in function `swap_free_nr': fadvise.c:(.text+0x250): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/maccess.o: in function `swap_free_nr': maccess.c:(.text+0xb0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/page-writeback.o: in function `swap_free_nr': page-writeback.c:(.text+0x1948): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/folio-compat.o: in function `swap_free_nr': folio-compat.c:(.text+0x1b0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/readahead.o: in function `swap_free_nr': readahead.c:(.text+0x890): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/swap.o: in function `swap_free_nr': swap.c:(.text+0x1708): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/truncate.o: in function `swap_free_nr': truncate.c:(.text+0x660): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/vmscan.o: in function `swap_free_nr': vmscan.c:(.text+0x1d2c): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/shrinker.o: in function `swap_free_nr': shrinker.c:(.text+0x3e8): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/shmem.o: in function `swap_free_nr': shmem.c:(.text+0x1dc): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/util.o: in function `swap_free_nr': util.c:(.text+0x8c0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/vmstat.o: in function `swap_free_nr': vmstat.c:(.text+0x874): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/backing-dev.o: in function `swap_free_nr': backing-dev.c:(.text+0x648): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/mm_init.o: in function `swap_free_nr': mm_init.c:(.text+0x0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/slab_common.o: in function `swap_free_nr': slab_common.c:(.text+0x844): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/compaction.o: in function `swap_free_nr': compaction.c:(.text+0x0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/show_mem.o: in function `swap_free_nr': show_mem.c:(.text+0xc0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/shmem_quota.o: in function `swap_free_nr': shmem_quota.c:(.text+0x0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/list_lru.o: in function `swap_free_nr': list_lru.c:(.text+0x25c): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/workingset.o: in function `swap_free_nr': workingset.c:(.text+0x2e4): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/debug.o: in function `swap_free_nr': debug.c:(.text+0x2d4): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/gup.o: in function `swap_free_nr': gup.c:(.text+0xc48): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/nommu.o: in function `swap_free_nr': nommu.c:(.text+0xc64): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/page_alloc.o: in function `swap_free_nr': page_alloc.c:(.text+0x128c): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/memblock.o: in function `swap_free_nr': memblock.c:(.text+0x40): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/slub.o: in function `swap_free_nr': slub.c:(.text+0x1824): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: mm/sparse.o: in function `swap_free_nr': sparse.c:(.text+0x0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/file_table.o: in function `swap_free_nr': file_table.c:(.text+0x6a0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/exec.o: in function `swap_free_nr': exec.c:(.text+0x1610): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/inode.o: in function `swap_free_nr': inode.c:(.text+0x2634): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/namespace.o: in function `swap_free_nr': namespace.c:(.text+0x33ec): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/splice.o: in function `swap_free_nr': splice.c:(.text+0x1b88): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/coredump.o: in function `swap_free_nr': coredump.c:(.text+0xf14): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/drop_caches.o: in function `swap_free_nr': drop_caches.c:(.text+0xb0): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/iomap/buffered-io.o: in function `swap_free_nr': buffered-io.c:(.text+0x3fdc): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/proc/nommu.o: in function `swap_free_nr': nommu.c:(.text+0x1bc): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/proc/base.o: in function `swap_free_nr': base.c:(.text+0x262c): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here sh4-linux-ld: fs/proc/array.o: in function `swap_free_nr': array.c:(.text+0x6b4): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki