lkml.org 
[lkml]   [2018]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: linux-next: build warning after merge of the printk tree
From
Date
Hi Petr,

> Hi all,

> After merging the printk tree, today's linux-next build (x86_64
> allnoconfig) produced this warning:

> kernel/printk/printk.c:2033:13: warning: 'suppress_message_printing' defined but not used [-Wunused-function]
> static bool suppress_message_printing(int level) { return false; }
^~~~~~~~~~~~~~~~~~~~~~~~~

seems there is no user for suppress_message_printing when CONFIG_PRINTK is disabled,
because earlier it was getting used in console_unlock and now we shifted this into vprintk_emit
which will be disabled on disabling CONFIG_PRINTk.

should we remove this defination when CONFIG_PRINTK is disabled ?

> Introduced by commit
> 375899cddcbb ("printk: make sure to print log on console.")[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2018-07-10 09:16    [W:0.052 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site