projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f2c2d6
)
usercopy: Don't use "proxy" headers
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Tue, 7 May 2024 20:01:32 +0000
(23:01 +0300)
committer
Yury Norov
<yury.norov@gmail.com>
Sun, 19 May 2024 23:12:38 +0000
(16:12 -0700)
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>
lib/usercopy.c
patch
|
blob
|
history
diff --git
a/lib/usercopy.c
b/lib/usercopy.c
index 4b62e6299cc84ee87bcae94bb03bb781b7f28834..499a7a7d54db21088e6ced4d124bbd9024dc03ae 100644
(file)
--- 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 */