summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/csum_partial_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/csum_partial_copy.c')
-rw-r--r--arch/mips/lib/csum_partial_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/csum_partial_copy.c b/arch/mips/lib/csum_partial_copy.c
index 2f26ff99c71..6e9f366f961 100644
--- a/arch/mips/lib/csum_partial_copy.c
+++ b/arch/mips/lib/csum_partial_copy.c
@@ -33,7 +33,7 @@ unsigned int csum_partial_copy_nocheck(const unsigned char *src,
* Copy from userspace and compute checksum. If we catch an exception
* then zero the rest of the buffer.
*/
-unsigned int csum_partial_copy_from_user (const unsigned char *src,
+unsigned int csum_partial_copy_from_user (const unsigned char __user *src,
unsigned char *dst, int len, unsigned int sum, int *err_ptr)
{
int missing;