summaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-27 23:31:08 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-30 21:04:21 -0800
commit2083656bb30df231caad56abb4f1c2a6366f5923 (patch)
tree79e46fc2db0278bad861728e09004e3db6a79f23 /arch/sh/include
parent1586f31e30ed041650e32147e79bb0837a42e11d (diff)
downloadlinux-stable-2083656bb30df231caad56abb4f1c2a6366f5923.tar.gz
linux-stable-2083656bb30df231caad56abb4f1c2a6366f5923.tar.bz2
linux-stable-2083656bb30df231caad56abb4f1c2a6366f5923.zip
sh: checksum: add missing linux/uaccess.h include
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>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/checksum_32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/checksum_32.h b/arch/sh/include/asm/checksum_32.h
index a6501b856f3e..2b5fa75b4651 100644
--- a/arch/sh/include/asm/checksum_32.h
+++ b/arch/sh/include/asm/checksum_32.h
@@ -7,6 +7,7 @@
*/
#include <linux/in6.h>
+#include <linux/uaccess.h>
/*
* computes the checksum of a memory block at buff, length len,