public inbox for linux-mm@kvack.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 433/449] vm_util.c:133:14: error: too many arguments to function 'pagemap_scan_supported'
@ 2026-03-21  2:34 kernel test robot
  2026-03-21  2:57 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-03-21  2:34 UTC (permalink / raw)
  To: Chris Down
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, Mike Rapoport (Microsoft)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   28edd9c5a25ceb76c2d4e55bc5c37acd7eb0fc92
commit: 6fa1bf6b010deb50b35d2b2a7c97e7e229f2747e [433/449] selftests/mm: add UFFDIO_MOVE huge zeropage PMD regression test
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260321/202603210319.P5MPyTEf-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260321/202603210319.P5MPyTEf-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/202603210319.P5MPyTEf-lkp@intel.com/

Note: the akpm-mm/mm-unstable HEAD 28edd9c5a25ceb76c2d4e55bc5c37acd7eb0fc92 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   vm_util.c: In function 'pagemap_is_huge_zero':
>> vm_util.c:133:14: error: too many arguments to function 'pagemap_scan_supported'
     133 |         if (!pagemap_scan_supported(fd, start))
         |              ^~~~~~~~~~~~~~~~~~~~~~
   vm_util.c:70:13: note: declared here
      70 | static bool pagemap_scan_supported(int fd)
         |             ^~~~~~~~~~~~~~~~~~~~~~

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [akpm-mm:mm-unstable 433/449] vm_util.c:133:14: error: too many arguments to function 'pagemap_scan_supported'
  2026-03-21  2:34 [akpm-mm:mm-unstable 433/449] vm_util.c:133:14: error: too many arguments to function 'pagemap_scan_supported' kernel test robot
@ 2026-03-21  2:57 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2026-03-21  2:57 UTC (permalink / raw)
  To: kernel test robot
  Cc: Chris Down, oe-kbuild-all, David Hildenbrand,
	Linux Memory Management List, Mike Rapoport (Microsoft)

On Sat, 21 Mar 2026 03:34:21 +0100 kernel test robot <lkp@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
> head:   28edd9c5a25ceb76c2d4e55bc5c37acd7eb0fc92
> commit: 6fa1bf6b010deb50b35d2b2a7c97e7e229f2747e [433/449] selftests/mm: add UFFDIO_MOVE huge zeropage PMD regression test
> config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260321/202603210319.P5MPyTEf-lkp@intel.com/config)
> compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260321/202603210319.P5MPyTEf-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/202603210319.P5MPyTEf-lkp@intel.com/
> 
> Note: the akpm-mm/mm-unstable HEAD 28edd9c5a25ceb76c2d4e55bc5c37acd7eb0fc92 builds fine.
>       It only hurts bisectability.

No, there is no later patch which fixes this.

> All errors (new ones prefixed by >>):
> 
>    vm_util.c: In function 'pagemap_is_huge_zero':
> >> vm_util.c:133:14: error: too many arguments to function 'pagemap_scan_supported'
>      133 |         if (!pagemap_scan_supported(fd, start))
>          |              ^~~~~~~~~~~~~~~~~~~~~~
>    vm_util.c:70:13: note: declared here
>       70 | static bool pagemap_scan_supported(int fd)
>          |             ^~~~~~~~~~~~~~~~~~~~~~
> 

Thanks, I assume this:

--- a/tools/testing/selftests/mm/vm_util.c~selftests-mm-add-uffdio_move-huge-zeropage-pmd-regression-test-fix
+++ a/tools/testing/selftests/mm/vm_util.c
@@ -130,7 +130,7 @@ bool pagemap_is_huge_zero(int fd, char *
 {
 	uint64_t categories;
 
-	if (!pagemap_scan_supported(fd, start))
+	if (!pagemap_scan_supported(fd))
 		return false;
 
 	categories = pagemap_scan_get_categories(fd, start);
_



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-21  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-21  2:34 [akpm-mm:mm-unstable 433/449] vm_util.c:133:14: error: too many arguments to function 'pagemap_scan_supported' kernel test robot
2026-03-21  2:57 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox