aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2025-06-19 18:34:13 +0000
committerEric Biggers <[email protected]>2025-06-30 16:31:57 +0000
commit0b5a58c078167f73d10711734cdc8ea592561ca9 (patch)
treeb24a150a14a438831dfb00999335f7787526ddb8 /lib/crypto/mpi/mpi-sub-ui.c
parentnvmem: layouts: Switch from crc32() to crc32_le() (diff)
downloadkernel-0b5a58c078167f73d10711734cdc8ea592561ca9.tar.gz
kernel-0b5a58c078167f73d10711734cdc8ea592561ca9.zip
lib/crc: crc32: Change crc32() from macro to inline function and remove cast
There's no need for crc32() to be a macro. Make it an inline function instead. Also, remove the cast of the data pointer to 'unsigned char const *', which is no longer necessary now that the type used in the function prototype is 'const void *'. Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions