--- zzzz-none-000/linux-3.10.107/include/linux/crc-t10dif.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/include/linux/crc-t10dif.h 2021-02-04 17:41:59.000000000 +0000 @@ -3,6 +3,12 @@ #include -__u16 crc_t10dif(unsigned char const *, size_t); +#define CRC_T10DIF_DIGEST_SIZE 2 +#define CRC_T10DIF_BLOCK_SIZE 1 + +extern __u16 crc_t10dif_generic(__u16 crc, const unsigned char *buffer, + size_t len); +extern __u16 crc_t10dif(unsigned char const *, size_t); +extern __u16 crc_t10dif_update(__u16 crc, unsigned char const *, size_t); #endif