lib/crc: Drop inline from all *_mod_init_arch() functionsDrop 'inline' from all the *_mod_init_arch() functions so that thecompiler will warn about any bugs where they are unused due to not being
lib/crc: Drop inline from all *_mod_init_arch() functionsDrop 'inline' from all the *_mod_init_arch() functions so that thecompiler will warn about any bugs where they are unused due to not beingwired up properly. (There are no such bugs currently, so this justestablishes a more robust convention for the future. Of course, thesefunctions also tend to get inlined anyway, regardless of the keyword.)Link: https://lore.kernel.org/r/20250816020240.431545-1-ebiggers@kernel.orgSigned-off-by: Eric Biggers <ebiggers@kernel.org>
show more ...
lib/crc: loongarch: Migrate optimized CRC code into lib/crc/Move the loongarch-optimized CRC code from arch/loongarch/lib/crc* intoits new location in lib/crc/loongarch/, and wire it up in the new
lib/crc: loongarch: Migrate optimized CRC code into lib/crc/Move the loongarch-optimized CRC code from arch/loongarch/lib/crc* intoits new location in lib/crc/loongarch/, and wire it up in the new way.This new way of organizing the CRC code eliminates the need toartificially split the code for each CRC variant into separate arch andgeneric modules, enabling better inlining and dead code elimination.For more details, see "lib/crc: Prepare for arch-optimized code insubdirs of lib/crc/".Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>Acked-by: Ingo Molnar <mingo@kernel.org>Acked-by: "Jason A. Donenfeld" <Jason@zx2c4.com>Link: https://lore.kernel.org/r/20250607200454.73587-6-ebiggers@kernel.orgSigned-off-by: Eric Biggers <ebiggers@kernel.org>