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/crc16.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/crc16.c')
| -rw-r--r-- | lib/crc/crc16.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/crc/crc16.c b/lib/crc/crc16.c index 9c71eda9bf4b..931660a8cbaa 100644 --- a/lib/crc/crc16.c +++ b/lib/crc/crc16.c @@ -3,9 +3,10 @@ * crc16.c */ -#include <linux/types.h> -#include <linux/module.h> #include <linux/crc16.h> +#include <linux/export.h> +#include <linux/module.h> +#include <linux/types.h> /** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */ static const u16 crc16_table[256] = { |