tree:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
kspp/memcpy/next-20210618/v0
head: fd2aa2a169de8bde9502e7a2fc48cd03d4bfd996
commit: 823c220f26ba7c2fe612e2ecb3e012e807baeab4 [55/82] fortify: Move remaining fortify
helpers into fortify-string.h
config: x86_64-randconfig-a001-20210618 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
d1baf2895467735ab14f4b3415fce204c0cc8e7f)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?id...
git remote add kees
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
git fetch --no-tags kees kspp/memcpy/next-20210618/v0
git checkout 823c220f26ba7c2fe612e2ecb3e012e807baeab4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> lib/string_helpers.c:882:6: warning: no previous prototype for
function 'fortify_panic' [-Wmissing-prototypes]
void fortify_panic(const
char *name)
^
lib/string_helpers.c:882:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void fortify_panic(const char *name)
^
static
1 warning generated.
vim +/fortify_panic +882 lib/string_helpers.c
245fccabb57777 Kees Cook 2021-06-18 881
245fccabb57777 Kees Cook 2021-06-18 @882 void fortify_panic(const char *name)
:::::: The code at line 882 was first introduced by commit
:::::: 245fccabb5777708f67afa04fc6b99a3f794986f lib/string: Move helper functions out of
string.c
:::::: TO: Kees Cook <keescook(a)chromium.org>
:::::: CC: Kees Cook <keescook(a)chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org