Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KUnit: add missing MODULE_DESCRIPTION() macros for lib/*_test.ko

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/20240601-md-lib-test2-v1-1-be764b785f17@quicinc.com
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Jeff Johnson and committed by
Andrew Morton
f069e33d e471831b

+2
+1
lib/atomic64_test.c
··· 273 273 module_init(test_atomics_init); 274 274 module_exit(test_atomics_exit); 275 275 276 + MODULE_DESCRIPTION("Testsuite for atomic64_t functions"); 276 277 MODULE_LICENSE("GPL");
+1
lib/hashtable_test.c
··· 314 314 315 315 kunit_test_suites(&hashtable_test_module); 316 316 317 + MODULE_DESCRIPTION("KUnit test for the Kernel Hashtable structures"); 317 318 MODULE_LICENSE("GPL");