From: kernel test robot <lkp@intel.com>
To: SJ Park <sj@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [sj:damon/next 41/139] mm/damon/vaddr.c:891:35: error: too few arguments to function call, expected 2, have 1
Date: Sun, 01 Nov 2026 04:00:40 +0100 [thread overview]
Message-ID: <202611010353.NDt2ru5X-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
head: 7004d750fdd0fe580091136ef098fba296e51863
commit: 046c68e46b042453c4cdbd909eb4dc448dde6325 [41/139] mm/damon/vaddr: use damos->last_applied for migrate action
config: arm64-randconfig-2000-20261101 (https://download.01.org/0day-ci/archive/20261101/202611010353.NDt2ru5X-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 8f6b51ca8bab1d49006ddaa042bc7e4e7306975d)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261101/202611010353.NDt2ru5X-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/202611010353.NDt2ru5X-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/damon/vaddr.c:891:35: error: too few arguments to function call, expected 2, have 1
891 | if (damos_va_invalid_folio(folio))
| ~~~~~~~~~~~~~~~~~~~~~~ ^
mm/damon/vaddr.c:840:20: note: 'damos_va_invalid_folio' declared here
840 | static inline bool damos_va_invalid_folio(struct folio *folio,
| ^ ~~~~~~~~~~~~~~~~~~~~
841 | struct damos *s)
| ~~~~~~~~~~~~~~~
1 error generated.
vim +891 mm/damon/vaddr.c
877
878 start_pte = pte = pte_offset_map_lock(walk->mm, pmd, addr, &ptl);
879 if (!pte)
880 return 0;
881
882 for (; addr < next; pte += nr, addr += nr * PAGE_SIZE) {
883 unsigned long page_idx;
884
885 nr = 1;
886 ptent = ptep_get(pte);
887
888 if (pte_none(ptent) || !pte_present(ptent))
889 continue;
890 folio = vm_normal_folio(walk->vma, addr, ptent);
> 891 if (damos_va_invalid_folio(folio))
892 continue;
893 page_idx = folio_page_idx(folio, pte_page(ptent));
894 nr = folio_nr_pages(folio) - page_idx;
895 if (damos_va_filter_out(s, folio, walk->vma, addr, pte, NULL))
896 continue;
897 s->last_applied = folio;
898 damos_va_migrate_dests_add(folio, walk->vma, addr, s,
899 migration_lists);
900 }
901 pte_unmap_unlock(start_pte, ptl);
902 return 0;
903 }
904
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-01 3:01 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=202611010353.NDt2ru5X-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sj@kernel.org \
/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