mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] kernel-doc for lib/crc*.c
Make kernel-doc corrections & additions to lib/crc*.c. Add crc functions to kernel-api.tmpl in DocBook. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
28e83baac2
commit
2f72100c01
4 changed files with 36 additions and 40 deletions
10
lib/crc16.c
10
lib/crc16.c
|
|
@ -47,12 +47,12 @@ u16 const crc16_table[256] = {
|
|||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue