tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core
head: 72e260e0ac7f286eef5458d9536e3976e61d4e49
commit: 72e260e0ac7f286eef5458d9536e3976e61d4e49 [2/2] locking/lockdep: Avoid unmatched
unlock
config: microblaze-randconfig-r012-20210201 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
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/core
git checkout 72e260e0ac7f286eef5458d9536e3976e61d4e49
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
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 >>):
kernel/locking/lockdep.c: In function 'valid_state':
> kernel/locking/lockdep.c:3817:17: error: expected ';'
before 'print_usage_bug'
3817 | graph_unlock()
| ^
| ;
3818 | print_usage_bug(curr, this, bad_bit, new_bit);
| ~~~~~~~~~~~~~~~
vim +3817 kernel/locking/lockdep.c
3808
3809 /*
3810 * Print out an error if an invalid bit is set:
3811 */
3812 static inline int
3813 valid_state(struct task_struct *curr, struct held_lock *this,
3814 enum lock_usage_bit new_bit, enum lock_usage_bit bad_bit)
3815 {
3816 if (unlikely(hlock_class(this)->usage_mask & (1 << bad_bit))) {
3817 graph_unlock()
3818 print_usage_bug(curr, this,
bad_bit, new_bit);
3819 return 0;
3820 }
3821 return 1;
3822 }
3823
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org