diff options
author | Yoann Padioleau <padator@wanadoo.fr> | 2007-07-27 11:45:00 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-31 21:35:22 +0100 |
commit | 7e5829b56be5aeb931cf52d78c95285c2b8f50e3 (patch) | |
tree | bb189a9b13e26383ada7c50d7934d2d6126d8e61 /arch/mips/pci/fixup-pnx8550.c | |
parent | 72db43be8bf610d50d86a9e683e0eff3c2cc5ba4 (diff) | |
download | kernel_samsung_tuna-7e5829b56be5aeb931cf52d78c95285c2b8f50e3.zip kernel_samsung_tuna-7e5829b56be5aeb931cf52d78c95285c2b8f50e3.tar.gz kernel_samsung_tuna-7e5829b56be5aeb931cf52d78c95285c2b8f50e3.tar.bz2 |
[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 <padator@wanadoo.fr>
Cc: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org
Cc: akpm@linux-foundation.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/fixup-pnx8550.c')
0 files changed, 0 insertions, 0 deletions