aboutsummaryrefslogtreecommitdiff
path: root/lib/hashtable_test.c
AgeCommit message (Collapse)AuthorFilesLines
2024-06-24KUnit: add missing MODULE_DESCRIPTION() macros for lib/*_test.koJeff Johnson1-0/+1
make allmodconfig && make W=1 C=1 reports for lib/*_test.ko: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/atomic64_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/hashtable_test.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jeff Johnson <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
2023-02-08lib/hashtable_test.c: add test for the hashtable structureRae Moar1-0/+317
Add a KUnit test for the kernel hashtable implementation in include/linux/hashtable.h. Note that this version does not yet test each of the rcu alternative versions of functions. Signed-off-by: Rae Moar <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>