]> git.baikalelectronics.ru Git - kernel.git/commit
lib: add module support to crc32 tests
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Feb 2017 23:00:49 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:57 +0000 (17:46 -0800)
commit56ae8f21c00fbdee4ec10b9fa1bda38aeb5cd59c
treedd644a277506cc29b3fd69c6ed0a63f4a88a0f03
parent152191c1031aa2a804a6566325f8b39889108cc3
lib: add module support to crc32 tests

Extract the crc32 test code into its own source file, to allow to
compile it either to a loadable module, or builtin into the kernel.

Link: http://lkml.kernel.org/r/1483470276-10517-1-git-send-email-geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig
lib/Makefile
lib/crc32.c
lib/crc32test.c [new file with mode: 0644]