tree: git://toccata2.tricolour.ca/linux-2.6-rgb.git ghak90-contid.v10.4
head: f35b133bb86541fa01252242812fcb2ca4baa23d
commit: e36d18ee326c23d3cde29aa530c69102d4c59118 [4/17] audit: add container id
config: i386-randconfig-s002-20201113 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-107-gaf3512a6-dirty
git remote add audit-next git://toccata2.tricolour.ca/linux-2.6-rgb.git
git fetch --no-tags audit-next ghak90-contid.v10.4
git checkout e36d18ee326c23d3cde29aa530c69102d4c59118
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
> kernel/audit.c:149:18: sparse: sparse: symbol
'audit_contid_hash' was not declared. Should it be static?
kernel/audit.c:2382:9: sparse: sparse: incorrect type in argument 1 (different address
spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock
[noderef] __rcu * @@
kernel/audit.c:2382:9: sparse: expected struct spinlock [usertype] *lock
kernel/audit.c:2382:9: sparse: got struct spinlock [noderef] __rcu *
kernel/audit.c:2385:40: sparse: sparse: incorrect type in argument 1 (different address
spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock
[noderef] __rcu * @@
kernel/audit.c:2385:40: sparse: expected struct spinlock [usertype] *lock
kernel/audit.c:2385:40: sparse: got struct spinlock [noderef] __rcu *
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org