summaryrefslogtreecommitdiffstats
path: root/arch/x86/um/asm/checksum_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/asm/checksum_32.h')
-rw-r--r--arch/x86/um/asm/checksum_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/asm/checksum_32.h b/arch/x86/um/asm/checksum_32.h
index ab77b6f..83a75f8 100644
--- a/arch/x86/um/asm/checksum_32.h
+++ b/arch/x86/um/asm/checksum_32.h
@@ -13,7 +13,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,
+ __u32 len, __u8 proto,
__wsum sum)
{
__asm__(
OpenPOWER on IntegriCloud