Re: [PATCH 11/68] 0 -> NULL, for arch/parisc

2007-07-30 Thread Grant Grundler
On Fri, Jul 27, 2007 at 11:45:05AM +0200, Yoann Padioleau wrote: > > When comparing a pointer, it's clearer to compare it to NULL than to 0. ... > diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c > index 04c7e1d..16fccbe 100644 > --- a/arch/parisc/kernel/smp.c > +++

Re: [PATCH 11/68] 0 - NULL, for arch/parisc

2007-07-30 Thread Grant Grundler
On Fri, Jul 27, 2007 at 11:45:05AM +0200, Yoann Padioleau wrote: When comparing a pointer, it's clearer to compare it to NULL than to 0. ... diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 04c7e1d..16fccbe 100644 --- a/arch/parisc/kernel/smp.c +++

[PATCH 11/68] 0 -> NULL, for arch/parisc

2007-07-27 Thread Yoann Padioleau
When comparing a pointer, it's clearer to compare it to NULL than to 0. Here is an excerpt of the semantic patch: @@ expression *E; @@ E == - 0 + NULL @@ expression *E; @@ E != - 0 + NULL Signed-off-by: Yoann Padioleau <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc:

[PATCH 11/68] 0 - NULL, for arch/parisc

2007-07-27 Thread Yoann Padioleau
When comparing a pointer, it's clearer to compare it to NULL than to 0. Here is an excerpt of the semantic patch: @@ expression *E; @@ E == - 0 + NULL @@ expression *E; @@ E != - 0 + NULL Signed-off-by: Yoann Padioleau [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: