diff options
| author | Eric Biggers <[email protected]> | 2025-06-13 18:48:14 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2025-06-30 16:26:19 +0000 |
| commit | e49a3eac9207e9575337f70feeb29430f6f16bb7 (patch) | |
| tree | 4015d009b6a174576d8ac9f791f4196e312ac3ac /lib/crypto/poly1305-generic.c | |
| parent | Linux 6.16-rc4 (diff) | |
| download | kernel-e49a3eac9207e9575337f70feeb29430f6f16bb7.tar.gz kernel-e49a3eac9207e9575337f70feeb29430f6f16bb7.zip | |
lib/crypto: 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. (Keep
asm/irqflags.h last, as otherwise it doesn't build on alpha.)
This handles all of lib/crypto/, but not arch/*/lib/crypto/. The
exports in arch/*/lib/crypto/ will go away when the code is properly
integrated into lib/crypto/ as planned.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/crypto/poly1305-generic.c')
| -rw-r--r-- | lib/crypto/poly1305-generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/poly1305-generic.c b/lib/crypto/poly1305-generic.c index a73f700fa1fb..71a16c5c538b 100644 --- a/lib/crypto/poly1305-generic.c +++ b/lib/crypto/poly1305-generic.c @@ -8,6 +8,7 @@ */ #include <crypto/internal/poly1305.h> +#include <linux/export.h> #include <linux/kernel.h> #include <linux/module.h> |
