summaryrefslogtreecommitdiff
path: root/include/net/sctp
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 /include/net/sctp
parent8df36829045a133d558421cc3cf2384a6d9e47cc (diff)
downloadlinux-c64e6570b48ab18675d00344fc3c1f13a86989b5.tar.gz
linux-c64e6570b48ab18675d00344fc3c1f13a86989b5.tar.bz2
linux-c64e6570b48ab18675d00344fc3c1f13a86989b5.zip
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 'include/net/sctp')
-rw-r--r--include/net/sctp/checksum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/checksum.h b/include/net/sctp/checksum.h
index 93041c970753..291465c25810 100644
--- a/include/net/sctp/checksum.h
+++ b/include/net/sctp/checksum.h
@@ -36,8 +36,8 @@ static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum)
static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2,
int offset, int len)
{
- return (__force __wsum)__crc32c_le_combine((__force __u32)csum,
- (__force __u32)csum2, len);
+ return (__force __wsum)crc32c_combine((__force __u32)csum,
+ (__force __u32)csum2, len);
}
static const struct skb_checksum_ops sctp_csum_ops = {