All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
	" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:dd-shrink-cached 63/64] lib/dynamic_debug.c:2630:9: error: implicit declaration of function 'arena_maple_tree_init'; did you mean 'maple_tree_init'?
Date: Wed, 19 Aug 2026 18:00:13 +0800	[thread overview]
Message-ID: <202608191706.bd8xvLkO-lkp@intel.com> (raw)

tree:   https://github.com/jimc/linux.git dd-shrink-cached
head:   917ff2e5a74ae1c252ad3a2c9017bd464f9258f9
commit: 4acac60938dcd93e79ded0a1601cd5804d915061 [63/64] lib/arena_maple_tree: Fix initialization, alignment, and reclaim bugs
config: sh-randconfig-r133-20260819 (https://download.01.org/0day-ci/archive/20260819/202608191706.bd8xvLkO-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260819/202608191706.bd8xvLkO-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/202608191706.bd8xvLkO-lkp@intel.com/

All errors (new ones prefixed by >>):

   lib/dynamic_debug.c:112:20: warning: no previous prototype for 'ddebug_arena_alloc' [-Wmissing-prototypes]
     112 | struct maple_node *ddebug_arena_alloc(void *arena, gfp_t gfp)
         |                    ^~~~~~~~~~~~~~~~~~
   lib/dynamic_debug.c: In function 'ddebug_resolve_site':
   lib/dynamic_debug.c:408:9: error: implicit declaration of function 'arena_mas_init' [-Wimplicit-function-declaration]
     408 |         arena_mas_init(&mas, mt, (unsigned long)dp);
         |         ^~~~~~~~~~~~~~
   lib/dynamic_debug.c:409:15: error: implicit declaration of function 'arena_mas_walk' [-Wimplicit-function-declaration]
     409 |         val = arena_mas_walk(&mas);
         |               ^~~~~~~~~~~~~~
   lib/dynamic_debug.c:409:13: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     409 |         val = arena_mas_walk(&mas);
         |             ^
   lib/dynamic_debug.c:415:39: error: implicit declaration of function 'arena_mas_prev' [-Wimplicit-function-declaration]
     415 |                         while ((val = arena_mas_prev(&mas, 0))) {
         |                                       ^~~~~~~~~~~~~~
   lib/dynamic_debug.c:415:37: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     415 |                         while ((val = arena_mas_prev(&mas, 0))) {
         |                                     ^
   lib/dynamic_debug.c: In function 'ddebug_store_tagged_range':
   lib/dynamic_debug.c:474:22: error: implicit declaration of function 'arena_mtree_store_range'; did you mean 'mtree_store_range'? [-Wimplicit-function-declaration]
     474 |                 rc = arena_mtree_store_range(mt, first, last, (void *)name, GFP_KERNEL);
         |                      ^~~~~~~~~~~~~~~~~~~~~~~
         |                      mtree_store_range
   lib/dynamic_debug.c: In function 'ddebug_resolve_range':
   lib/dynamic_debug.c:2310:21: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    2310 |                 val = arena_mas_walk(&mas);
         |                     ^
   lib/dynamic_debug.c:2321:21: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    2321 |         while ((val = arena_mas_prev(&mas, 0))) {
         |                     ^
   lib/dynamic_debug.c:2336:23: error: implicit declaration of function 'arena_mas_next' [-Wimplicit-function-declaration]
    2336 |         while ((val = arena_mas_next(&mas, ULONG_MAX))) {
         |                       ^~~~~~~~~~~~~~
   lib/dynamic_debug.c:2336:21: error: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    2336 |         while ((val = arena_mas_next(&mas, ULONG_MAX))) {
         |                     ^
   lib/dynamic_debug.c: In function 'ddebug_shrinker_scan':
   lib/dynamic_debug.c:2429:17: error: implicit declaration of function 'arena___mt_destroy' [-Wimplicit-function-declaration]
    2429 |                 arena___mt_destroy(&dd_modules_site_map.mt);
         |                 ^~~~~~~~~~~~~~~~~~
   lib/dynamic_debug.c: In function 'dynamic_debug_init':
>> lib/dynamic_debug.c:2630:9: error: implicit declaration of function 'arena_maple_tree_init'; did you mean 'maple_tree_init'? [-Wimplicit-function-declaration]
    2630 |         arena_maple_tree_init();
         |         ^~~~~~~~~~~~~~~~~~~~~
         |         maple_tree_init
   lib/dynamic_debug.c: At top level:
   lib/dynamic_debug.c:2249:13: warning: 'ddebug_drop_all_cached_prefixes' defined but not used [-Wunused-function]
    2249 | static void ddebug_drop_all_cached_prefixes(const struct _ddebug_info *di)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +2630 lib/dynamic_debug.c

  2612	
  2613	static int __init dynamic_debug_init(void)
  2614	{
  2615		struct _ddebug *iter, *iter_mod_start;
  2616		int ret, i, mod_sites, mod_ct;
  2617		const char *modname;
  2618		char *cmdline;
  2619	
  2620		struct _ddebug_info di = {
  2621			.descs.start = __start___dyndbg_descs,
  2622			.sites.start = __start___dyndbg_sites,
  2623			.maps.start  = __start___dyndbg_class_maps,
  2624			.users.start = __start___dyndbg_class_users,
  2625			.descs.len = __stop___dyndbg_descs - __start___dyndbg_descs,
  2626			.sites.len = __stop___dyndbg_sites - __start___dyndbg_sites,
  2627			.maps.len  = __stop___dyndbg_class_maps - __start___dyndbg_class_maps,
  2628			.users.len = __stop___dyndbg_class_users - __start___dyndbg_class_users,
  2629		};
> 2630		arena_maple_tree_init();
  2631	

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

                 reply	other threads:[~2026-08-19 10:01 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=202608191706.bd8xvLkO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jim.cromie@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ukaszb@chromium.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.