[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <40skqR2pvmz9s4V@ozlabs.org>
Date: Fri, 25 May 2018 21:41:39 +1000 (AEST)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Mathieu Malaterre <malat@...ian.org>
Cc: Mathieu Malaterre <malat@...ian.org>,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org, Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [v2] powerpc/mm/radix: use do/while(0) trick for single statement block
On Mon, 2018-04-23 at 19:36:38 UTC, Mathieu Malaterre wrote:
> In commit 7a22d6321c3d ("powerpc/mm/radix: Update command line parsing for
> disable_radix") an `if` statement was added for a possible empty body
> (prom_debug).
>
> Fix the following warning, treated as error with W=1:
>
> arch/powerpc/kernel/prom_init.c:656:46: error: suggest braces around empty body in an ‘if’ statement [-Werror=empty-body]
>
> Suggested-by: Randy Dunlap <rdunlap@...radead.org>
> Signed-off-by: Mathieu Malaterre <malat@...ian.org>
> Acked-by: Randy Dunlap <rdunlap@...radead.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/85aa4b98419d74dd5cc914e0893498
cheers
Powered by blists - more mailing lists