[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241028163000.2201045-1-arnd@kernel.org>
Date: Mon, 28 Oct 2024 16:29:54 +0000
From: Arnd Bergmann <arnd@...nel.org>
To: Luis Chamberlain <mcgrof@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
linux-kernel@...r.kernel.org
Subject: [PATCH] selftests: kallsyms: add MODULE_DESCRIPTION
From: Arnd Bergmann <arnd@...db.de>
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@...db.de>
---
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@...nel.org>");
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Test module for kallsyms");
____END_MODULE
}
--
2.39.5
Powered by blists - more mailing lists