Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9569471 authored by Jesper Nilsson's avatar Jesper Nilsson Committed by Linus Torvalds
Browse files

cris build fixes: fix csum_tcpudp_magic() declaration



Remove int from prototype, no longer needed and causes compile error.

Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
Acked-by: default avatarMikael Starvik <starvik@axis.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d297a5d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ static inline __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
 * returns a 16-bit checksum, already complemented
 */

static inline __sum16 int csum_tcpudp_magic(__be32 saddr, __be32 daddr,
static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
						   unsigned short len,
						   unsigned short proto,
						   __wsum sum)