From: Sabyrzhan Tasbolatov <snovitoll@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kernel test robot <lkp@intel.com>,
llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [akpm-mm:mm-new 160/175] mm/kasan/tags.c:145:6: error: redefinition of 'kasan_save_free_info'
Date: Sun, 20 Jul 2025 12:45:15 +0500 [thread overview]
Message-ID: <CACzwLxg4=Gx0J39O9Xt3tAif=Ux8mU-cbMfMi7VN97XtB+8Zfg@mail.gmail.com> (raw)
In-Reply-To: <20250719170413.9b64b9321c3ac082712348fe@linux-foundation.org>
On Sun, Jul 20, 2025 at 5:04 AM Andrew Morton <akpm@linux-foundation.org> wrote:
>
> On Sat, 19 Jul 2025 05:28:51 +0800 kernel test robot <lkp@intel.com> wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> > head: b0e07b9befa0558a80b281b7efcdb3717881c969
> > commit: 3d3c26eaf9f6e00779d27dd54d763c9bdc5dda3c [160/175] kasan: add shadow checks to wrappers and rename kasan_arch_is_ready
> > config: arm64-randconfig-001-20250719 (https://download.01.org/0day-ci/archive/20250719/202507190528.W6ndwfyg-lkp@intel.com/config)
> > compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250719/202507190528.W6ndwfyg-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/202507190528.W6ndwfyg-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> mm/kasan/tags.c:145:6: error: redefinition of 'kasan_save_free_info'
> > 145 | void kasan_save_free_info(struct kmem_cache *cache, void *object)
> > | ^
> > mm/kasan/kasan.h:403:20: note: previous definition is here
> > 403 | static inline void kasan_save_free_info(struct kmem_cache *cache, void *object)
> > | ^
> > 1 error generated.
>
> I'll add this. It should repair the build, at least?
Yes, thanks, it should. Sorry, I've missed that.
>
> --- a/mm/kasan/tags.c~kasan-add-shadow-checks-to-wrappers-and-rename-kasan_arch_is_ready-fix
> +++ a/mm/kasan/tags.c
> @@ -142,7 +142,7 @@ void kasan_save_alloc_info(struct kmem_c
> save_stack_info(cache, object, flags, false);
> }
>
> -void kasan_save_free_info(struct kmem_cache *cache, void *object)
> +void __kasan_save_free_info(struct kmem_cache *cache, void *object)
> {
> save_stack_info(cache, object, 0, true);
> }
> _
>
prev parent reply other threads:[~2025-07-20 7:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 21:28 kernel test robot
2025-07-20 0:04 ` Andrew Morton
2025-07-20 7:45 ` Sabyrzhan Tasbolatov [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='CACzwLxg4=Gx0J39O9Xt3tAif=Ux8mU-cbMfMi7VN97XtB+8Zfg@mail.gmail.com' \
--to=snovitoll@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--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