Skip to contentSkip to conversation

CRIS architecture: Correct compile errors

PATCH In review Jesper Nilsson 1 participant 1 message Oct 30, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 2/16 CRIS architecture: Correct compile errors

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

---
 checksum.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/asm-cris/checksum.h +1 -1
diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/checksum.h linux-2.6.23/include/asm-cris/checksum.h
@@ -62,7 +62,7 @@
  * 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)

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]