[PATCH] selftests: kallsyms: add MODULE_DESCRIPTION

From: Arnd Bergmann
Date: Mon Oct 28 2024 - 12:30:11 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

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@xxxxxxxx>
---
lib/tests/module/gen_test_kallsyms.sh | 1 +
1 file changed, 1 insertion(+)

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@xxxxxxxxxx>");
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Test module for kallsyms");
____END_MODULE
}

--
2.39.5