Re: [PATCH 1/3] printk: introduce console_reset_on_panic() function

From: kbuild test robot
Date: Sun Jan 31 2016 - 07:43:48 EST


Hi Sergey,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.5-rc1 next-20160129]
[cannot apply to tip/core/locking]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Sergey-Senozhatsky/printk-introduce-console_reset_on_panic-function/20160131-203605
config: i386-tinyconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

kernel/printk/printk.c: In function 'console_reset_on_panic':
>> kernel/printk/printk.c:2417:2: error: implicit declaration of function 'zap_locks' [-Werror=implicit-function-declaration]
zap_locks();
^
cc1: some warnings being treated as errors

vim +/zap_locks +2417 kernel/printk/printk.c

2411 console_may_schedule = 0;
2412 console_unlock();
2413 }
2414
2415 void console_reset_on_panic(void)
2416 {
> 2417 zap_locks();
2418 }
2419
2420 /*

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data