tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2022.11.04a head: b05c2a06ff8a1267b7e8dc812e3944119535d6b6 commit: 106377914985d3f08fc573824fd3ed56076cf331 [37/39] refscale: Add tests using SLAB_TYPESAFE_BY_RCU config: arm-buildonly-randconfig-r002-20221108 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 463da45892e2d2a262277b91b96f5f8c05dc25d0) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/ammarfaizi2/linux-block/commit/106377914985d3f08fc573824fd3ed56076cf331 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev.2022.11.04a git checkout 106377914985d3f08fc573824fd3ed56076cf331 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash kernel/rcu/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/rcu/refscale.c:649:27: warning: no previous prototype for function 'typesafe_alloc_one' [-Wmissing-prototypes] struct refscale_typesafe *typesafe_alloc_one(void) ^ kernel/rcu/refscale.c:649:1: note: declare 'static' if the function is not intended to be used outside of this translation unit struct refscale_typesafe *typesafe_alloc_one(void) ^ static 1 warning generated. vim +/typesafe_alloc_one +649 kernel/rcu/refscale.c 647 648 // Allocate and initialize one refscale_typesafe structure. > 649 struct refscale_typesafe *typesafe_alloc_one(void) 650 { 651 struct refscale_typesafe *rtsp; 652 653 rtsp = kmem_cache_alloc(typesafe_kmem_cachep, GFP_KERNEL); 654 if (!rtsp) 655 return NULL; 656 atomic_set(&rtsp->rts_refctr, 1); 657 WRITE_ONCE(rtsp->a, rtsp->a + 1); 658 WRITE_ONCE(rtsp->b, rtsp->a * rtsp->a); 659 return rtsp; 660 } 661 -- 0-DAY CI Kernel Test Service https://01.org/lkp