瀏覽代碼

[PATCH] fix prototype of csum_ipv6_magic() (ia64)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Al Viro 18 年之前
父節點
當前提交
73f66ace34
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      include/asm-ia64/checksum.h

+ 3 - 3
include/asm-ia64/checksum.h

@@ -72,8 +72,8 @@ static inline __sum16 csum_fold(__wsum csum)
 
 
 #define _HAVE_ARCH_IPV6_CSUM	1
 #define _HAVE_ARCH_IPV6_CSUM	1
 struct in6_addr;
 struct in6_addr;
-extern unsigned short int csum_ipv6_magic(struct in6_addr *saddr,
-	struct in6_addr *daddr, __u32 len, unsigned short proto,
-	unsigned int csum);
+extern __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
+	const struct in6_addr *daddr, __u32 len, unsigned short proto,
+	__wsum csum);
 
 
 #endif /* _ASM_IA64_CHECKSUM_H */
 #endif /* _ASM_IA64_CHECKSUM_H */