Re: linux-next: build warning after merge of the printk tree

2018-07-10 Thread Sergey Senozhatsky
On (07/10/18 11:19), Petr Mladek wrote: > suppress_message_printing() is not longer called in console_unlock(). > Therefore it is not longer needed with disabled CONFIG_PRINTK. > > This fixes the warning: > > kernel/printk/printk.c:2033:13: warning: ‘suppress_message_printing’ defined > but not

Re: linux-next: build warning after merge of the printk tree

2018-07-10 Thread Petr Mladek
On Tue 2018-07-10 12:46:14, Maninder Singh wrote: > 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 [-Wunus

RE: linux-next: build warning after merge of the printk tree

2018-07-10 Thread Maninder Singh
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) { re

linux-next: build warning after merge of the printk tree

2018-07-09 Thread Stephen Rothwell
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; }