Skip to content

Commit

Permalink
usercopy: Don't use "proxy" headers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Shevchenko authored and Yury Norov committed May 19, 2024
1 parent 9f2c2d6 commit 5671dca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/usercopy.c
Original file line number Diff line number Diff line change
@@ -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 */

Expand Down

0 comments on commit 5671dca

Please sign in to comment.