projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1586f31
)
sh: checksum: add missing linux/uaccess.h include
author
Jakub Kicinski
<kuba@kernel.org>
Sat, 28 Jan 2023 07:31:08 +0000
(23:31 -0800)
committer
Jakub 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
patch
|
blob
|
history
diff --git
a/arch/sh/include/asm/checksum_32.h
b/arch/sh/include/asm/checksum_32.h
index
a6501b8
..
2b5fa75
100644
(file)
--- 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,