]> git.baikalelectronics.ru Git - kernel.git/commitdiff
fix a braino in ia64 uaccess csum changes
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Jun 2020 20:15:28 +0000 (16:15 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Jun 2020 20:18:09 +0000 (16:18 -0400)
Fixes: afb933fdcc81 (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>
arch/ia64/lib/csum_partial_copy.c

index 5d147a33d64899bddd5fdce24a44f167d0849a7b..6e82e0be80409aa823607943e257323b8ed0d9e4 100644 (file)
@@ -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