aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/crc32.c2
-rw-r--r--lib/crc32defs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/crc32.c b/lib/crc32.c
index 4b35d2b4437c..ffea0c99a1f3 100644
--- a/lib/crc32.c
+++ b/lib/crc32.c
@@ -317,7 +317,7 @@ EXPORT_SYMBOL(crc32_be);
317 * in the correct multiple to subtract, we can shift a byte at a time. 317 * in the correct multiple to subtract, we can shift a byte at a time.
318 * This produces a 40-bit (rather than a 33-bit) intermediate remainder, 318 * This produces a 40-bit (rather than a 33-bit) intermediate remainder,
319 * but again the multiple of the polynomial to subtract depends only on 319 * but again the multiple of the polynomial to subtract depends only on
320 * the high bits, the high 8 bits in this case. 320 * the high bits, the high 8 bits in this case.
321 * 321 *
322 * The multiple we need in that case is the low 32 bits of a 40-bit 322 * The multiple we need in that case is the low 32 bits of a 40-bit
323 * value whose high 8 bits are given, and which is a multiple of the 323 * value whose high 8 bits are given, and which is a multiple of the
diff --git a/lib/crc32defs.h b/lib/crc32defs.h
index 9b6773d73749..f5a540176571 100644
--- a/lib/crc32defs.h
+++ b/lib/crc32defs.h
@@ -8,7 +8,7 @@
8 8
9/* How many bits at a time to use. Requires a table of 4<<CRC_xx_BITS bytes. */ 9/* How many bits at a time to use. Requires a table of 4<<CRC_xx_BITS bytes. */
10/* For less performance-sensitive, use 4 */ 10/* For less performance-sensitive, use 4 */
11#ifndef CRC_LE_BITS 11#ifndef CRC_LE_BITS
12# define CRC_LE_BITS 8 12# define CRC_LE_BITS 8
13#endif 13#endif
14#ifndef CRC_BE_BITS 14#ifndef CRC_BE_BITS