From: kernel test robot <lkp@intel.com>
To: SJ Park <sj@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sj:damon/next 41/139] mm/damon/vaddr.c:891:21: error: too few arguments to function 'damos_va_invalid_folio'; expected 2, have 1
Date: Sun, 01 Nov 2026 04:00:38 +0100 [thread overview]
Message-ID: <202611010354.GdEQgO22-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: csky-randconfig-2000-20261101 (https://download.01.org/0day-ci/archive/20261101/202611010354.GdEQgO22-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 15.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261101/202611010354.GdEQgO22-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/202611010354.GdEQgO22-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/damon/vaddr.c: In function 'damos_va_migrate_pmd_entry':
>> mm/damon/vaddr.c:891:21: error: too few arguments to function 'damos_va_invalid_folio'; expected 2, have 1
891 | if (damos_va_invalid_folio(folio))
| ^~~~~~~~~~~~~~~~~~~~~~
mm/damon/vaddr.c:840:20: note: declared here
840 | static inline bool damos_va_invalid_folio(struct folio *folio,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/damos_va_invalid_folio +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
next reply other threads:[~2026-11-01 3:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 3:00 kernel test robot [this message]
2026-11-01 16:01 ` [sj:damon/next 41/139] mm/damon/vaddr.c:891:21: error: too few arguments to function 'damos_va_invalid_folio'; expected 2, have 1 SJ Park
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=202611010354.GdEQgO22-lkp@intel.com \
--to=lkp@intel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.