git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
m68k
/
lib
/
checksum.c
diff --git
a/arch/m68k/lib/checksum.c
b/arch/m68k/lib/checksum.c
index
484ba8b
..
cb13c6e
100644
(file)
--- a/
arch/m68k/lib/checksum.c
+++ b/
arch/m68k/lib/checksum.c
@@
-134,8
+134,8
@@
EXPORT_SYMBOL(csum_partial);
*/
unsigned int
*/
unsigned int
-csum_partial_copy_from_user(const
char *src, char *dst, int len
,
- int sum, int *csum_err)
+csum_partial_copy_from_user(const
unsigned char __user *src, unsigned char *dst
,
+ int
len, int
sum, int *csum_err)
{
/*
* GCC doesn't like more than 10 operands for the asm
{
/*
* GCC doesn't like more than 10 operands for the asm
@@
-326,7
+326,7
@@
csum_partial_copy_from_user(const char *src, char *dst, int len,
*/
unsigned int
*/
unsigned int
-csum_partial_copy_nocheck(const
char *src,
char *dst, int len, int sum)
+csum_partial_copy_nocheck(const
unsigned char *src, unsigned
char *dst, int len, int sum)
{
unsigned long tmp1, tmp2;
__asm__("movel %2,%4\n\t"
{
unsigned long tmp1, tmp2;
__asm__("movel %2,%4\n\t"