summaryrefslogtreecommitdiff
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-07 23:01:32 +0300
committerYury Norov <yury.norov@gmail.com>2024-05-19 16:12:38 -0700
commit5671dca241b9a2f4ecf88d8e992041cfb580e0a5 (patch)
tree59f4dbfbb34c5fd8d31ef69b01316a0beebe8ca5 /lib/usercopy.c
parent9f2c2d6ba13da08643c65b948ce5e3d616864c47 (diff)
usercopy: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'lib/usercopy.c')
-rw-r--r--lib/usercopy.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/usercopy.c b/lib/usercopy.c
index 4b62e6299cc8..499a7a7d54db 100644
--- a/lib/usercopy.c
+++ b/lib/usercopy.c
@@ -1,10 +1,14 @@
// SPDX-License-Identifier: GPL-2.0
-#include <linux/bitops.h>
+#include <linux/compiler.h>
+#include <linux/errno.h>
+#include <linux/export.h>
#include <linux/fault-inject-usercopy.h>
#include <linux/instrumented.h>
+#include <linux/kernel.h>
+#include <linux/nospec.h>
+#include <linux/string.h>
#include <linux/uaccess.h>
#include <linux/wordpart.h>
-#include <linux/nospec.h>
/* out-of-line parts */