From: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
To: kernel test robot <oliver.sang@intel.com>
Cc: oe-lkp@lists.linux.dev, lkp@intel.com,
Andrew Morton <akpm@linux-foundation.org>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Barry Song <baohua@kernel.org>,
David Hildenbrand <david@kernel.org>, Dev Jain <dev.jain@arm.com>,
Jason Gunthorpe <jgg@nvidia.com>,
Liam Howlett <liam.howlett@oracle.com>,
Suren Baghdasaryan <surenb@google.com>,
Vlastimil Babka <vbabka@suse.cz>, Zi Yan <ziy@nvidia.com>,
Damien Le Moal <dlemoal@kernel.org>,
"Darrick J. Wong" <djwong@kernel.org>,
linux-mm@kvack.org
Subject: Re: [linux-next:master] [tools/testing/vma] 28d7ff9930: ktools.vma.make.fail
Date: Tue, 27 Jan 2026 08:18:12 +0000 [thread overview]
Message-ID: <8b1135d4-387c-4c4c-94fd-22bc433a0e6c@lucifer.local> (raw)
In-Reply-To: <202601271308.b8d3fcb6-lkp@intel.com>
On Tue, Jan 27, 2026 at 02:13:11PM +0800, kernel test robot wrote:
>
>
> Hello,
>
> kernel test robot noticed "ktools.vma.make.fail" on:
Thanks to whoever set this up :) so far VMA userland tests have not been
exercised very much and I've had to find issues manually :)
>
> commit: 28d7ff99300f3a897eb6419efafdbcf96978f637 ("tools/testing/vma: separate out vma_internal.h into logical headers")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
Hm this is strange, this works perfectly fine locally at this commit.
But it does seem this is duplicated so will fix-patch at this point in the series.
I notice the build is broken however at tip on next (will bisect), I guess the
bot hasn't got there yet? Seems somebody added a compiler directive that is not
stubbed out yet.
I might simply fix by adding to this commit as a stub to avoid hassle with
chasing down the offending patch...
Cheers, Lorenzo
>
> in testcase: ktools
> version:
> with following parameters:
>
> test: vma
>
>
>
> config: x86_64-rhel-9.4-func
> compiler: gcc-14
> test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
>
>
>
> 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 <oliver.sang@intel.com>
> | Closes: https://lore.kernel.org/oe-lkp/202601271308.b8d3fcb6-lkp@intel.com
>
>
> KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-9.4-func-28d7ff99300f3a897eb6419efafdbcf96978f637
>
> Generating generated/map-shift.h
> Generating generated/bit-length.h
> cp ../shared/autoconf.h generated/autoconf.h
> cc -c -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined ../shared/xarray-shared.c -o xarray-shared.o
> sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < ../../../lib/radix-tree.c > radix-tree.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o radix-tree.o radix-tree.c
> sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < ../../../lib/idr.c > idr.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o idr.o idr.c
> cc -c -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined ../shared/linux.c -o linux.o
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o slab.o ../../lib/slab.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o find_bit.o ../../lib/find_bit.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o bitmap.o ../../lib/bitmap.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o hweight.o ../../lib/hweight.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o vsprintf.o ../../lib/vsprintf.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o main.o main.c
> In file included from shared.h:12,
> from main.c:3:
> ../../../mm/vma.h:158:8: error: redefinition of ‘struct unmap_desc’
> 158 | struct unmap_desc {
> | ^~~~~~~~~~
> In file included from vma_internal.h:55,
> from shared.h:11:
> include/dup.h:1331:8: note: originally defined here
> 1331 | struct unmap_desc {
> | ^~~~~~~~~~
> In file included from main.c:10:
> ../../../mm/vma.c: In function ‘unmap_region’:
> ../../../mm/vma.c:485:26: error: passing argument 2 of ‘unmap_vmas’ from incompatible pointer type [-Wincompatible-pointer-types]
> 485 | unmap_vmas(&tlb, unmap);
> | ^~~~~
> | |
> | struct unmap_desc *
> In file included from vma_internal.h:54:
> include/stubs.h:391:74: note: expected ‘struct unmap_desc *’ but argument is of type ‘struct unmap_desc *’
> 391 | static inline void unmap_vmas(struct mmu_gather *tlb, struct unmap_desc *unmap)
> | ~~~~~~~~~~~~~~~~~~~^~~~~
> ../../../mm/vma.c:487:29: error: passing argument 2 of ‘free_pgtables’ from incompatible pointer type [-Wincompatible-pointer-types]
> 487 | free_pgtables(&tlb, unmap);
> | ^~~~~
> | |
> | struct unmap_desc *
> include/stubs.h:395:77: note: expected ‘struct unmap_desc *’ but argument is of type ‘struct unmap_desc *’
> 395 | static inline void free_pgtables(struct mmu_gather *tlb, struct unmap_desc *unmap)
> | ~~~~~~~~~~~~~~~~~~~^~~~~
> make: *** [<builtin>: main.o] Error 1
> make vma failed
>
>
>
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20260127/202601271308.b8d3fcb6-lkp@intel.com
>
>
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>
next prev parent reply other threads:[~2026-01-27 8:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-27 6:13 kernel test robot
2026-01-27 8:18 ` Lorenzo Stoakes [this message]
2026-01-27 10:05 ` Lorenzo Stoakes
2026-01-27 10:17 ` Lorenzo Stoakes
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=8b1135d4-387c-4c4c-94fd-22bc433a0e6c@lucifer.local \
--to=lorenzo.stoakes@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=david@kernel.org \
--cc=dev.jain@arm.com \
--cc=djwong@kernel.org \
--cc=dlemoal@kernel.org \
--cc=jgg@nvidia.com \
--cc=liam.howlett@oracle.com \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
--cc=oliver.sang@intel.com \
--cc=surenb@google.com \
--cc=vbabka@suse.cz \
--cc=ziy@nvidia.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