tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev head: 106377914985d3f08fc573824fd3ed56076cf331 commit: 106377914985d3f08fc573824fd3ed56076cf331 [37/37] refscale: Add tests using SLAB_TYPESAFE_BY_RCU config: m68k-allyesconfig compiler: m68k-linux-gcc (GCC) 12.1.0 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 # 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 git checkout 106377914985d3f08fc573824fd3ed56076cf331 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash kernel/ 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 'typesafe_alloc_one' [-Wmissing-prototypes] 649 | struct refscale_typesafe *typesafe_alloc_one(void) | ^~~~~~~~~~~~~~~~~~ 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