tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev head: e4c62168a64c5ee1414f955cecedaa00aaaa4e84 commit: f1c73cc03a10ba8300792eb9cbd0686614efd2b2 [39/42] rcu-tasks: Report stalls during synchronize_srcu() in rcu_tasks_postscan() config: x86_64-randconfig-a001 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 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 kernel/rcu/update.c:611: kernel/rcu/tasks.h:944:3: error: implicit declaration of function 'tasks_gp_state_getname' is invalid in C99 [-Werror,-Wimplicit-function-declaration] tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); ^ >> kernel/rcu/tasks.h:944:3: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/printk.h:530:34: note: expanded from macro 'pr_info' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:457:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:429:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ 1 warning and 1 error generated. vim +944 kernel/rcu/tasks.h 937 938 static void tasks_rcu_exit_srcu_stall(struct timer_list *unused) 939 { 940 int rtsi = READ_ONCE(rcu_task_stall_info); 941 942 pr_info("%s: %s grace period number %lu (since boot) gp_state: %s is %lu jiffies old.\n", 943 __func__, rcu_tasks.kname, rcu_tasks.tasks_gp_seq, > 944 tasks_gp_state_getname(&rcu_tasks), jiffies - rcu_tasks.gp_jiffies); 945 pr_info("Please check any exiting tasks stuck between calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish()\n"); 946 tasks_rcu_exit_srcu_stall_timer.expires = jiffies + rtsi; 947 add_timer(&tasks_rcu_exit_srcu_stall_timer); 948 } 949 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests