lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202507291913.UMbUQv95-lkp@intel.com>
Date: Tue, 29 Jul 2025 19:43:11 +0800
From: kernel test robot <lkp@...el.com>
To: Alexander Potapenko <glider@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev, quic_jiangenj@...cinc.com,
	linux-kernel@...r.kernel.org, kasan-dev@...glegroups.com,
	Dmitry Vyukov <dvyukov@...gle.com>,
	Aleksandr Nogikh <nogikh@...gle.com>,
	Andrey Konovalov <andreyknvl@...il.com>,
	Borislav Petkov <bp@...en8.de>,
	Dave Hansen <dave.hansen@...ux.intel.com>,
	Ingo Molnar <mingo@...hat.com>,
	Josh Poimboeuf <jpoimboe@...nel.org>,
	Marco Elver <elver@...gle.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH v3 04/10] mm/kasan: define __asan_before_dynamic_init,
 __asan_after_dynamic_init

Hi Alexander,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/x86/core]
[also build test WARNING on akpm-mm/mm-everything shuah-kselftest/next shuah-kselftest/fixes linus/master v6.16 next-20250729]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Alexander-Potapenko/x86-kcov-disable-instrumentation-of-arch-x86-kernel-tsc-c/20250728-232935
base:   tip/x86/core
patch link:    https://lore.kernel.org/r/20250728152548.3969143-5-glider%40google.com
patch subject: [PATCH v3 04/10] mm/kasan: define __asan_before_dynamic_init, __asan_after_dynamic_init
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20250729/202507291913.UMbUQv95-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250729/202507291913.UMbUQv95-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507291913.UMbUQv95-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from mm/kasan/kasan_test_c.c:32:
>> mm/kasan/kasan.h:585:6: warning: conflicting types for built-in function '__asan_before_dynamic_init'; expected 'void(const void *)' [-Wbuiltin-declaration-mismatch]
     585 | void __asan_before_dynamic_init(const char *module_name);
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +585 mm/kasan/kasan.h

   577	
   578	/*
   579	 * Exported functions for interfaces called from assembly or from generated
   580	 * code. Declared here to avoid warnings about missing declarations.
   581	 */
   582	
   583	void __asan_register_globals(void *globals, ssize_t size);
   584	void __asan_unregister_globals(void *globals, ssize_t size);
 > 585	void __asan_before_dynamic_init(const char *module_name);
   586	void __asan_after_dynamic_init(void);
   587	void __asan_handle_no_return(void);
   588	void __asan_alloca_poison(void *, ssize_t size);
   589	void __asan_allocas_unpoison(void *stack_top, ssize_t stack_bottom);
   590	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ