From: Yoann Padioleau Date: Fri, 27 Jul 2007 09:45:00 +0000 (+0200) Subject: [MIPS] 0 -> NULL X-Git-Tag: v2.6.23-rc2~30^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e5829b56be5aeb931cf52d78c95285c2b8f50e3;p=pandora-kernel.git [MIPS] 0 -> NULL 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 Cc: ralf@linux-mips.org Cc: linux-mips@linux-mips.org Cc: akpm@linux-foundation.org Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed