[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111170436.p58tWHzw-lkp@intel.com>
Date: Wed, 17 Nov 2021 04:43:47 +0800
From: kernel test robot <lkp@...el.com>
To: Peter Collingbourne <pcc@...gle.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: mm/kasan/sw_tags.c:211:6: warning: no previous prototype for
function 'kasan_tag_mismatch'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ab774587903771821b59471cc723bba6d893942
commit: 1cbdf60bd1b74e397d48aa877367cfc621f45ffe kasan: arm64: support specialized outlined tag mismatch checks
date: 6 months ago
config: arm64-randconfig-r032-20211116 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project fbe72e41b99dc7994daac300d208a955be3e4a0a)
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/torvalds/linux.git/commit/?id=1cbdf60bd1b74e397d48aa877367cfc621f45ffe
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 1cbdf60bd1b74e397d48aa877367cfc621f45ffe
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.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
Download attachment ".config.gz" of type "application/gzip" (39136 bytes)
Powered by blists - more mailing lists