diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-01-30 15:12:58 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-01-30 15:12:58 -0800 |
| commit | 2a6526c4f389bb741e511be11721b3d1cbf1034a (patch) | |
| tree | d2964ddbdef539d17374500715defff131fc7c5b /lib/kunit/executor.c | |
| parent | d1d873a9bfac44a9a455d2ec47b85ea66f7888b9 (diff) | |
| parent | 1a9f2c776d1416c4ea6cb0d0b9917778c41a1a7d (diff) | |
| download | linux-2a6526c4f389bb741e511be11721b3d1cbf1034a.tar.gz linux-2a6526c4f389bb741e511be11721b3d1cbf1034a.tar.bz2 linux-2a6526c4f389bb741e511be11721b3d1cbf1034a.zip | |
Merge tag 'linux_kselftest-kunit-fixes-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kunit fixes from Shuah Khan:
"NULL vs IS_ERR() bug fixes, documentation update, MAINTAINERS file
update to add Rae Moar as a reviewer, and a fix to run test suites
only after module initialization completes"
* tag 'linux_kselftest-kunit-fixes-6.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
Documentation: KUnit: Update the instructions on how to test static functions
kunit: run test suites only after module initialization completes
MAINTAINERS: kunit: Add Rae Moar as a reviewer
kunit: device: Fix a NULL vs IS_ERR() check in init()
kunit: Fix a NULL vs IS_ERR() bug
Diffstat (limited to 'lib/kunit/executor.c')
| -rw-r--r-- | lib/kunit/executor.c | 4 |
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, |
