lib/crc: Drop inline from all *_mod_init_arch() functions
authorEric Biggers <ebiggers@kernel.org>
Sat, 16 Aug 2025 02:02:40 +0000 (19:02 -0700)
committerEric Biggers <ebiggers@kernel.org>
Sat, 16 Aug 2025 02:06:08 +0000 (19:06 -0700)
commit5ff74f5f71f83cce3c920cd17940df0fe0401865
tree58eb742a47cb5442bf58dc2de5ad82bacf70985d
parentc2a0c5156a40c40edb0cce80ce11c97ab39c67e3
lib/crc: Drop inline from all *_mod_init_arch() functions

Drop 'inline' from all the *_mod_init_arch() functions so that the
compiler will warn about any bugs where they are unused due to not being
wired up properly.  (There are no such bugs currently, so this just
establishes a more robust convention for the future.  Of course, these
functions also tend to get inlined anyway, regardless of the keyword.)

Link: https://lore.kernel.org/r/20250816020240.431545-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crc/arm/crc-t10dif.h
lib/crc/arm/crc32.h
lib/crc/arm64/crc-t10dif.h
lib/crc/loongarch/crc32.h
lib/crc/mips/crc32.h
lib/crc/powerpc/crc-t10dif.h
lib/crc/powerpc/crc32.h
lib/crc/sparc/crc32.h
lib/crc/x86/crc-t10dif.h
lib/crc/x86/crc32.h
lib/crc/x86/crc64.h