From: kernel test robot <lkp@intel.com>
To: Chuanhua Han <hanchuanhua@oppo.com>
Cc: oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Barry Song <v-songbaohua@oppo.com>
Subject: [akpm-mm:mm-unstable 360/372] do_mounts.c:(.text+0xc): multiple definition of `swap_free_nr'; init/main.o:main.c:(.text+0x0): first defined here
Date: Thu, 11 Apr 2024 17:47:56 +0800 [thread overview]
Message-ID: <202404111752.Kgu9bb5I-lkp@intel.com> (raw)
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404111752.Kgu9bb5I-lkp@intel.com/
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
reply other threads:[~2024-04-11 9:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404111752.Kgu9bb5I-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hanchuanhua@oppo.com \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=v-songbaohua@oppo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox