[PATCH] test_maple_tree: add the missing MODULE_DESCRIPTION() macro

Jeff Johnson posted 1 patch 1 year, 8 months ago
lib/test_maple_tree.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] test_maple_tree: add the missing MODULE_DESCRIPTION() macro
Posted by Jeff Johnson 1 year, 8 months ago
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_maple_tree.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 lib/test_maple_tree.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c
index 399380db449c..31561e0e1a0d 100644
--- a/lib/test_maple_tree.c
+++ b/lib/test_maple_tree.c
@@ -3946,4 +3946,5 @@ static void __exit maple_tree_harvest(void)
 module_init(maple_tree_seed);
 module_exit(maple_tree_harvest);
 MODULE_AUTHOR("Liam R. Howlett <Liam.Howlett@Oracle.com>");
+MODULE_DESCRIPTION("maple tree API test module");
 MODULE_LICENSE("GPL");

---
base-commit: b050496579632f86ee1ef7e7501906db579f3457
change-id: 20240531-md-lib-test_maple_tree-51da39617917
Re: [PATCH] test_maple_tree: add the missing MODULE_DESCRIPTION() macro
Posted by Liam R. Howlett 1 year, 8 months ago
* Jeff Johnson <quic_jjohnson@quicinc.com> [240531 20:13]:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_maple_tree.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>

Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>

> ---
>  lib/test_maple_tree.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c
> index 399380db449c..31561e0e1a0d 100644
> --- a/lib/test_maple_tree.c
> +++ b/lib/test_maple_tree.c
> @@ -3946,4 +3946,5 @@ static void __exit maple_tree_harvest(void)
>  module_init(maple_tree_seed);
>  module_exit(maple_tree_harvest);
>  MODULE_AUTHOR("Liam R. Howlett <Liam.Howlett@Oracle.com>");
> +MODULE_DESCRIPTION("maple tree API test module");
>  MODULE_LICENSE("GPL");
> 
> ---
> base-commit: b050496579632f86ee1ef7e7501906db579f3457
> change-id: 20240531-md-lib-test_maple_tree-51da39617917
>