2024-06-01 00:23:26

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] lib/test_kmod: add missing MODULE_DESCRIPTION() macro

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_kmod.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
---
lib/test_kmod.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/test_kmod.c b/lib/test_kmod.c
index 1eec3b7ac67c..064ed0fce75a 100644
--- a/lib/test_kmod.c
+++ b/lib/test_kmod.c
@@ -1223,4 +1223,5 @@ static void __exit test_kmod_exit(void)
module_exit(test_kmod_exit);

MODULE_AUTHOR("Luis R. Rodriguez <[email protected]>");
+MODULE_DESCRIPTION("kmod stress test driver");
MODULE_LICENSE("GPL");

---
base-commit: b050496579632f86ee1ef7e7501906db579f3457
change-id: 20240531-md-lib-test_kmod-83bf2ee7e725



2024-06-14 18:54:49

by Lucas De Marchi

[permalink] [raw]
Subject: Re: [PATCH] lib/test_kmod: add missing MODULE_DESCRIPTION() macro

On Fri, May 31, 2024 at 05:23:09PM GMT, Jeff Johnson wrote:
>make allmodconfig && make W=1 C=1 reports:
>WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_kmod.o
>
>Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
>Signed-off-by: Jeff Johnson <[email protected]>


Reviewed-by: Lucas De Marchi <[email protected]>


Lucas De Marchi

>---
> lib/test_kmod.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/lib/test_kmod.c b/lib/test_kmod.c
>index 1eec3b7ac67c..064ed0fce75a 100644
>--- a/lib/test_kmod.c
>+++ b/lib/test_kmod.c
>@@ -1223,4 +1223,5 @@ static void __exit test_kmod_exit(void)
> module_exit(test_kmod_exit);
>
> MODULE_AUTHOR("Luis R. Rodriguez <[email protected]>");
>+MODULE_DESCRIPTION("kmod stress test driver");
> MODULE_LICENSE("GPL");
>
>---
>base-commit: b050496579632f86ee1ef7e7501906db579f3457
>change-id: 20240531-md-lib-test_kmod-83bf2ee7e725
>