summaryrefslogtreecommitdiffstats
path: root/arch/ia64/lib
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-06-03 16:15:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2020-06-03 16:18:09 -0400
commit174e1ea8a2f6140078b6c61068b478cf3c4aa74f (patch)
treebb43adf8c082008a5f6c4d6bdc61f47e41b22dee /arch/ia64/lib
parent001c1a655f0a4e4ebe5d9beb47466dc5c6ab4871 (diff)
downloadlinux-174e1ea8a2f6140078b6c61068b478cf3c4aa74f.tar.bz2
fix a braino in ia64 uaccess csum changes
Fixes: cc03f19cfd45 (ia64: csum_partial_copy_nocheck(): don't abuse csum_partial_copy_from_user()) Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64/lib')
-rw-r--r--arch/ia64/lib/csum_partial_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/lib/csum_partial_copy.c b/arch/ia64/lib/csum_partial_copy.c
index 5d147a33d648..6e82e0be8040 100644
--- a/arch/ia64/lib/csum_partial_copy.c
+++ b/arch/ia64/lib/csum_partial_copy.c
@@ -12,7 +12,7 @@
#include <linux/types.h>
#include <linux/string.h>
-#include <linux/uaccess.h>
+#include <net/checksum.h>
/*
* XXX Fixme: those 2 inlines are meant for debugging and will go away