2022-04-18 06:34:18

by Andreas-Christian Hagau

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
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.

- ``<op>`` denotes a check with options: ``TRUE`` (supplied property
--
2.35.1


2022-04-21 07:38:45

by Brendan Higgins

[permalink] [raw]
Subject: Re: [PATCH] Documentation: kunit: change complete_and_exit to kthread_complete_and_exit

On Sun, Apr 17, 2022 at 4:37 AM Andreas-Christian Hagau <[email protected]> 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 <[email protected]>

Reviewed-by: Brendan Higgins <[email protected]>

2022-04-22 18:54:52

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: kunit: change complete_and_exit to kthread_complete_and_exit

Andreas-Christian Hagau <[email protected]> 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 <[email protected]>
> ---
> 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