[PATCH] Documentation: kunit: Rename references to kunit_abort()

David Gow posted 1 patch 2 years, 8 months ago
Documentation/dev-tools/kunit/architecture.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] Documentation: kunit: Rename references to kunit_abort()
Posted by David Gow 2 years, 8 months ago
The kunit_abort() function has been renamed __kunit_abort(), update the
references to it in the documentation.

Suggested-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: David Gow <davidgow@google.com>
---
 Documentation/dev-tools/kunit/architecture.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/dev-tools/kunit/architecture.rst b/Documentation/dev-tools/kunit/architecture.rst
index e95ab05342bb..f335f883f8f6 100644
--- a/Documentation/dev-tools/kunit/architecture.rst
+++ b/Documentation/dev-tools/kunit/architecture.rst
@@ -119,9 +119,9 @@ All expectations/assertions are formatted as:
 	  terminated immediately.
 
 		- Assertions call the function:
-		  ``void __noreturn kunit_abort(struct kunit *)``.
+		  ``void __noreturn __kunit_abort(struct kunit *)``.
 
-		- ``kunit_abort`` calls the function:
+		- ``__kunit_abort`` calls the function:
 		  ``void __noreturn kunit_try_catch_throw(struct kunit_try_catch *try_catch)``.
 
 		- ``kunit_try_catch_throw`` calls the function:
-- 
2.41.0.rc2.161.g9c6817b8e7-goog
Re: [PATCH] Documentation: kunit: Rename references to kunit_abort()
Posted by Daniel Latypov 2 years, 8 months ago
On Thu, Jun 1, 2023 at 8:54 PM David Gow <davidgow@google.com> wrote:
>
> The kunit_abort() function has been renamed __kunit_abort(), update the
> references to it in the documentation.
>
> Suggested-by: Daniel Latypov <dlatypov@google.com>
> Signed-off-by: David Gow <davidgow@google.com>

Reviewed-by: Daniel Latypov <dlatypov@google.com>

Thanks!
Double checked that this was the only remaining reference and that
this patch applied OK.