Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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.

Link: https://lkml.kernel.org/r/20240617195221.106565-1-sidhartha.kumar@oracle.com
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>
Cc: Jeff Johnson <quic_jjohnson@quicinc.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Sidhartha Kumar and committed by
Andrew Morton
326c34ef 03bf0044

+2
+1
tools/testing/radix-tree/maple.c
··· 19 19 #define module_init(x) 20 20 #define module_exit(x) 21 21 #define MODULE_AUTHOR(x) 22 + #define MODULE_DESCRIPTION(X) 22 23 #define MODULE_LICENSE(x) 23 24 #define dump_stack() assert(0) 24 25
+1
tools/testing/radix-tree/xarray.c
··· 10 10 #define module_init(x) 11 11 #define module_exit(x) 12 12 #define MODULE_AUTHOR(x) 13 + #define MODULE_DESCRIPTION(X) 13 14 #define MODULE_LICENSE(x) 14 15 #define dump_stack() assert(0) 15 16