diff mbox series

lib/test_kmod: add missing MODULE_DESCRIPTION() macro

Message ID 20240531-md-lib-test_kmod-v1-1-fdf11bc6095e@quicinc.com (mailing list archive)
State Handled Elsewhere
Headers show
Series lib/test_kmod: add missing MODULE_DESCRIPTION() macro | expand

Commit Message

Jeff Johnson June 1, 2024, 12:23 a.m. UTC
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 <quic_jjohnson@quicinc.com>
---
 lib/test_kmod.c | 1 +
 1 file changed, 1 insertion(+)


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

Comments

Lucas De Marchi June 14, 2024, 6:52 p.m. UTC | #1
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 <quic_jjohnson@quicinc.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>


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 <mcgrof@kernel.org>");
>+MODULE_DESCRIPTION("kmod stress test driver");
> MODULE_LICENSE("GPL");
>
>---
>base-commit: b050496579632f86ee1ef7e7501906db579f3457
>change-id: 20240531-md-lib-test_kmod-83bf2ee7e725
>
diff mbox series

Patch

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 <mcgrof@kernel.org>");
+MODULE_DESCRIPTION("kmod stress test driver");
 MODULE_LICENSE("GPL");