[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230128073108.1603095-1-kuba@kernel.org>
Date: Fri, 27 Jan 2023 23:31:08 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>, ysato@...rs.sourceforge.jp,
dalias@...c.org, linux-sh@...r.kernel.org
Subject: [PATCH net-next] 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")
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: ysato@...rs.sourceforge.jp
CC: dalias@...c.org
CC: linux-sh@...r.kernel.org
---
arch/sh/include/asm/checksum_32.h | 1 +
1 file changed, 1 insertion(+)
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,
--
2.39.1
Powered by blists - more mailing lists