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: mips: Migrate optimized CRC code into lib/crc/Move the mips-optimized CRC code from arch/mips/lib/crc* into its newlocation in lib/crc/mips/, and wire it up in the new way. This new way
lib/crc: mips: Migrate optimized CRC code into lib/crc/Move the mips-optimized CRC code from arch/mips/lib/crc* into its newlocation in lib/crc/mips/, and wire it up in the new way. This new wayof organizing the CRC code eliminates the need to artificially split thecode for each CRC variant into separate arch and generic modules,enabling better inlining and dead code elimination. For more details,see "lib/crc: Prepare for arch-optimized code in subdirs 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-7-ebiggers@kernel.orgSigned-off-by: Eric Biggers <ebiggers@kernel.org>