lkml.org 
[lkml]   [2021]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block/mq-deadline: Move dd_queued() to fix defined but not used warning
Hi Jens,

On Thu, 2 Sep 2021 06:35:47 -0600 Jens Axboe <axboe@kernel.dk> wrote:
>
> 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.

Can we get this to Linus ASAP as he has now made warnings fatal, so
this is causing lots of build failures.

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-09-06 04:57    [W:0.091 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site