Re: [PATCH] mtd: Fix switch-bool compilation warning

2015-08-25 Thread Brian Norris
On Tue, Aug 04, 2015 at 09:00:24PM -0700, Tomer Barletz wrote: > With gcc 5.1 I get: > warning: switch condition has boolean value [-Wswitch-bool] > > Signed-off-by: Tomer Barletz Applied to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

[PATCH] mtd: Fix switch-bool compilation warning

2015-08-04 Thread Tomer Barletz
With gcc 5.1 I get: warning: switch condition has boolean value [-Wswitch-bool] Signed-off-by: Tomer Barletz --- drivers/mtd/mtd_blkdevs.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c index 41acc50..8830475 1006