Bug 205773

Summary: Documentation: kunit: error in example on usage page
Product: Tools Reporter: Brendan Higgins (brendanhiggins)
Component: KUnitAssignee: Tools/KUnit virtual default assignee (tools_kunit)
Status: NEW ---    
Severity: normal CC: brendanhiggins
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: kselftest/test (5.4) Subsystem:
Regression: No Bisected commit-id:

Description Brendan Higgins 2019-12-04 22:20:16 UTC
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);
?