* [PATCH] s390/lib: add missing MODULE_DESCRIPTION() macros
@ 2024-06-16 0:47 Jeff Johnson
2024-06-19 22:44 ` Vasily Gorbik
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-06-16 0:47 UTC (permalink / raw)
To: Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
Christian Borntraeger, Sven Schnelle
Cc: linux-s390, linux-kernel, kernel-janitors, Jeff Johnson
With ARCH=s390, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/lib/test_kprobes_s390.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/lib/test_unwind.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/lib/test_modules.o
Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
arch/s390/lib/test_kprobes.c | 1 +
arch/s390/lib/test_modules.c | 1 +
arch/s390/lib/test_unwind.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/arch/s390/lib/test_kprobes.c b/arch/s390/lib/test_kprobes.c
index 9e62d62812e5..9021298c3e8a 100644
--- a/arch/s390/lib/test_kprobes.c
+++ b/arch/s390/lib/test_kprobes.c
@@ -72,4 +72,5 @@ static struct kunit_suite kprobes_test_suite = {
kunit_test_suites(&kprobes_test_suite);
+MODULE_DESCRIPTION("KUnit tests for kprobes");
MODULE_LICENSE("GPL");
diff --git a/arch/s390/lib/test_modules.c b/arch/s390/lib/test_modules.c
index 9894009fc1f2..f96b6a3737e7 100644
--- a/arch/s390/lib/test_modules.c
+++ b/arch/s390/lib/test_modules.c
@@ -29,4 +29,5 @@ static struct kunit_suite modules_test_suite = {
kunit_test_suites(&modules_test_suite);
+MODULE_DESCRIPTION("KUnit test that modules with many relocations are loaded properly");
MODULE_LICENSE("GPL");
diff --git a/arch/s390/lib/test_unwind.c b/arch/s390/lib/test_unwind.c
index 2848e3fb2ff5..98440f9d01af 100644
--- a/arch/s390/lib/test_unwind.c
+++ b/arch/s390/lib/test_unwind.c
@@ -519,4 +519,5 @@ static struct kunit_suite test_unwind_suite = {
kunit_test_suites(&test_unwind_suite);
+MODULE_DESCRIPTION("KUnit test for unwind_for_each_frame");
MODULE_LICENSE("GPL");
---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240615-md-s390-arch-s390-lib-655bddd47742
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] s390/lib: add missing MODULE_DESCRIPTION() macros
2024-06-16 0:47 [PATCH] s390/lib: add missing MODULE_DESCRIPTION() macros Jeff Johnson
@ 2024-06-19 22:44 ` Vasily Gorbik
0 siblings, 0 replies; 2+ messages in thread
From: Vasily Gorbik @ 2024-06-19 22:44 UTC (permalink / raw)
To: Jeff Johnson
Cc: Heiko Carstens, Alexander Gordeev, Christian Borntraeger,
Sven Schnelle, linux-s390, linux-kernel, kernel-janitors
On Sat, Jun 15, 2024 at 05:47:26PM -0700, Jeff Johnson wrote:
> With ARCH=s390, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/lib/test_kprobes_s390.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/lib/test_unwind.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/lib/test_modules.o
>
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> arch/s390/lib/test_kprobes.c | 1 +
> arch/s390/lib/test_modules.c | 1 +
> arch/s390/lib/test_unwind.c | 1 +
> 3 files changed, 3 insertions(+)
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-19 22:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-16 0:47 [PATCH] s390/lib: add missing MODULE_DESCRIPTION() macros Jeff Johnson
2024-06-19 22:44 ` Vasily Gorbik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox