Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 9 Nov 2023 22:24:02 +0800 | From | kernel test robot <> | Subject | security/apparmor/domain.c:1314:12: sparse: sparse: symbol 'stack_msg' was not declared. Should it be static? |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6bc986ab839c844e78a2333a02e55f02c9e57935 commit: 2d9da9b188b8cd3b579d7ef5ba5d334be9dd38fc apparmor: allow restricting unprivileged change_profile date: 3 weeks ago config: i386-randconfig-062-20231104 (https://download.01.org/0day-ci/archive/20231109/202311092251.TwKSNZ0u-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311092251.TwKSNZ0u-lkp@intel.com/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 <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202311092251.TwKSNZ0u-lkp@intel.com/
sparse warnings: (new ones prefixed by >>) >> security/apparmor/domain.c:1314:12: sparse: sparse: symbol 'stack_msg' was not declared. Should it be static?
vim +/stack_msg +1314 security/apparmor/domain.c
1313 > 1314 const char *stack_msg = "change_profile unprivileged unconfined converted to stacking"; 1315
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| ![\](/images/icornerr.gif) |