lkml.org 
[lkml]   [2011]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 14/15] module_param: make bool parameters really bool (net & drivers/net)
From
Date
On Fri, 2011-12-16 at 09:44 +1030, Rusty Russell wrote:
> I could, but as I was touching 457 files, so I was aiming for minimal
> changes.

> Dave, did you want a true/false cleanup too?

Hi Rusty.

Did you perform these transforms via spatch?
If not, here's a trivial spatch script for those files.

$ cat bool.cocci
@@
bool b
@@
-b = 0
+b = false
@@
bool b
@@
-b = 1
+b = true





\
 
 \ /
  Last update: 2011-12-16 01:35    [from the cache]
©2003-2011 Jasper Spaans