On Thu 2016-12-15 13:53:58, Geert Uytterhoeven wrote:
> If CONFIG_PRINTK=n:
> 
>     kernel/printk/printk.c:1893: warning: ‘cont’ defined but not used
> 
> Note that there are actually two different struct cont definitions and
> objects: the first one is used if CONFIG_PRINTK=y, the second one became
> unused by removing console_cont_flush().
> 
> Fixes: 5c2992ee7fd8a29d ("printk: remove console flushing special cases for 
> partial buffered lines")

Great catch. It seems that nobody tried the build without CONFIG_PRINTK
at that time.


> Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org>

Signed-off-by: Petr Mladek <pmla...@suse.com>

Best Regards,
Petr

Reply via email to