Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_CRC_T10DIF_H
3#define _LINUX_CRC_T10DIF_H
4
5#include <linux/types.h>
6
7u16 crc_t10dif_update(u16 crc, const u8 *p, size_t len);
8
9static inline u16 crc_t10dif(const u8 *p, size_t len)
10{
11 return crc_t10dif_update(0, p, len);
12}
13
14#endif