lib: crc-itu-t: Fix comment in typo
PATCH 1/1 lib: crc-itu-t: Fix comment in typo
Signed-off-by David Mosberger-Tang <[email protected]>
--- lib/crc-itu-t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/crc-itu-t.c +1 -1
@@ -7,7 +7,7 @@#include <linux/module.h> #include <linux/crc-itu-t.h> -/** CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^15 + 1) */ +/** CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^5 + 1) */ const u16 crc_itu_t_table[256 ] = {0x0000 ,0x1021 ,0x2042 ,0x3063 ,0x4084 ,0x50a5 ,0x60c6 ,0x70e7 ,0x8108 ,0x9129 ,0xa14a ,0xb16b ,0xc18c ,0xd1ad ,0xe1ce ,0xf1ef ,
Signature · 1 line
2.25.1
Quoted 10 lines · David Mosberger-Tang
Signed-off-by David Mosberger-Tang <[email protected]>--- lib/crc-itu-t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/crc-itu-t.c +0
-0
lib/crc-itu-t.c line 10
Quoted 5 lines
lib/crc-itu-t.c +1
-1@@ -7,7 +7,7 @@#include <linux/module.h> #include <linux/crc-itu-t.h> -/** CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^15 + 1) */ +/** CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^5 + 1) */
This comment should not be indicated as kernel-doc:
please use /* instead of /**.
lib/crc-itu-t.c line 13
Quoted 4 lines
lib/crc-itu-t.c +0
-0const u16 crc_itu_t_table[256 ] = {0x0000 ,0x1021 ,0x2042 ,0x3063 ,0x4084 ,0x50a5 ,0x60c6 ,0x70e7 ,0x8108 ,0x9129 ,0xa14a ,0xb16b ,0xc18c ,0xd1ad ,0xe1ce ,0xf1ef ,
thanks.
Signature · 1 line
~Randy
PATCH 1/1 lib: crc-itu-t: Fix typo in comment
Signed-off-by David Mosberger-Tang <[email protected]>
--- lib/crc-itu-t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/crc-itu-t.c +1 -1
@@ -7,7 +7,7 @@#include <linux/module.h> #include <linux/crc-itu-t.h> -/** CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^15 + 1) */ +/* CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^5 + 1) */ const u16 crc_itu_t_table[256 ] = {0x0000 ,0x1021 ,0x2042 ,0x3063 ,0x4084 ,0x50a5 ,0x60c6 ,0x70e7 ,0x8108 ,0x9129 ,0xa14a ,0xb16b ,0xc18c ,0xd1ad ,0xe1ce ,0xf1ef ,
Signature · 1 line
2.25.1
Re: [PATCH] lib: crc-itu-t: Fix typo in comment
Quoted 1 line · David Mosberger-Tang
Signed-off-by David Mosberger-Tang <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 18 lines
--- lib/crc-itu-t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/crc-itu-t.c +1
-1@@ -7,7 +7,7 @@#include <linux/module.h> #include <linux/crc-itu-t.h> -/** CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^15 + 1) */ +/* CRC table for the CRC ITU-T V.41 0x1021 (x^16 + x^12 + x^5 + 1) */ const u16 crc_itu_t_table[256 ] = {0x0000 ,0x1021 ,0x2042 ,0x3063 ,0x4084 ,0x50a5 ,0x60c6 ,0x70e7 ,0x8108 ,0x9129 ,0xa14a ,0xb16b ,0xc18c ,0xd1ad ,0xe1ce ,0xf1ef ,
Signature · 1 line
~Randy