Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Breno Leitao <leitao@debian.org>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	David Hildenbrand <david@kernel.org>,
	 Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	 mm-commits@vger.kernel.org
Subject: Re: [akpm-mm:mm-new 242/252] radix-tree.c:459:17: error: implicit declaration of function 'kmemleak_transient_leak'
Date: Fri, 3 Jul 2026 08:23:57 -0700	[thread overview]
Message-ID: <akfT1s9f-3HgxGlD@gmail.com> (raw)
In-Reply-To: <202607031019.AffpLUyg-lkp@intel.com>

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/


      reply	other threads:[~2026-07-03 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=akfT1s9f-3HgxGlD@gmail.com \
    --to=leitao@debian.org \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=mm-commits@vger.kernel.org \
    --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