[PATCH 03/14] crc32: Simplify unit test code

2012-01-06 Thread Darrick J. Wong
Replaced the unit test provided in crc32.c, which doesn't have a makefile and doesn't compile with current headers, with a simpler self test routine that also gives a measure of performance and runs at module init time. The self test option can be enabled through a configuration option CONFIG_CRC32

[PATCH 03/14] crc32: Simplify unit test code

2011-12-01 Thread Darrick J. Wong
Replaced the unit test provided in crc32.c, which doesn't have a makefile and doesn't compile with current headers, with a simpler self test routine that also gives a measure of performance and runs at module init time. The self test option can be enabled through a configuration option CONFIG_CRC32