Commit 1ceabaa5 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] m68k csum_partial_copy_* gcc4 warning fixes

The gcc4 signedness warning fix forgot to update the declarations in
include/asm-m68k/checksum.h.
parent 7e00cca4
......@@ -25,11 +25,14 @@ unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum)
* better 64-bit) boundary
*/
extern unsigned int csum_partial_copy_from_user(const char *src, char *dst,
int len, int sum, int *csum_err);
extern unsigned int csum_partial_copy_nocheck(const char *src, char *dst,
int len, int sum);
extern unsigned int csum_partial_copy_from_user(const unsigned char *src,
unsigned char *dst,
int len, int sum,
int *csum_err);
extern unsigned int csum_partial_copy_nocheck(const unsigned char *src,
unsigned char *dst, int len,
int sum);
/*
* This is a version of ip_compute_csum() optimized for IP headers,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment