Documentation: kunit: Rename references to kunit_abort()
authorDavid Gow <davidgow@google.com>
Fri, 2 Jun 2023 03:53:59 +0000 (11:53 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 6 Jun 2023 14:57:37 +0000 (08:57 -0600)
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>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/architecture.rst

index e95ab05342bb968d7923c8fac5cf4316f7c13ed8..f335f883f8f69bc8f569b15c4a4da8f17b852b8c 100644 (file)
@@ -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: