]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/crc32: update prototype for crc32_pclmul_le_16()
authorEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:08:37 +0000 (17:08 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:23:01 +0000 (17:23 -0800)
commit1e6b72e60a5a16ddda9c0669da7538f497838d0a
treede235fd8a62904785a9470430e489b7f22327086
parent64e3586c0b61ec4800e820ff04f4c3360edbccd6
x86/crc32: update prototype for crc32_pclmul_le_16()

- Change the len parameter from unsigned int to size_t, so that the
  library function which takes a size_t can safely use this code.

- Move the crc parameter to the front, as this is the usual convention.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20241202010844.144356-13-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
arch/x86/crypto/crc32-pclmul_asm.S
arch/x86/crypto/crc32-pclmul_glue.c