Skip to content

Commit 6f3283d

Browse files
sidkumar99akpm00
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/[email protected] Fixes: f069e33 ("KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko") Signed-off-by: Sidhartha Kumar <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Cc: Jeff Johnson <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 3034749 commit 6f3283d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)