]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: KUnit: Fix usage bug
authorAkira Kawata <akirakawata1@gmail.com>
Mon, 7 Feb 2022 11:20:44 +0000 (20:20 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 8 Feb 2022 20:16:20 +0000 (13:16 -0700)
commit36d7b14787aafd493fa9df6410a5b48e16bed899
treebfba9b387e1c57fd74110b2e89871ef37f99b9ba
parent77344b6e21aa7c75a92258942a0a5f0b0fbf117e
Documentation: KUnit: Fix usage bug

Fix a bug of kunit documentation.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=205773
: Quoting Steve Pfetsch:
:
: kunit documentation is incorrect:
: https://kunit.dev/third_party/stable_kernel/docs/usage.html
: struct rectangle *self = container_of(this, struct shape, parent);
:
:
: Shouldn't it be:
: struct rectangle *self = container_of(this, struct rectangle, parent);
: ?

Signed-off-by: Akira Kawata <akirakawata1@gmail.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/usage.rst