linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 4285/10007] mm/kasan/sw_tags.c:211:6: warning: no previous prototype for function 'kasan_tag_mismatch'
@ 2021-06-16  4:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-16  4:35 UTC (permalink / raw)
  To: Peter Collingbourne
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
	Will Deacon, Mark Rutland

[-- Attachment #1: Type: text/plain, Size: 2088 bytes --]

Hi Peter,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   19ae1f2bd9c091059f80646604ccef8a1e614f57
commit: 1cbdf60bd1b74e397d48aa877367cfc621f45ffe [4285/10007] kasan: arm64: support specialized outlined tag mismatch checks
config: arm64-randconfig-r022-20210615 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1cbdf60bd1b74e397d48aa877367cfc621f45ffe
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 1cbdf60bd1b74e397d48aa877367cfc621f45ffe
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mm/kasan/sw_tags.c:211:6: warning: no previous prototype for function 'kasan_tag_mismatch' [-Wmissing-prototypes]
   void kasan_tag_mismatch(unsigned long addr, unsigned long access_info,
        ^
   mm/kasan/sw_tags.c:211:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void kasan_tag_mismatch(unsigned long addr, unsigned long access_info,
   ^
   static 
   1 warning generated.


vim +/kasan_tag_mismatch +211 mm/kasan/sw_tags.c

   210	
 > 211	void kasan_tag_mismatch(unsigned long addr, unsigned long access_info,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42607 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-16  4:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16  4:35 [linux-next:master 4285/10007] mm/kasan/sw_tags.c:211:6: warning: no previous prototype for function 'kasan_tag_mismatch' kernel test robot

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