]> 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)
commit92a68053c3468705e2c7c752c9a3f256304a35a6
treebfba9b387e1c57fd74110b2e89871ef37f99b9ba
parentde4d73b16d5d9c3e5d03a66046e5410e1e74f903
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