* [PATCH] crc-t10dif.c comments
@ 2011-11-07 22:59 Douglas Gilbert
0 siblings, 0 replies; only message in thread
From: Douglas Gilbert @ 2011-11-07 22:59 UTC (permalink / raw)
To: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
ChangeLog:
- translate Latin (and Danish) to English
- fix error (in comment) and give a reference
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
[-- Attachment #2: crc-t10dif.patch --]
[-- Type: text/x-patch, Size: 606 bytes --]
diff --git a/lib/crc-t10dif.c b/lib/crc-t10dif.c
index fbbd66e..97cc436 100644
--- a/lib/crc-t10dif.c
+++ b/lib/crc-t10dif.c
@@ -12,9 +12,11 @@
#include <linux/module.h>
#include <linux/crc-t10dif.h>
-/* Table generated using the following polynomium:
+/* Table generated using the following polynomial:
* x^16 + x^15 + x^11 + x^9 + x^8 + x^7 + x^5 + x^4 + x^2 + x + 1
- * gt: 0x8bb7
+ * G(x): 0x18bb7
+ *
+ * Reference: SBC-2 or SBC-3 at www.t10.org (protection information model)
*/
static const __u16 t10_dif_crc_table[256] = {
0x0000, 0x8BB7, 0x9CD9, 0x176E, 0xB205, 0x39B2, 0x2EDC, 0xA56B,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-07 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 22:59 [PATCH] crc-t10dif.c comments Douglas Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).