* [PATCH] tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition
@ 2024-06-17 19:52 Sidhartha Kumar
2024-06-21 13:40 ` Liam R. Howlett
0 siblings, 1 reply; 2+ messages in thread
From: Sidhartha Kumar @ 2024-06-17 19:52 UTC (permalink / raw)
To: linux-kernel, maple-tree
Cc: linux-mm, linux-fsdevel, akpm, liam.howlett, willy,
quic_jjohnson, Sidhartha Kumar
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(+)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition
2024-06-17 19:52 [PATCH] tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition Sidhartha Kumar
@ 2024-06-21 13:40 ` Liam R. Howlett
0 siblings, 0 replies; 2+ messages in thread
From: Liam R. Howlett @ 2024-06-21 13:40 UTC (permalink / raw)
To: Sidhartha Kumar
Cc: linux-kernel, maple-tree, linux-mm, linux-fsdevel, akpm, willy,
quic_jjohnson
* 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-21 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-17 19:52 [PATCH] tools/testing/radix-tree: add missing MODULE_DESCRIPTION definition Sidhartha Kumar
2024-06-21 13:40 ` Liam R. Howlett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox