Re: [PATCH 14/15] module_param: make bool parameters really bool(net & drivers/net)

From: Joe Perches
Date: Thu Dec 15 2011 - 19:33:42 EST


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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/