From bcba9bb8b582d75d4629e207ce9f3b8a99b32cc4 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 11 Jun 2023 11:30:15 +0200 Subject: pfinet: Fix x86_64 prototypes --- pfinet/linux-src/include/asm-x86_64/checksum.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pfinet/linux-src/include/asm-x86_64/checksum.h b/pfinet/linux-src/include/asm-x86_64/checksum.h index a4238ef1..0ef4cd87 100644 --- a/pfinet/linux-src/include/asm-x86_64/checksum.h +++ b/pfinet/linux-src/include/asm-x86_64/checksum.h @@ -65,7 +65,7 @@ csum_partial_copy(const char *src, char *dst, int len,unsigned int sum) /* Do not call this directly. Use the wrappers below */ static inline unsigned int -csum_partial_copy_generic(const void *src, const void *dst, +csum_partial_copy_generic(const void *src, void *dst, int len, unsigned int sum, int *src_err_ptr, int *dst_err_ptr) { @@ -104,6 +104,6 @@ extern unsigned int csum_partial_copy_nocheck(const void *src, void *dst, * Returns the 16bit folded/inverted checksum of the passed buffer. * Ready to fill in. */ -extern unsigned int ip_compute_csum(const void *buff, int len); +extern unsigned short ip_compute_csum(const void *buff, int len); #endif /* _ASM_X86_CHECKSUM_64_H */ -- cgit v1.2.3