[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YSj7Bfw2Ps5cOsu8@alley>
Date: Fri, 27 Aug 2021 16:47:33 +0200
From: Petr Mladek <pmladek@...e.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: chris@...isdown.name, senozhatsky@...omium.org,
rostedt@...dmis.org, john.ogness@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] printk/index: Fix -Wunused-function warning
On Wed 2021-08-04 21:01:05, YueHaibing wrote:
> If CONFIG_MODULES is n, we got this:
>
> kernel/printk/index.c:146:13: warning: ‘pi_remove_file’ defined but not used [-Wunused-function]
>
> Move it inside #ifdef block to fix this warning.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
The patch has been committed into printk/linux.git,
branch for-5.15-printk-index.
Best Regards,
Petr
Powered by blists - more mailing lists