summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorAndreas-Christian Hagau <ach@hagau.se>2022-04-17 11:37:51 +0300
committerJonathan Corbet <corbet@lwn.net>2022-04-22 18:47:25 +0300
commit77930ee4d5b35e4a88a33e83fe8bf91a7a7016f9 (patch)
tree1634ac0a8f862bfd7ce2fba26f6cad86d858fce0 /Documentation/dev-tools
parentc2fe645e5f147122646a0c2731255bf6c33ec2c0 (diff)
downloadlinux-77930ee4d5b35e4a88a33e83fe8bf91a7a7016f9.tar.xz
Documentation: kunit: change complete_and_exit to kthread_complete_and_exit
Commit cead18552660 ("exit: Rename complete_and_exit to kthread_complete_and_exit") renamed complete_and_exit to kthread_complete_and_exit. Signed-off-by: Andreas-Christian Hagau <ach@hagau.se> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/dev-tools')
-rw-r--r--Documentation/dev-tools/kunit/architecture.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dev-tools/kunit/architecture.rst b/Documentation/dev-tools/kunit/architecture.rst
index ff9c85a0bff2..cf9e6e3eeae4 100644
--- a/Documentation/dev-tools/kunit/architecture.rst
+++ b/Documentation/dev-tools/kunit/architecture.rst
@@ -125,7 +125,7 @@ All expectations/assertions are formatted as:
``void __noreturn kunit_try_catch_throw(struct kunit_try_catch *try_catch)``.
- ``kunit_try_catch_throw`` calls function:
- ``void complete_and_exit(struct completion *, long) __noreturn;``
+ ``void kthread_complete_and_exit(struct completion *, long) __noreturn;``
and terminates the special thread context.
- ``<op>`` denotes a check with options: ``TRUE`` (supplied property