diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-06-12 11:38:52 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2025-06-30 09:31:57 -0700 |
| commit | 1a822ea52ad0d844805db32333a51d41ffcdf869 (patch) | |
| tree | 602e4fddde6c2f96d78a0a2070bdb649121021ac /lib/crc/crc7.c | |
| parent | 61d01fb7afc212358b0213c489192fd04b2566e1 (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/crc7.c')
| -rw-r--r-- | lib/crc/crc7.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crc/crc7.c b/lib/crc/crc7.c index 8dd991cc6114..46b95d7ac6ce 100644 --- a/lib/crc/crc7.c +++ b/lib/crc/crc7.c @@ -3,9 +3,10 @@ * crc7.c */ -#include <linux/types.h> -#include <linux/module.h> #include <linux/crc7.h> +#include <linux/export.h> +#include <linux/module.h> +#include <linux/types.h> /* * Table for CRC-7 (polynomial x^7 + x^3 + 1). |