[PATCH] tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition

Liam R. Howlett Liam.Howlett at oracle.com
Fri Jun 21 06:40:49 PDT 2024


* Sidhartha Kumar <sidhartha.kumar at oracle.com> [240617 15:52]:
> Userspace builds of the radix-tree testing suite fails because of commit
> test_maple_tree: add the missing MODULE_DESCRIPTION() macro. Add the
> proper defines to tools/testing/radix-tree/maple.c and
> tools/testing/radix-tree/xarray.c so MODULE_DESCRIPTION has a definition.
> This allows the build to succeed.
> 
> Fixes: 9f8090e8c4d1 ("test_maple_tree: add the missing MODULE_DESCRIPTION() macro")
> Signed-off-by: Sidhartha Kumar <sidhartha.kumar at oracle.com>

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

> ---
>  tools/testing/radix-tree/maple.c  | 1 +
>  tools/testing/radix-tree/xarray.c | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/tools/testing/radix-tree/maple.c b/tools/testing/radix-tree/maple.c
> index 175bb3346181..11f1efdf83f9 100644
> --- a/tools/testing/radix-tree/maple.c
> +++ b/tools/testing/radix-tree/maple.c
> @@ -19,6 +19,7 @@
>  #define module_init(x)
>  #define module_exit(x)
>  #define MODULE_AUTHOR(x)
> +#define MODULE_DESCRIPTION(X)
>  #define MODULE_LICENSE(x)
>  #define dump_stack()	assert(0)
>  
> diff --git a/tools/testing/radix-tree/xarray.c b/tools/testing/radix-tree/xarray.c
> index f20e12cbbfd4..d0e53bff1eb6 100644
> --- a/tools/testing/radix-tree/xarray.c
> +++ b/tools/testing/radix-tree/xarray.c
> @@ -10,6 +10,7 @@
>  #define module_init(x)
>  #define module_exit(x)
>  #define MODULE_AUTHOR(x)
> +#define MODULE_DESCRIPTION(X)
>  #define MODULE_LICENSE(x)
>  #define dump_stack()	assert(0)
>  
> -- 
> 2.45.2
> 



More information about the maple-tree mailing list