diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-06-14 15:13:01 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2025-06-20 14:30:23 -0700 |
| commit | c6a14b32c9ba041fbe043aa30ebd5c6b467d6518 (patch) | |
| tree | 5903b96adbb4edfec35a2de2d6fa27c0deb11302 /fs/crypto/fname.c | |
| parent | Linux 6.16-rc2 (diff) | |
| download | linux-c6a14b32c9ba041fbe043aa30ebd5c6b467d6518.tar.gz linux-c6a14b32c9ba041fbe043aa30ebd5c6b467d6518.zip | |
fscrypt: Explicitly include <linux/export.h>
Fix build warnings with W=1 that started appearing after
commit a934a57a42f6 ("scripts/misc-check: check missing #include
<linux/export.h> when W=1").
While at it, also sort the include lists alphabetically.
Link: https://lore.kernel.org/r/20250614221301.100803-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'fs/crypto/fname.c')
| -rw-r--r-- | fs/crypto/fname.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/crypto/fname.c b/fs/crypto/fname.c index 010f9c0a4c2f..fb01dde0f2e5 100644 --- a/fs/crypto/fname.c +++ b/fs/crypto/fname.c @@ -11,11 +11,13 @@ * This has not yet undergone a rigorous security audit. */ -#include <linux/namei.h> -#include <linux/scatterlist.h> #include <crypto/hash.h> #include <crypto/sha2.h> #include <crypto/skcipher.h> +#include <linux/export.h> +#include <linux/namei.h> +#include <linux/scatterlist.h> + #include "fscrypt_private.h" /* |
