Re: [PATCH 2/2] mdadm.c: fix compile error "switch condition has boolean value"

2017-03-30 Thread Jes Sorensen
On 03/30/2017 03:52 AM, Gioh Kim wrote: On Thu, Mar 30, 2017 at 08:38:35AM +1100, NeilBrown wrote: On Thu, Mar 30 2017, jes.soren...@gmail.com wrote: Gioh Kim writes: Remove a boolean expression in switch condition to prevent compile error of some compilers. Please be specific, which compi

Re: [PATCH 2/2] mdadm.c: fix compile error "switch condition has boolean value"

2017-03-30 Thread Gioh Kim
On Thu, Mar 30, 2017 at 08:38:35AM +1100, NeilBrown wrote: > On Thu, Mar 30 2017, jes.soren...@gmail.com wrote: > > > Gioh Kim writes: > >> Remove a boolean expression in switch condition > >> to prevent compile error of some compilers. > > > > Please be specific, which compile is unable to handl

Re: [PATCH 2/2] mdadm.c: fix compile error "switch condition has boolean value"

2017-03-29 Thread NeilBrown
On Thu, Mar 30 2017, jes.soren...@gmail.com wrote: > Gioh Kim writes: >> Remove a boolean expression in switch condition >> to prevent compile error of some compilers. > > Please be specific, which compile is unable to handle this? > >> Signed-off-by: Gioh Kim >> --- >> mdadm.c | 6 +++--- >> 1

Re: [PATCH 2/2] mdadm.c: fix compile error "switch condition has boolean value"

2017-03-29 Thread Gioh Kim
On Wed, Mar 29, 2017 at 11:47:28AM -0400, jes.soren...@gmail.com wrote: > Gioh Kim writes: > > Remove a boolean expression in switch condition > > to prevent compile error of some compilers. > > Please be specific, which compile is unable to handle this? > > > Signed-off-by: Gioh Kim > > --- >

Re: [PATCH 2/2] mdadm.c: fix compile error "switch condition has boolean value"

2017-03-29 Thread jes . sorensen
Gioh Kim writes: > Remove a boolean expression in switch condition > to prevent compile error of some compilers. Please be specific, which compile is unable to handle this? > Signed-off-by: Gioh Kim > --- > mdadm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/