Re: [PATCH 4/5] fs: ext4: Use CRC-16 implementation from linux/crc16.h

2022-04-21 Thread Tom Rini
On Tue, Apr 12, 2022 at 11:20:43AM +0200, Pali Rohár wrote: > 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 > Reviewed-by: Stefan Roese Applied t

Re: [PATCH 4/5] fs: ext4: Use CRC-16 implementation from linux/crc16.h

2022-04-21 Thread Stefan Roese
On 4/12/22 11:20, Pali Rohár wrote: 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 Reviewed-by: Stefan Roese Thanks, Stefan --- fs/ext4/Makefile

[PATCH 4/5] fs: ext4: Use CRC-16 implementation from linux/crc16.h

2022-04-12 Thread Pali Rohár
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 --- fs/ext4/Makefile | 2 +- fs/ext4/crc16.c | 62 --- fs