]> git.baikalelectronics.ru Git - uboot.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)
commitd2e58f2b374f13c3b49916c54a76f4158064634d
tree6d7061bd3a15d4f71e8ea1cb28309ab2584aa62f
parent689e5d96d766316b21777b72f59381ed43367d23
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