[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z_amTf35QzLdHirV@smile.fi.intel.com>
Date: Wed, 9 Apr 2025 19:54:37 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Russell King <linux@...linux.org.uk>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Arnd Bergmann <arnd@...db.de>, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 07/10] [RESEND] ARM: fixmap: make
__end_of_early_ioremap_region an enum value
On Wed, Apr 09, 2025 at 02:22:59PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> Building with W=1 shows warnings for the __end_of_fixed_addresses
> definition:
>
> In file included from mm/early_ioremap.c:18:
> arch/arm/include/asm/fixmap.h:39:35: error: '__end_of_fixed_addresses' defined but not used [-Werror=unused-const-variable=]
>
> Move the calculation slightly up in the file into the enum that
> contains __end_of_fixmap_region and __end_of_early_ioremap_region.
...
Maybe format it
> + __end_of_fixed_addresses = __end_of_fixmap_region > __end_of_early_ioremap_region ?
> + __end_of_fixmap_region : __end_of_early_ioremap_region,
as
__end_of_fixed_addresses =
__end_of_fixmap_region > __end_of_early_ioremap_region ?
__end_of_fixmap_region : __end_of_early_ioremap_region,
?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists