* Re: drivers/md/dm-mpath.c:478: suspicious code ?
[not found] <VI1PR08MB10227DFB2600B24201D3209D9C630@VI1PR08MB1022.eurprd08.prod.outlook.com>
@ 2017-01-06 20:08 ` Mike Snitzer
0 siblings, 0 replies; only message in thread
From: Mike Snitzer @ 2017-01-06 20:08 UTC (permalink / raw)
To: David Binderman; +Cc: agk, dm-devel, shli, linux-raid, linux-kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-06 20:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <VI1PR08MB10227DFB2600B24201D3209D9C630@VI1PR08MB1022.eurprd08.prod.outlook.com>
2017-01-06 20:08 ` drivers/md/dm-mpath.c:478: suspicious code ? Mike Snitzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).