Hi André, kernel test robot noticed the following build warnings:
[auto build test WARNING on 73e3f0710014fe6d4ed98cfc02292f6121db7558] url: https://github.com/intel-lab-lkp/linux/commits/Andr-Almeida/treewide-Get-rid-of-get_task_comm/20260827-152300 base: 73e3f0710014fe6d4ed98cfc02292f6121db7558 patch link: https://lore.kernel.org/r/20260827-tonyk-long_name-v5-6-5fa843782a00%40igalia.com patch subject: [PATCH v5 6/6] selftests: prctl: Add test for long thread names config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260830/[email protected]/config) compiler: m68k-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260830/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): In file included from include/asm-generic/bug.h:31, from arch/m68k/include/asm/bug.h:32, from include/linux/bug.h:5, from include/linux/slab.h:15, from include/linux/xattr.h:15, from security/smack/smack_lsm.c:18: security/smack/smack_lsm.c: In function 'smk_bu_tsk_to_obj': security/smack/smack_lsm.c:150:22: error: implicit declaration of function 'get_task_comm'; did you mean 'set_task_comm'? [-Wimplicit-function-declaration] 150 | acc, get_task_comm(comm, tsk), note); | ^~~~~~~~~~~~~ include/linux/printk.h:483:33: note: in definition of macro 'printk_index_wrap' 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/printk.h:584:9: note: in expansion of macro 'printk' 584 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ security/smack/smack_lsm.c:148:9: note: in expansion of macro 'pr_info' 148 | pr_info("Smack %s: (%s %s %s) %s %s\n", smk_bu_mess[rc], | ^~~~~~~ >> include/linux/kern_levels.h:5:25: warning: format '%s' expects argument of >> type 'char *', but argument 6 has type 'int' [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:483:25: note: in definition of macro 'printk_index_wrap' 483 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:584:9: note: in expansion of macro 'printk' 584 | 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:584:16: note: in expansion of macro 'KERN_INFO' 584 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~ security/smack/smack_lsm.c:148:9: note: in expansion of macro 'pr_info' 148 | pr_info("Smack %s: (%s %s %s) %s %s\n", smk_bu_mess[rc], | ^~~~~~~ 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 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
