[PATCH 2/16] CRIS architecture: Correct compile errors

From: Jesper Nilsson
Date: Tue Oct 30 2007 - 05:29:21 EST


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

Signed-off-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

---
checksum.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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
--- clean_linux-2.6.23/include/asm-cris/checksum.h 2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.23/include/asm-cris/checksum.h 2007-10-22 10:39:08.000000000 +0200
@@ -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 -- jesper.nilsson@xxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/