projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'v4.4.47' into linux-linaro-lsk-v4.4
[firefly-linux-kernel-4.4.55.git]
/
lib
/
crc16.c
diff --git
a/lib/crc16.c
b/lib/crc16.c
index 011fe573c666fa2a970f405c22b9099308372225..8737b084d1f93703ea5e62268ae3f89ebd5c4360 100644
(file)
--- a/
lib/crc16.c
+++ b/
lib/crc16.c
@@
-47,12
+47,12
@@
u16 const crc16_table[256] = {
EXPORT_SYMBOL(crc16_table);
/**
EXPORT_SYMBOL(crc16_table);
/**
- * Compute the CRC-16 for the data buffer
+ * crc16 - compute the CRC-16 for the data buffer
+ * @crc: previous CRC value
+ * @buffer: data pointer
+ * @len: number of bytes in the buffer
*
*
- * @param crc previous CRC value
- * @param buffer data pointer
- * @param len number of bytes in the buffer
- * @return the updated CRC value
+ * Returns the updated CRC value.
*/
u16 crc16(u16 crc, u8 const *buffer, size_t len)
{
*/
u16 crc16(u16 crc, u8 const *buffer, size_t len)
{