]> git.baikalelectronics.ru Git - kernel.git/commit
lib/crc: Move polynomial definition to separate header
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 17 Jul 2018 16:05:36 +0000 (18:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Jul 2018 11:04:33 +0000 (19:04 +0800)
commitb7f0be263fd4b792a47410bf8df429c2fb5b3d37
tree8eb1549cfe89c18d68c888a54f3723217a0cf78b
parent34775b517ef141f8dda03383a96516e2af59bcd1
lib/crc: Move polynomial definition to separate header

Allow other drivers and parts of kernel to use the same define for
CRC32 polynomial, instead of duplicating it in many places.  This code
does not bring any functional changes, except moving existing code.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/crc32poly.h [new file with mode: 0644]
lib/crc32.c
lib/crc32defs.h
lib/gen_crc32table.c