diff mbox series

tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition

Message ID 20240617195221.106565-1-sidhartha.kumar@oracle.com (mailing list archive)
State New
Headers show
Series tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition | expand

Commit Message

Sidhartha Kumar June 17, 2024, 7:52 p.m. UTC
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@oracle.com>
---
 tools/testing/radix-tree/maple.c  | 1 +
 tools/testing/radix-tree/xarray.c | 1 +
 2 files changed, 2 insertions(+)

Comments

Liam R. Howlett June 21, 2024, 1:40 p.m. UTC | #1
* Sidhartha Kumar <sidhartha.kumar@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@oracle.com>

Reviewed-by: Liam R. Howlett <Liam.Howlett@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
>
diff mbox series

Patch

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)