sh: checksum: add missing linux/uaccess.h include
authorJakub Kicinski <kuba@kernel.org>
Sat, 28 Jan 2023 07:31:08 +0000 (23:31 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 31 Jan 2023 05:04:21 +0000 (21:04 -0800)
SuperH does not include uaccess.h, even tho it calls access_ok().

Fixes: 68f4eae781dd ("net: checksum: drop the linux/uaccess.h include")
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Tested-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230128073108.1603095-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/sh/include/asm/checksum_32.h

index a6501b8..2b5fa75 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/in6.h>
+#include <linux/uaccess.h>
 
 /*
  * computes the checksum of a memory block at buff, length len,