summaryrefslogtreecommitdiffstats
path: root/lib/kunit/test.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-02 13:08:18 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-02 13:08:18 -0800
commite7368fd30165ced757d64da48e2091c83815ce5c (patch)
tree4b74274d723578e0b43816f6e47a7f2ec0ba1127 /lib/kunit/test.c
parent42c78a5b29c47ad913993bcf845bfc39e2ed8c8b (diff)
parent254c71374a70051a043676b67ba4f7ad392b5fe6 (diff)
downloadlinux-stable-e7368fd30165ced757d64da48e2091c83815ce5c.tar.gz
linux-stable-e7368fd30165ced757d64da48e2091c83815ce5c.tar.bz2
linux-stable-e7368fd30165ced757d64da48e2091c83815ce5c.zip
Merge tag 'linux-kselftest-kunit-fixes-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull KUnit fixes from Shuah Khan: "Three fixes to bugs that cause kernel crash, link error during build, and a third to fix kunit_test_init_section_suites() extra indirection issue" * tag 'linux-kselftest-kunit-fixes-6.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: kunit: fix kunit_test_init_section_suites(...) kunit: fix bug in KUNIT_EXPECT_MEMEQ kunit: Export kunit_running()
Diffstat (limited to 'lib/kunit/test.c')
-rw-r--r--lib/kunit/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kunit/test.c b/lib/kunit/test.c
index c9ebf975e56b..890ba5b3a981 100644
--- a/lib/kunit/test.c
+++ b/lib/kunit/test.c
@@ -21,6 +21,7 @@
#include "try-catch-impl.h"
DEFINE_STATIC_KEY_FALSE(kunit_running);
+EXPORT_SYMBOL_GPL(kunit_running);
#if IS_BUILTIN(CONFIG_KUNIT)
/*