Skip to content

Commit

Permalink
Documentation: kunit: change complete_and_exit to kthread_complete_an…
Browse files Browse the repository at this point in the history
…d_exit

Commit cead185 ("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>
  • Loading branch information
Andreas-Christian Hagau authored and Jonathan Corbet committed Apr 22, 2022
1 parent c2fe645 commit 77930ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/dev-tools/kunit/architecture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77930ee

Please sign in to comment.