summaryrefslogtreecommitdiff
path: root/lib/crc/crc64-main.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-06-12 11:38:52 -0700
committerEric Biggers <ebiggers@kernel.org>2025-06-30 09:31:57 -0700
commit1a822ea52ad0d844805db32333a51d41ffcdf869 (patch)
tree602e4fddde6c2f96d78a0a2070bdb649121021ac /lib/crc/crc64-main.c
parent61d01fb7afc212358b0213c489192fd04b2566e1 (diff)
lib/crc: 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, sort the include lists alphabetically. Link: https://lore.kernel.org/r/20250612183852.114878-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/crc/crc64-main.c')
-rw-r--r--lib/crc/crc64-main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/crc/crc64-main.c b/lib/crc/crc64-main.c
index 038afc7f4d44..1337036010fe 100644
--- a/lib/crc/crc64-main.c
+++ b/lib/crc/crc64-main.c
@@ -33,9 +33,11 @@
* Author: Coly Li <colyli@suse.de>
*/
+#include <linux/crc64.h>
+#include <linux/export.h>
#include <linux/module.h>
#include <linux/types.h>
-#include <linux/crc64.h>
+
#include "crc64table.h"
static inline u64 __maybe_unused