X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcrc16.c;h=011fe573c666fa2a970f405c22b9099308372225;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=8737b084d1f93703ea5e62268ae3f89ebd5c4360;hpb=3944158a6d33f94668dbd6bdc32ff5c67bb53ec2;p=linux-2.6.git diff --git a/lib/crc16.c b/lib/crc16.c index 8737b084d..011fe573c 100644 --- a/lib/crc16.c +++ b/lib/crc16.c @@ -47,12 +47,12 @@ u16 const crc16_table[256] = { EXPORT_SYMBOL(crc16_table); /** - * crc16 - compute the CRC-16 for the data buffer - * @crc: previous CRC value - * @buffer: data pointer - * @len: number of bytes in the buffer + * Compute the CRC-16 for the data buffer * - * Returns the updated CRC value. + * @param crc previous CRC value + * @param buffer data pointer + * @param len number of bytes in the buffer + * @return the updated CRC value */ u16 crc16(u16 crc, u8 const *buffer, size_t len) {