summaryrefslogtreecommitdiff
path: root/lib/kunit/executor.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-02-08 20:19:18 +0000
committerMark Brown <broonie@kernel.org>2024-02-08 20:19:18 +0000
commit0da9a7e5c86b003a9b446b30c90eaf96b2e442c2 (patch)
tree635e28216dae3a2a91806df91c5a3962998aa891 /lib/kunit/executor.c
parent0f0212558bc9e33fad4148d3f44745a367076b20 (diff)
parent76b31eb4c2da3ddb3195cc14f6aad24908adf524 (diff)
downloadlwn-0da9a7e5c86b003a9b446b30c90eaf96b2e442c2.tar.gz
lwn-0da9a7e5c86b003a9b446b30c90eaf96b2e442c2.zip
spi: get rid of some legacy macros
Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>: This series finishes off the removal of some of the legacy names for SPI controllers and devices.
Diffstat (limited to 'lib/kunit/executor.c')
-rw-r--r--lib/kunit/executor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kunit/executor.c b/lib/kunit/executor.c
index 717b9599036b..689fff2b2b10 100644
--- a/lib/kunit/executor.c
+++ b/lib/kunit/executor.c
@@ -146,6 +146,10 @@ void kunit_free_suite_set(struct kunit_suite_set suite_set)
kfree(suite_set.start);
}
+/*
+ * Filter and reallocate test suites. Must return the filtered test suites set
+ * allocated at a valid virtual address or NULL in case of error.
+ */
struct kunit_suite_set
kunit_filter_suites(const struct kunit_suite_set *suite_set,
const char *filter_glob,