summaryrefslogtreecommitdiffstats
path: root/lib/crc4.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2017-09-08 16:35:55 -0700
committerJonathan Corbet <corbet@lwn.net>2017-09-26 15:01:20 -0600
commit8a29896a6e31c7aa2ca3b50d8aefe05f280b0b7e (patch)
tree8ef874d134297f6543ec7498739958b709aa44d4 /lib/crc4.c
parent44e9f099367716dde33618b7d5d25c3123437ba6 (diff)
downloadlinux-8a29896a6e31c7aa2ca3b50d8aefe05f280b0b7e.tar.bz2
docs: clean up and add rest of CRC functions to kernel-api.rst
Add the rest of the CRC library functions to kernel-api. - try to clarify crc32() by adding '@' to a function parameter - reorder kernel-api CRC functions to be less random - add more CRC functions to kernel-api - correct the function parameter names in several places Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib/crc4.c')
-rw-r--r--lib/crc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crc4.c b/lib/crc4.c
index cf6db46661be..164ed9444cd3 100644
--- a/lib/crc4.c
+++ b/lib/crc4.c
@@ -15,7 +15,7 @@ static const uint8_t crc4_tab[] = {
/**
* crc4 - calculate the 4-bit crc of a value.
- * @crc: starting crc4
+ * @c: starting crc4
* @x: value to checksum
* @bits: number of bits in @x to checksum
*