Re: [PATCH 02/19] hv: Change variable type to bool

2013-09-23 Thread Dan Carpenter
On Sun, Sep 22, 2013 at 12:27:34AM +0200, Peter Senna Tschudin wrote: > diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c > index cb82233..fa37369 100644 > --- a/drivers/hv/hv_util.c > +++ b/drivers/hv/hv_util.c > @@ -82,7 +82,7 @@ static void shutdown_onchannelcallback(void *context) >

[PATCH 02/19] hv: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable execute_shutdown is only assigned the values true and false. Change its type to bool. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @exists@ type T; identifier b; @@ - T + bool b = ...; ... when any b = \(true\|false\) Signed-