diff options
author | Vinicius Peixoto <[email protected]> | 2024-10-12 04:43:49 -0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-05 17:12:31 -0800 |
commit | 5d042707089f0d0c49473d05250e4f319a71e1df (patch) | |
tree | 6dd6f2eec802c9f6a1ef8118bbe36e528efa1853 /scripts/gdb/linux/lists.py | |
parent | a9d38bcd7337f051912174ebfc500e1cef73982e (diff) |
lib/crc16_kunit.c: add KUnit tests for crc16
Add Kunit tests for the kernel's implementation of the standard CRC-16
algorithm (<linux/crc16.h>). The test data consists of 100
randomly-generated test cases, validated against a naive CRC-16
implementation.
This test follows roughly the same logic as lib/crc32test.c, but without
the performance measurements.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vinicius Peixoto <[email protected]>
Co-developed-by: Enzo Bertoloti <[email protected]>
Signed-off-by: Enzo Bertoloti <[email protected]>
Co-developed-by: Fabricio Gasperin <[email protected]>
Signed-off-by: Fabricio Gasperin <[email protected]>
Suggested-by: David Laight <[email protected]>
Cc: Brendan Higgins <[email protected]>
Cc: David Gow <[email protected]>
Cc: Rae Moar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions