Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-new 242/252] radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak'
@ 2026-07-03  8:30 kernel test robot
  2026-07-03 15:23 ` Breno Leitao
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-07-03  8:30 UTC (permalink / raw)
  To: Breno Leitao
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, mm-commits

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head:   e031e55776cf9193b4720a253e92539ca536d224
commit: 58b5601b28c144be1905eef7964bfa8457f58292 [242/252] radix-tree: fix kmemleak false positives on tree head reassignment
config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260703/202607031019.AffpLUyg-lkp@intel.com/config)
compiler: powerpc64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260703/202607031019.AffpLUyg-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/202607031019.AffpLUyg-lkp@intel.com/

All errors (new ones prefixed by >>):

   radix-tree.c: In function 'radix_tree_extend':
>> radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak' [-Wimplicit-function-declaration]
     459 |                 kmemleak_transient_leak(node);
         |                 ^~~~~~~~~~~~~~~~~~~~~~~

--
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-new 242/252] radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak'
  2026-07-03  8:30 [akpm-mm:mm-new 242/252] radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak' kernel test robot
@ 2026-07-03 15:23 ` Breno Leitao
  0 siblings, 0 replies; 2+ messages in thread
From: Breno Leitao @ 2026-07-03 15:23 UTC (permalink / raw)
  To: kernel test robot
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, mm-commits

On Fri, Jul 03, 2026 at 10:30:59AM +0200, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> head:   e031e55776cf9193b4720a253e92539ca536d224
> commit: 58b5601b28c144be1905eef7964bfa8457f58292 [242/252] radix-tree: fix kmemleak false positives on tree head reassignment
> config: powerpc64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260703/202607031019.AffpLUyg-lkp@intel.com/config)
> compiler: powerpc64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260703/202607031019.AffpLUyg-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/202607031019.AffpLUyg-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>    radix-tree.c: In function 'radix_tree_extend':
> >> radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak' [-Wimplicit-function-declaration]
>      459 |                 kmemleak_transient_leak(node);
>          |                 ^~~~~~~~~~~~~~~~~~~~~~~

Ack. This seems to be used by userspace tool that compile radix-tree in 
userspace, and it doesn't understand kmemleak_transient_leak().

V2 should have a fix for this:

https://lore.kernel.org/all/20260703-radix-tree-v2-1-38bb6efb5f6e@debian.org/


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

end of thread, other threads:[~2026-07-03 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03  8:30 [akpm-mm:mm-new 242/252] radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak' kernel test robot
2026-07-03 15:23 ` Breno Leitao

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