LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Petr Mladek <pmladek@suse.com>
To: YueHaibing <yuehaibing@huawei.com>
Cc: chris@chrisdown.name, senozhatsky@chromium.org,
	rostedt@goodmis.org, john.ogness@linutronix.de,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] printk/index: Fix -Wunused-function warning
Date: Fri, 27 Aug 2021 16:47:33 +0200	[thread overview]
Message-ID: <YSj7Bfw2Ps5cOsu8@alley> (raw)
In-Reply-To: <20210804130105.18732-1-yuehaibing@huawei.com>

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@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

The patch has been committed into printk/linux.git,
branch for-5.15-printk-index.

Best Regards,
Petr

      reply	other threads:[~2021-08-27 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 13:01 YueHaibing
2021-08-27 14:47 ` Petr Mladek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YSj7Bfw2Ps5cOsu8@alley \
    --to=pmladek@suse.com \
    --cc=chris@chrisdown.name \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=senozhatsky@chromium.org \
    --cc=yuehaibing@huawei.com \
    --subject='Re: [PATCH -next] printk/index: Fix -Wunused-function warning' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).