From: kernel test robot <lkp@intel.com>
To: Petr Pavlu <petr.pavlu@suse.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Luis Chamberlain <mcgrof@kernel.org>,
Sami Tolvanen <samitolvanen@google.com>,
Daniel Gomez <da.gomez@kernel.org>,
linux-modules@vger.kernel.org
Subject: [modules:ppavlu-module-include 32/37] mm/page_alloc.c:6949:2: error: call to undeclared function 'DEFINE_DYNAMIC_DEBUG_METADATA'; ISO C99 and later do not support implicit function declarations
Date: Thu, 20 Aug 2026 01:58:31 +0200 [thread overview]
Message-ID: <202608200157.w2LJC8K6-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git ppavlu-module-include
head: fcbfd3cbe0a054838436812cc0b664f71ba1d0a4
commit: 1c6a138c5d5c9156a13a7d82df4f2fec5c2b71a2 [32/37] WIP: module: Avoid including linux/dynamic_debug in linux/module.h
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260820/202608200157.w2LJC8K6-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260820/202608200157.w2LJC8K6-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/202608200157.w2LJC8K6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/page_alloc.c:6949:2: error: call to undeclared function 'DEFINE_DYNAMIC_DEBUG_METADATA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
6949 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
| ^
>> mm/page_alloc.c:6949:32: error: use of undeclared identifier 'descriptor'
6949 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
| ^~~~~~~~~~
>> mm/page_alloc.c:6951:6: error: call to undeclared function 'DYNAMIC_DEBUG_BRANCH'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
6951 | if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
| ^
mm/page_alloc.c:6951:27: error: use of undeclared identifier 'descriptor'
6951 | if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
| ^~~~~~~~~~
4 errors generated.
vim +/DEFINE_DYNAMIC_DEBUG_METADATA +6949 mm/page_alloc.c
4aa4abf1f14bd6 Ryan Roberts 2026-04-01 6944
8df995f6bde01d Alexandre Ghiti 2019-05-13 6945 #ifdef CONFIG_CONTIG_ALLOC
a1394bddf9b60e Minchan Kim 2021-04-29 6946 /* Usage: See admin-guide/dynamic-debug-howto.rst */
a1394bddf9b60e Minchan Kim 2021-04-29 6947 static void alloc_contig_dump_pages(struct list_head *page_list)
a1394bddf9b60e Minchan Kim 2021-04-29 6948 {
a1394bddf9b60e Minchan Kim 2021-04-29 @6949 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
a1394bddf9b60e Minchan Kim 2021-04-29 6950
a1394bddf9b60e Minchan Kim 2021-04-29 @6951 if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
a1394bddf9b60e Minchan Kim 2021-04-29 6952 struct page *page;
a1394bddf9b60e Minchan Kim 2021-04-29 6953
a1394bddf9b60e Minchan Kim 2021-04-29 6954 dump_stack();
a1394bddf9b60e Minchan Kim 2021-04-29 6955 list_for_each_entry(page, page_list, lru)
a1394bddf9b60e Minchan Kim 2021-04-29 6956 dump_page(page, "migration failure");
a1394bddf9b60e Minchan Kim 2021-04-29 6957 }
a1394bddf9b60e Minchan Kim 2021-04-29 6958 }
a1394bddf9b60e Minchan Kim 2021-04-29 6959
:::::: The code at line 6949 was first introduced by commit
:::::: a1394bddf9b60e96d075d94b71a8857696598186 mm: page_alloc: dump migrate-failed pages
:::::: TO: Minchan Kim <minchan@kernel.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-19 23:59 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=202608200157.w2LJC8K6-lkp@intel.com \
--to=lkp@intel.com \
--cc=da.gomez@kernel.org \
--cc=linux-modules@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mcgrof@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=petr.pavlu@suse.com \
--cc=samitolvanen@google.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 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.