ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short
[deliverable/linux.git] / arch / m68k / include / asm / checksum.h
index 2f88d867c711207cde22101226b11c3ff68802db..75e91f03b17825290bb5b76b07b501da86232d5c 100644 (file)
@@ -117,7 +117,7 @@ static inline __sum16 ip_compute_csum(const void *buff, int len)
 #define _HAVE_ARCH_IPV6_CSUM
 static __inline__ __sum16
 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr,
-               __u32 len, unsigned short proto, __wsum sum)
+               __u32 len, __u8 proto, __wsum sum)
 {
        register unsigned long tmp;
        __asm__("addl %2@,%0\n\t"
This page took 0.026273 seconds and 5 git commands to generate.