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); ?
Fix is out: https://patchwork.kernel.org/project/linux-kselftest/patch/20220207112043.397074-1-akirakawata1@gmail.com/