Messages in this thread | | | Date | Fri, 6 Jan 2017 15:08:55 -0500 | From | Mike Snitzer <> | Subject | Re: drivers/md/dm-mpath.c:478: suspicious code ? |
| |
On Fri, Jan 06 2017 at 12:52pm -0500, David Binderman <dcb314@hotmail.com> wrote:
> Hello there, > > drivers/md/dm-mpath.c:478:19: warning: decrement of a boolean expression [-Wbool-operation] > > Source code is > > } while (bypassed--); > > Suggest code rework. Maybe a boolean / int type mixup ?
Yeah, should be cleaned up.
Thanks for reporting this.
| |