LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] block/mq-deadline: Move dd_queued() to fix defined but not used warning
Date: Thu, 2 Sep 2021 06:35:47 -0600 [thread overview]
Message-ID: <caf2449c-e86d-195d-3635-9be49159166a@kernel.dk> (raw)
In-Reply-To: <20210830091128.1854266-1-geert@linux-m68k.org>
On 8/30/21 3:11 AM, Geert Uytterhoeven wrote:
> If CONFIG_BLK_DEBUG_FS=n:
>
> block/mq-deadline.c:274:12: warning: ‘dd_queued’ defined but not used [-Wunused-function]
> 274 | static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio)
> | ^~~~~~~~~
>
> Fix this by moving dd_queued() just before the sole function that calls
> it.
Applied, thanks.
--
Jens Axboe
next prev parent reply other threads:[~2021-09-02 12:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-30 9:11 Geert Uytterhoeven
2021-08-30 23:22 ` Bart Van Assche
2021-09-02 12:35 ` Jens Axboe [this message]
2021-09-06 2:56 ` Stephen Rothwell
2021-09-06 3:04 ` Jens Axboe
2021-09-06 6:56 ` Stephen Rothwell
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=caf2449c-e86d-195d-3635-9be49159166a@kernel.dk \
--to=axboe@kernel.dk \
--cc=geert@linux-m68k.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: [PATCH] block/mq-deadline: Move dd_queued() to fix defined but not used 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).