From: kernel test robot <lkp@intel.com>
To: David Hildenbrand <david@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Subject: [akpm-mm:mm-unstable 102/221] include/linux/pgtable.h:2000:17: error: implicit declaration of function 'VM_WARN_ON_ONCE'; did you mean 'WARN_ON_ONCE'?
Date: Mon, 25 Aug 2025 04:10:03 +0800 [thread overview]
Message-ID: <202508250425.yEOYgcC5-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: 3c3393d4b766eebdc475ea5bd6bbd3a221e2526e
commit: d2e502b0fe1166f68c7ca5815e73ad12bf87e74d [102/221] mm/memory: convert print_bad_pte() to print_bad_page_map()
config: xtensa-nommu_kc705_defconfig (https://download.01.org/0day-ci/archive/20250825/202508250425.yEOYgcC5-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250825/202508250425.yEOYgcC5-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/202508250425.yEOYgcC5-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/xtensa/include/asm/io.h:19,
from include/linux/io.h:12,
from lib/iomem_copy.c:8:
include/linux/pgtable.h: In function 'pgtable_level_to_str':
>> include/linux/pgtable.h:2000:17: error: implicit declaration of function 'VM_WARN_ON_ONCE'; did you mean 'WARN_ON_ONCE'? [-Wimplicit-function-declaration]
2000 | VM_WARN_ON_ONCE(1);
| ^~~~~~~~~~~~~~~
| WARN_ON_ONCE
vim +2000 include/linux/pgtable.h
1985
1986 static inline const char *pgtable_level_to_str(enum pgtable_level level)
1987 {
1988 switch (level) {
1989 case PGTABLE_LEVEL_PTE:
1990 return "pte";
1991 case PGTABLE_LEVEL_PMD:
1992 return "pmd";
1993 case PGTABLE_LEVEL_PUD:
1994 return "pud";
1995 case PGTABLE_LEVEL_P4D:
1996 return "p4d";
1997 case PGTABLE_LEVEL_PGD:
1998 return "pgd";
1999 default:
> 2000 VM_WARN_ON_ONCE(1);
2001 return "unknown";
2002 }
2003 }
2004
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-08-24 20:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-24 20:10 kernel test robot [this message]
2025-08-25 12:29 ` David Hildenbrand
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=202508250425.yEOYgcC5-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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