tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/next
head: 7a918ab645dae64a4c24c4619e88f3f04194d1a3
commit: bdfed92109f41bb5db28f9dcb60096b564eb3d65 [25/28] locking/lockdep: Mark
local_lock_t
config: i386-randconfig-c001-20201209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue locking/next
git checkout bdfed92109f41bb5db28f9dcb60096b564eb3d65
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/local_lock.h:5,
from include/linux/radix-tree.h:20,
from include/linux/fs.h:15,
from include/linux/buffer_head.h:12,
from fs/squashfs/decompressor_multi_percpu.c:10:
fs/squashfs/decompressor_multi_percpu.c: In function
'squashfs_decompressor_create':
> include/linux/local_lock_internal.h:34:2: error: implicit
declaration of function 'lockdep_init_map_type'; did you mean
'lockdep_init_map_wait'? [-Werror=implicit-function-declaration]
34 |
lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, 0, \
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/local_lock.h:10:32: note: in expansion of macro
'__local_lock_init'
10 | #define local_lock_init(lock) __local_lock_init(lock)
| ^~~~~~~~~~~~~~~~~
fs/squashfs/decompressor_multi_percpu.c:46:3: note: in expansion of macro
'local_lock_init'
46 | local_lock_init(&stream->lock);
| ^~~~~~~~~~~~~~~
> include/linux/local_lock_internal.h:34:31: error:
'local_lock_t' {aka 'struct <anonymous>'} has no member named
'dep_map'
34 | lockdep_init_map_type(&(lock)->dep_map, #lock,
&__key, 0, \
| ^~
include/linux/local_lock.h:10:32: note: in expansion of macro
'__local_lock_init'
10 | #define local_lock_init(lock) __local_lock_init(lock)
| ^~~~~~~~~~~~~~~~~
fs/squashfs/decompressor_multi_percpu.c:46:3: note: in expansion of macro
'local_lock_init'
46 | local_lock_init(&stream->lock);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +34 include/linux/local_lock_internal.h
28
29 #define __local_lock_init(lock) \
30 do { \
31 static struct lock_class_key __key; \
32 \
33 debug_check_no_locks_freed((void *)lock, sizeof(*lock));\
34 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key,
0, \
35 LD_WAIT_CONFIG, LD_WAIT_INV, \
36 LD_LOCK_PERCPU); \
37 } while (0)
38
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org