tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev head: e4c62168a64c5ee1414f955cecedaa00aaaa4e84 commit: f1c73cc03a10ba8300792eb9cbd0686614efd2b2 [39/41] rcu-tasks: Report stalls during synchronize_srcu() in rcu_tasks_postscan() config: m68k-allmodconfig 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/f1c73cc03a10ba8300792eb9cbd0686614efd2b2 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev git checkout f1c73cc03a10ba8300792eb9cbd0686614efd2b2 # 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 olddefconfig 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 >>): In file included from include/linux/kernel.h:29, from kernel/rcu/update.c:21: kernel/rcu/tasks.h: In function 'tasks_rcu_exit_srcu_stall': kernel/rcu/tasks.h:944:17: error: implicit declaration of function 'tasks_gp_state_getname' [-Werror=implicit-function-declaration] 944 | tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:429:33: note: in definition of macro 'printk_index_wrap' 429 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/printk.h:530:9: note: in expansion of macro 'printk' 530 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ kernel/rcu/tasks.h:942:9: note: in expansion of macro 'pr_info' 942 | pr_info("%s: %s grace period number %lu (since boot) gp_state: %s is %lu jiffies old.\n", | ^~~~~~~ >> include/linux/kern_levels.h:5:25: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:429:25: note: in definition of macro 'printk_index_wrap' 429 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:530:9: note: in expansion of macro 'printk' 530 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH' 14 | #define KERN_INFO KERN_SOH "6" /* informational */ | ^~~~~~~~ include/linux/printk.h:530:16: note: in expansion of macro 'KERN_INFO' 530 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ kernel/rcu/tasks.h:942:9: note: in expansion of macro 'pr_info' 942 | pr_info("%s: %s grace period number %lu (since boot) gp_state: %s is %lu jiffies old.\n", | ^~~~~~~ cc1: some warnings being treated as errors vim +5 include/linux/kern_levels.h 314ba3520e513a Joe Perches 2012-07-30 4 04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3a Joe Perches 2012-07-30 7 :::::: The code at line 5 was first introduced by commit :::::: 04d2c8c83d0e3ac5f78aeede51babb3236200112 printk: convert the format for KERN_ to a 2 byte pattern :::::: TO: Joe Perches :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests