[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <40skqC3Cs8z9s15@ozlabs.org>
Date: Fri, 25 May 2018 21:41:26 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Mathieu Malaterre <malat@...ian.org>
Cc: Mathieu Malaterre <malat@...ian.org>, linux-kernel@...r.kernel.org,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [v3,01/19] powerpc/powermac: Mark variable x as unused
On Wed, 2018-04-04 at 20:07:46 UTC, Mathieu Malaterre wrote:
> Since the value of x is never intended to be read, declare it with gcc
> attribute as unused. Fix warning treated as error with W=1:
>
> arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable]
>
> Suggested-by: Christophe Leroy <christophe.leroy@....fr>
> Signed-off-by: Mathieu Malaterre <malat@...ian.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/5a4b475cf8511da721f20ba432c244
cheers
Powered by blists - more mailing lists