Re: [PATCH 2/3] printk: introduce reset_console_drivers()

From: kbuild test robot
Date: Sun Jan 31 2016 - 07:45:11 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:2426:2: error: implicit declaration of function 'zap_locks' [-Werror=implicit-function-declaration]
zap_locks();
^
>> kernel/printk/printk.c:2427:2: error: implicit declaration of function 'reset_console_drivers' [-Werror=implicit-function-declaration]
reset_console_drivers();
^
cc1: some warnings being treated as errors

vim +/reset_console_drivers +2427 kernel/printk/printk.c

2420 console_may_schedule = 0;
2421 console_unlock();
2422 }
2423
2424 void console_reset_on_panic(void)
2425 {
> 2426 zap_locks();
> 2427 reset_console_drivers();
2428 }
2429
2430 /*

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

Attachment: .config.gz
Description: Binary data