diff mbox series

Documentation: kunit: change complete_and_exit to kthread_complete_and_exit

Message ID 20220417102807.10b91497ed@19d04f311a0a9de (mailing list archive)
State Accepted
Commit 77930ee4d5b35e4a88a33e83fe8bf91a7a7016f9
Delegated to: Brendan Higgins
Headers show
Series Documentation: kunit: change complete_and_exit to kthread_complete_and_exit | expand

Commit Message

Andreas-Christian Hagau April 17, 2022, 8:37 a.m. UTC
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>
---
 Documentation/dev-tools/kunit/architecture.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Brendan Higgins April 18, 2022, 9:29 p.m. UTC | #1
On Sun, Apr 17, 2022 at 4:37 AM Andreas-Christian Hagau <ach@hagau.se> wrote:
>
> 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>
Jonathan Corbet April 20, 2022, 9:32 a.m. UTC | #2
Andreas-Christian Hagau <ach@hagau.se> writes:

> 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>
> ---
>  Documentation/dev-tools/kunit/architecture.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/dev-tools/kunit/architecture.rst b/Documentation/dev-tools/kunit/architecture.rst
> index ff9c85a0bff21..cf9e6e3eeae4c 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.

Applied, thanks.

jon
diff mbox series

Patch

diff --git a/Documentation/dev-tools/kunit/architecture.rst b/Documentation/dev-tools/kunit/architecture.rst
index ff9c85a0bff21..cf9e6e3eeae4c 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