Skip to content

Commit 6f3283d

Browse files
Sidhartha Kumarakpm00
authored andcommitted
tools/testing/radix-tree/idr-test: add missing MODULE_DESCRIPTION define
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. Link: https://lkml.kernel.org/r/20240626232100.306130-1-sidhartha.kumar@oracle.com Fixes: f069e33 ("KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko") 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>
1 parent 3034749 commit 6f3283d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/testing/radix-tree/idr-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ void idr_checks(void)
424424
#define module_init(x)
425425
#define module_exit(x)
426426
#define MODULE_AUTHOR(x)
427+
#define MODULE_DESCRIPTION(X)
427428
#define MODULE_LICENSE(x)
428429
#define dump_stack() assert(0)
429430
void ida_dump(struct ida *);

0 commit comments

Comments
 (0)