[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311092038.lqfYnvmf-lkp@intel.com>
Date: Thu, 9 Nov 2023 20:17:49 +0800
From: kernel test robot <lkp@...el.com>
To: John Johansen <john.johansen@...onical.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Georgia Garcia <georgia.garcia@...onical.com>
Subject: security/apparmor/lsm.c:1893:15: sparse: sparse: symbol 'nulldfa'
was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6bc986ab839c844e78a2333a02e55f02c9e57935
commit: 98b824ff8984fd523fc264fbb13208098ab09da3 apparmor: refcount the pdb
date: 3 weeks ago
config: i386-randconfig-062-20231104 (https://download.01.org/0day-ci/archive/20231109/202311092038.lqfYnvmf-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/202311092038.lqfYnvmf-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311092038.lqfYnvmf-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> security/apparmor/lsm.c:1893:15: sparse: sparse: symbol 'nulldfa' was not declared. Should it be static?
vim +/nulldfa +1893 security/apparmor/lsm.c
1889
1890 static char nulldfa_src[] = {
1891 #include "nulldfa.in"
1892 };
> 1893 struct aa_dfa *nulldfa;
1894
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists