ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short
[deliverable/linux.git] / arch / sparc / include / asm / checksum_64.h
index ef0c6f48189ac5fc3990fe21d751f228ff9e67fa..0395d75322e9640cda2a2de4d77fe8c980b6ca7a 100644 (file)
@@ -125,8 +125,7 @@ static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
 
 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)
 {
        __asm__ __volatile__ (
 "      addcc           %3, %4, %%g7\n"
This page took 0.025379 seconds and 5 git commands to generate.