On Jul 23 2007 18:34, Yoann Padioleau wrote:
>
>PS: I have performed the same transformation on the whole kernel
>and it affects around 300 files. I will send the remaining patches
>if you are interested in.
Don't hold off :)
Jan
--
-
To unsubscribe from this list: send the line "unsub
When comparing a pointer, it's clearer to compare it to NULL than to 0.
Here is the semantic patch:
@@
expression *E;
@@
E ==
- 0
+ NULL
@@
expression *E;
@@
- 0
+ NULL
== E
@@
expression *E;
@@
E !=
- 0
+ NULL
@@
expression *E;
@@
- 0
+ NULL
!= E
PS: I have performed the same
2 matches
Mail list logo