at v6.14 15 lines 346 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _LINUX_CRC32C_H 3#define _LINUX_CRC32C_H 4 5#include <linux/crc32.h> 6 7static inline u32 crc32c(u32 crc, const void *address, unsigned int length) 8{ 9 return __crc32c_le(crc, address, length); 10} 11 12/* This macro exists for backwards-compatibility. */ 13#define crc32c_le crc32c 14 15#endif /* _LINUX_CRC32C_H */