summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 03:58:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 03:58:09 -0700
commite920c3d527568c4c4cdd8414ffe5ed5d4ba5eacb (patch)
tree0aa153fe53eebdd60e2824a797fd4b5e9446079e /include
parentdb47111ec41cc6d63a2c8d56140f6322dd173c43 (diff)
Fix up 0/NULL confusion
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/checksum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ppc64/checksum.h b/include/asm-ppc64/checksum.h
index 5ae7cdbe8ba8..d22d4469de43 100644
--- a/include/asm-ppc64/checksum.h
+++ b/include/asm-ppc64/checksum.h
@@ -84,10 +84,10 @@ static inline unsigned short ip_compute_csum(unsigned char * buff, int len)
}
#define csum_partial_copy_from_user(src, dst, len, sum, errp) \
- csum_partial_copy_generic((src), (dst), (len), (sum), (errp), 0)
+ csum_partial_copy_generic((src), (dst), (len), (sum), (errp), NULL)
#define csum_partial_copy_nocheck(src, dst, len, sum) \
- csum_partial_copy_generic((src), (dst), (len), (sum), 0, 0)
+ csum_partial_copy_generic((src), (dst), (len), (sum), NULL, NULL)
static inline u32 csum_tcpudp_nofold(u32 saddr,
u32 daddr,