[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <48hYY83BzFz9sPR@ozlabs.org>
Date: Wed, 18 Mar 2020 00:14:36 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Ilie Halip <ilie.halip@...il.com>
Cc: Ilie Halip <ilie.halip@...il.com>, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com,
Paul Mackerras <paulus@...ba.org>,
Nathan Chancellor <natechancellor@...il.com>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH] powerpc/pmac/smp: avoid unused-variable warnings
On Fri, 2019-09-20 at 15:39:51 UTC, Ilie Halip wrote:
> When building with ppc64_defconfig, the compiler reports
> that these 2 variables are not used:
> warning: unused variable 'core99_l2_cache' [-Wunused-variable]
> warning: unused variable 'core99_l3_cache' [-Wunused-variable]
>
> They are only used when CONFIG_PPC64 is not defined. Move
> them into a section which does the same macro check.
>
> Reported-by: Nathan Chancellor <natechancellor@...il.com>
> Signed-off-by: Ilie Halip <ilie.halip@...il.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9451c79bc39e610882bdd12370f01af5004a3c4f
cheers
Powered by blists - more mailing lists