Re: [PATCH] powerpc/mm/radix: add missing braces for single statement block

2018-04-23 Thread Mathieu Malaterre
On Mon, Apr 23, 2018 at 9:31 PM, Mathieu Malaterre wrote: > On Sun, Apr 8, 2018 at 10:34 PM, Randy Dunlap wrote: >> On 04/08/2018 12:44 PM, Mathieu Malaterre wrote: >>> In commit 7a22d6321c3d ("powerpc/mm/radix: Update command line parsing for >>> disable_radix") an `if` statement was added for a

Re: [PATCH] powerpc/mm/radix: add missing braces for single statement block

2018-04-23 Thread Mathieu Malaterre
On Sun, Apr 8, 2018 at 10:34 PM, Randy Dunlap wrote: > On 04/08/2018 12:44 PM, 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 wa

Re: [PATCH] powerpc/mm/radix: add missing braces for single statement block

2018-04-08 Thread Randy Dunlap
On 04/08/2018 12:44 PM, 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