summaryrefslogtreecommitdiff
path: root/lib/crc_kunit.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-02-07 18:49:10 -0800
committerEric Biggers <ebiggers@google.com>2025-02-08 20:06:30 -0800
commitc64e6570b48ab18675d00344fc3c1f13a86989b5 (patch)
tree51ed507273d0452e02ab0c7b55953de6f811fec8 /lib/crc_kunit.c
parent8df36829045a133d558421cc3cf2384a6d9e47cc (diff)
lib/crc32: rename __crc32c_le_combine() to crc32c_combine()
Since the Castagnoli CRC32 is now always just crc32c(), rename __crc32c_le_combine() and __crc32c_le_shift() accordingly. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250208024911.14936-6-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'lib/crc_kunit.c')
-rw-r--r--lib/crc_kunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc_kunit.c b/lib/crc_kunit.c
index 1e82fcf9489e..40b4b41f2184 100644
--- a/lib/crc_kunit.c
+++ b/lib/crc_kunit.c
@@ -363,7 +363,7 @@ static u64 crc32c_wrapper(u64 crc, const u8 *p, size_t len)
static u64 crc32c_combine_wrapper(u64 crc1, u64 crc2, size_t len2)
{
- return __crc32c_le_combine(crc1, crc2, len2);
+ return crc32c_combine(crc1, crc2, len2);
}
static const struct crc_variant crc_variant_crc32c = {