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

From: Liam R. Howlett
Date: Sat Jun 01 2024 - 23:05:06 EST


* Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> [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@xxxxxxxxxxx>

Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>

> ---
> 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@xxxxxxxxxx>");
> +MODULE_DESCRIPTION("maple tree API test module");
> MODULE_LICENSE("GPL");
>
> ---
> base-commit: b050496579632f86ee1ef7e7501906db579f3457
> change-id: 20240531-md-lib-test_maple_tree-51da39617917
>