Re: [PATCH POC 1/4] printk: Prepeparation for fake cont buffers

From: kbuild test robot
Date: Fri Jul 15 2016 - 14:28:37 EST


Hi,

[auto build test ERROR on v4.7-rc7]
[cannot apply to next-20160715]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Petr-Mladek/printk-Several-fixes-of-cont-buffer-and-console-handling/20160716-012724
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
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_cont_flush':
>> kernel/printk/printk.c:2177:11: error: 'struct cont' has no member named 'msg'
if (!cont.msg->text_len)
^
>> kernel/printk/printk.c:2185:37: error: 'cont_console_len' undeclared (first use in this function)
if (console_seq < log_next_seq && !cont_console_len)
^~~~~~~~~~~~~~~~
kernel/printk/printk.c:2185:37: note: each undeclared identifier is reported only once for each function it appears in
kernel/printk/printk.c:2191:27: error: 'struct cont' has no member named 'msg'
call_console_drivers(cont.msg->level, NULL, 0, text, len);
^

vim +2177 kernel/printk/printk.c

2171 {
2172 unsigned long flags;
2173 size_t len;
2174
2175 raw_spin_lock_irqsave(&logbuf_lock, flags);
2176
> 2177 if (!cont.msg->text_len)
2178 goto out;
2179
2180 /*
2181 * We still queue earlier records, likely because the console was
2182 * busy. The earlier ones need to be printed before this one, we
2183 * did not flush any fragment so far, so just let it queue up.
2184 */
> 2185 if (console_seq < log_next_seq && !cont_console_len)
2186 goto out;
2187
2188 len = cont_print_text(text, size);

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

Attachment: .config.gz
Description: Binary data