Re: [PATCH 12/19] wireless: Change variable type to bool

2013-09-24 Thread Kalle Valo
Peter Senna Tschudin writes: > The variable continual 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 =

Re: [PATCH 12/19] wireless: Change variable type to bool

2013-09-24 Thread Kalle Valo
Peter Senna Tschudin peter.se...@gmail.com writes: The variable continual 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

Re: [PATCH 12/19] wireless: Change variable type to bool

2013-09-22 Thread Joe Perches
On Sun, 2013-09-22 at 00:27 +0200, Peter Senna Tschudin wrote: > The variable continual is only assigned the values true and false. > Change its type to bool. [] > diff --git a/drivers/net/wireless/rtlwifi/efuse.c > b/drivers/net/wireless/rtlwifi/efuse.c [] > @@ -1203,7 +1203,7 @@ static void

Re: [PATCH 12/19] wireless: Change variable type to bool

2013-09-22 Thread Joe Perches
On Sun, 2013-09-22 at 00:27 +0200, Peter Senna Tschudin wrote: The variable continual is only assigned the values true and false. Change its type to bool. [] diff --git a/drivers/net/wireless/rtlwifi/efuse.c b/drivers/net/wireless/rtlwifi/efuse.c [] @@ -1203,7 +1203,7 @@ static void

[PATCH 12/19] wireless: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable continual 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\)

[PATCH 12/19] wireless: Change variable type to bool

2013-09-21 Thread Peter Senna Tschudin
The variable continual 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\)