From: Douglas Gilbert <dgilbert@interlog.com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH] crc-t10dif.c comments
Date: Mon, 07 Nov 2011 17:59:51 -0500 [thread overview]
Message-ID: <4EB862E7.5020606@interlog.com> (raw)
[-- 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,
reply other threads:[~2011-11-07 22:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB862E7.5020606@interlog.com \
--to=dgilbert@interlog.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.