From: kernel test robot <lkp@intel.com>
To: Sabyrzhan Tasbolatov <snovitoll@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [akpm-mm:mm-new 160/175] mm/kasan/tags.c:145:6: error: redefinition of 'kasan_save_free_info'
Date: Sat, 19 Jul 2025 05:28:51 +0800 [thread overview]
Message-ID: <202507190528.W6ndwfyg-lkp@intel.com> (raw)
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.
--
>> mm/kasan/sw_tags.c:125:6: error: redefinition of 'kasan_byte_accessible'
125 | bool kasan_byte_accessible(const void *addr)
| ^
mm/kasan/kasan.h:536:20: note: previous definition is here
536 | static inline bool kasan_byte_accessible(const void *addr)
| ^
1 error generated.
vim +/kasan_save_free_info +145 mm/kasan/tags.c
ccf643e6dacf33 Andrey Konovalov 2022-09-05 144
6b07434980a192 Andrey Konovalov 2022-09-05 @145 void kasan_save_free_info(struct kmem_cache *cache, void *object)
:::::: The code at line 145 was first introduced by commit
:::::: 6b07434980a1926780cb5c5644fb198fb9c3997b kasan: pass tagged pointers to kasan_save_alloc/free_info
:::::: TO: Andrey Konovalov <andreyknvl@google.com>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-07-18 21:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 21:28 kernel test robot [this message]
2025-07-20 0:04 ` Andrew Morton
2025-07-20 7:45 ` Sabyrzhan Tasbolatov
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=202507190528.W6ndwfyg-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=snovitoll@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox