[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180710131547.GA526@tigerII.localdomain>
Date: Tue, 10 Jul 2018 22:15:47 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Petr Mladek <pmladek@...e.com>
Cc: Maninder Singh <maninder1.s@...sung.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Vaneet Narang <v.narang@...sung.com>,
PANKAJ MISHRA <pankaj.m@...sung.com>
Subject: Re: linux-next: build warning after merge of the printk tree
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 used [-Wunused-function]
> static bool suppress_message_printing(int level) { return false; }
>
> Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
> Suggested-by: Maninder Singh <maninder1.s@...sung.com>
> Signed-off-by: Petr Mladek <pmladek@...e.com>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Happens all the time to me as well. I'd rather remove CONFIG_PRINTK
at this point ;)
-ss
Powered by blists - more mailing lists