]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools/testing/radix-tree/idr-test: add missing MODULE_DESCRIPTION define
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Wed, 26 Jun 2024 23:21:00 +0000 (16:21 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 29 Jun 2024 02:36:27 +0000 (19:36 -0700)
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: f069e33dafe1 ("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>
tools/testing/radix-tree/idr-test.c

index ca24f6839d50c49f585414620ec93af6d19422dd..84b8c3c92c79cf0a890d22d366f485b3ca5d2579 100644 (file)
@@ -424,6 +424,7 @@ void idr_checks(void)
 #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)
 void ida_dump(struct ida *);