[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZifclKTgLDujzufz@smile.fi.intel.com>
Date: Tue, 23 Apr 2024 19:06:44 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: "Liam R. Howlett" <Liam.Howlett@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/1] mm: page_alloc: Avoid defining unused function
On Tue, Apr 23, 2024 at 11:55:49AM -0400, Liam R. Howlett wrote:
> * Andy Shevchenko <andriy.shevchenko@...ux.intel.com> [240423 11:06]:
> > In some configurations I got
> > mm/page_alloc.c:656:20: warning: unused function 'add_to_free_list' [-Wunused-function]
> > Becuase the only user is guarged with a certain ifdeffery,
> > do the same for add_to_free_list().
> Why not relocate it within the existing CONFIG_MEMORY_FAILURE block?
No objections, I'm not familiar with the idea behind this helper.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists