summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-10-28 17:29:54 +0100
committerLuis Chamberlain <mcgrof@kernel.org>2024-10-28 23:27:08 +0100
commitaf0847537031c0c7cc0a168776ac21e29fa74c5c (patch)
treea8fa5dea4d0900edbf61ce2d0909dfeaee8886f4 /lib
parentselftests: add new kallsyms selftests (diff)
downloadlinux-af0847537031c0c7cc0a168776ac21e29fa74c5c.tar.xz
linux-af0847537031c0c7cc0a168776ac21e29fa74c5c.zip
selftests: kallsyms: add MODULE_DESCRIPTION
The newly added test script creates modules that are lacking a description line in order to build cleanly: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/module/test_kallsyms_a.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/module/test_kallsyms_b.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/module/test_kallsyms_c.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/module/test_kallsyms_d.o Fixes: 84b4a51fce4c ("selftests: add new kallsyms selftests") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/tests/module/gen_test_kallsyms.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tests/module/gen_test_kallsyms.sh b/lib/tests/module/gen_test_kallsyms.sh
index e85f10dc11bd..ae5966f1f904 100755
--- a/lib/tests/module/gen_test_kallsyms.sh
+++ b/lib/tests/module/gen_test_kallsyms.sh
@@ -99,6 +99,7 @@ module_exit(auto_test_module_exit);
MODULE_AUTHOR("Luis Chamberlain <mcgrof@kernel.org>");
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Test module for kallsyms");
____END_MODULE
}