Skip to contentSkip to conversation

Documentation: kunit: change complete_and_exit to kthread_complete_and_exit

PATCH Applied Andreas-Christian Hagau 3 participants 3 messages Apr 17, 2022 – Apr 20, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/dev-tools/kunit/architecture.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/dev-tools/kunit/architecture.rst +1 -1
index ff9c85a0bff21..cf9e6e3eeae4c 100644
@@ -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
Signature · 1 line
2.35.1
maintainer Applied
#2 lore raw
In reply to Andreas-Christian Hagau
Quoted 14 lines · Andreas-Christian Hagau

Commit cead18552660 ("exit: Rename complete_and_exit to kthread_complete_and_exit") renamed complete_and_exit to kthread_complete_and_exit.

---
 Documentation/dev-tools/kunit/architecture.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/dev-tools/kunit/architecture.rst +0 -0
index ff9c85a0bff21..cf9e6e3eeae4c 100644

Documentation/dev-tools/kunit/architecture.rst All expectations/assertions are formatted as: · line 129

Quoted 6 lines
Documentation/dev-tools/kunit/architecture.rst +1 -1
@@ -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