[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56e17907-83d7-7b45-8b0f-5d80d9005c70@kernel.dk>
Date: Mon, 6 Sep 2021 10:44:25 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Julio Faracco <jfaracco@...hat.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: include dd_queued{,_show} into proper BLK_DEBUG_FS
guard
On 9/6/21 10:38 AM, Julio Faracco wrote:
> This commit fixes a compilation issue to an unused function if
> BLK_DEBUG_FS setting is not enabled. This usually happens in tiny
> kernels with several debug options disabled. For further details,
> see the message below:
>
> ../block/mq-deadline.c:274:12: error: ‘dd_queued’ defined but not used [-Werror=unused-function]
> 274 | static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio)
> | ^~~~~~~~~
> cc1: all warnings being treated as errors
This is like the 10th one of these... The patch has been queued up for
about a week, if you check linux-next or the block tree. It's going
upstream soon, in fact it was already sent in yesterday.
--
Jens Axboe
Powered by blists - more mailing lists