Re: [PATCH] tools/testing/radix-tree/idr-test: add missing MODULE_DESCRIPTION define

From: Liam R. Howlett
Date: Wed Jun 26 2024 - 21:18:31 EST


Thanks. These (this one and two previous patches for xarray and maple)
are needed for our testing to compile.

* Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx> [240626 19:21]:
> Userspace builds of the radix-tree testing suite fails because of patch
> KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko. Add the
> proper defines to tools/testing/radix-tree/idr-test.c so
> MODULE_DESCRIPTION has a definition. This allows the build to succeed.
>
> Fixes: 303474913271("KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko")
> Signed-off-by: Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx>

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

> ---
>
> This patch is based on next-20240626
>
> tools/testing/radix-tree/idr-test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/radix-tree/idr-test.c b/tools/testing/radix-tree/idr-test.c
> index ca24f6839d50..84b8c3c92c79 100644
> --- a/tools/testing/radix-tree/idr-test.c
> +++ b/tools/testing/radix-tree/idr-test.c
> @@ -424,6 +424,7 @@ void idr_checks(void)
> #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)
> void ida_dump(struct ida *);
> --
> 2.45.2
>