Re: [PATCH] lib: Add support for DIF CRC

From: Jan Engelhardt
Date: Tue Jan 29 2008 - 14:22:05 EST



On Jan 29 2008 13:27, Martin K. Petersen wrote:
>--- /dev/null Thu Jan 01 00:00:00 1970 +0000
>+++ b/include/linux/crc-t10dif.h Tue Jan 29 13:26:19 2008 -0500
>@@ -0,0 +1,9 @@
>+#ifndef _LINUX_CRC_T10DIF_H
>+#define _LINUX_CRC_T10DIF_H
>+
>+#include <linux/types.h>
>+
>+const __u16 t10_dif_crc_table[256];
>+__u16 crc_t10dif(unsigned char const *, size_t);
'const unsigned char *', like the
rest of all code does.

>+++ b/lib/crc-t10dif.c Tue Jan 29 13:26:19 2008 -0500

Do we already have some users for the T10DIF CRC?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/