]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: ext4: Use CRC-16 implementation from linux/crc16.h
authorPali Rohár <pali@kernel.org>
Tue, 12 Apr 2022 09:20:43 +0000 (11:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 21 Apr 2022 18:32:40 +0000 (14:32 -0400)
commit4f0e77f8f098753bd9835d5a31c435aaab79dd86
tree6d7061bd3a15d4f71e8ea1cb28309ab2584aa62f
parent1a47e6d47c7184b116bb58e8451dc0d4f141a609
fs: ext4: Use CRC-16 implementation from linux/crc16.h

Implementation in linux/crc16.h provides standard CRC-16 algorithm with
polynomial x^16 + x^15 + x^2 + 1. Use it and remove duplicate ext4 CRC-16
specific code.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
fs/ext4/Makefile
fs/ext4/crc16.c [deleted file]
fs/ext4/crc16.h [deleted file]
fs/ext4/ext4_common.c
fs/ext4/ext4_common.h