aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/riscv/lib
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2024-12-01 17:08:26 -0800
committerEric Biggers <ebiggers@google.com>2024-12-01 17:23:01 -0800
commit0a499a7e9819e7a0980408f18df68160a0b55f2e (patch)
treef179f496235dafad79fc6a05a61637a69a2c07c6 /arch/riscv/lib
parentLinux 6.13-rc1 (diff)
downloadwireguard-linux-0a499a7e9819e7a0980408f18df68160a0b55f2e.tar.xz
wireguard-linux-0a499a7e9819e7a0980408f18df68160a0b55f2e.zip
lib/crc32: drop leading underscores from __crc32c_le_base
Remove the leading underscores from __crc32c_le_base(). This is in preparation for adding crc32c_le_arch() and eventually renaming __crc32c_le() to crc32c_le(). Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20241202010844.144356-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'arch/riscv/lib')
-rw-r--r--arch/riscv/lib/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/crc32.c b/arch/riscv/lib/crc32.c
index d7dc599af3ef..333fb7af1192 100644
--- a/arch/riscv/lib/crc32.c
+++ b/arch/riscv/lib/crc32.c
@@ -226,7 +226,7 @@ u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len)
u32 __pure __crc32c_le(u32 crc, unsigned char const *p, size_t len)
{
return crc32_le_generic(crc, p, len, CRC32C_POLY_LE,
- CRC32C_POLY_QT_LE, __crc32c_le_base);
+ CRC32C_POLY_QT_LE, crc32c_le_base);
}
static inline u32 crc32_be_unaligned(u32 crc, unsigned char const *p,