Re: [PATCH] mtd: nand: omap2: add missing braces

2016-07-14 Thread Brian Norris
On Thu, Jul 14, 2016 at 11:53:48AM +0200, Arnd Bergmann wrote: > A bug fix just introduced incorrect behavior in the omap2 nand driver, as > found by gcc-6.1: > > drivers/mtd/nand/omap2.c: In function 'omap_get_dt_info': > drivers/mtd/nand/omap2.c:1658:2: error: this 'if' clause does not guard...

Re: [PATCH] mtd: nand: omap2: add missing braces

2016-07-14 Thread Brian Norris
On Thu, Jul 14, 2016 at 11:53:48AM +0200, Arnd Bergmann wrote: > A bug fix just introduced incorrect behavior in the omap2 nand driver, as > found by gcc-6.1: > > drivers/mtd/nand/omap2.c: In function 'omap_get_dt_info': > drivers/mtd/nand/omap2.c:1658:2: error: this 'if' clause does not guard...

Re: [PATCH] mtd: nand: omap2: add missing braces

2016-07-14 Thread Teresa Remmet
Hello, Am Donnerstag, den 14.07.2016, 11:53 +0200 schrieb Arnd Bergmann: > A bug fix just introduced incorrect behavior in the omap2 nand driver, as > found by gcc-6.1: > > drivers/mtd/nand/omap2.c: In function 'omap_get_dt_info': > drivers/mtd/nand/omap2.c:1658:2: error: this 'if' clause does

Re: [PATCH] mtd: nand: omap2: add missing braces

2016-07-14 Thread Teresa Remmet
Hello, Am Donnerstag, den 14.07.2016, 11:53 +0200 schrieb Arnd Bergmann: > A bug fix just introduced incorrect behavior in the omap2 nand driver, as > found by gcc-6.1: > > drivers/mtd/nand/omap2.c: In function 'omap_get_dt_info': > drivers/mtd/nand/omap2.c:1658:2: error: this 'if' clause does

[PATCH] mtd: nand: omap2: add missing braces

2016-07-14 Thread Arnd Bergmann
A bug fix just introduced incorrect behavior in the omap2 nand driver, as found by gcc-6.1: drivers/mtd/nand/omap2.c: In function 'omap_get_dt_info': drivers/mtd/nand/omap2.c:1658:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!info->elm_of_node) ^~

[PATCH] mtd: nand: omap2: add missing braces

2016-07-14 Thread Arnd Bergmann
A bug fix just introduced incorrect behavior in the omap2 nand driver, as found by gcc-6.1: drivers/mtd/nand/omap2.c: In function 'omap_get_dt_info': drivers/mtd/nand/omap2.c:1658:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!info->elm_of_node) ^~