Message ID | 3a0311b2-33af-d13e-e92b-111bfb357a19@linuxfoundation.org (mailing list archive) |
---|---|
State | Accepted |
Commit | ff00854812b216e06e92191f036eb0bd1596b2d4 |
Delegated to: | Brendan Higgins |
Headers | show |
Series | [GIT,PULL] KUnit fixes update for Linux 5.17-rc4 | expand |
The pull request you sent on Thu, 10 Feb 2022 13:02:20 -0700:
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-fixes-5.17-rc4
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ff00854812b216e06e92191f036eb0bd1596b2d4
Thank you!
diff --git a/Documentation/dev-tools/kunit/usage.rst b/Documentation/dev-tools/kunit/usage.rst index 76af931a332c..1c83e7d60a8a 100644 --- a/Documentation/dev-tools/kunit/usage.rst +++ b/Documentation/dev-tools/kunit/usage.rst @@ -242,7 +242,7 @@ example: int rectangle_area(struct shape *this) { - struct rectangle *self = container_of(this, struct shape, parent); + struct rectangle *self = container_of(this, struct rectangle, parent); return self->length * self->width; }; diff --git a/tools/testing/kunit/run_checks.py b/tools/testing/kunit/run_checks.py index 4f32133ed77c..13d854afca9d 100755 --- a/tools/testing/kunit/run_checks.py +++ b/tools/testing/kunit/run_checks.py @@ -61,7 +61,7 @@ def main(argv: Sequence[str]) -> None: elif isinstance(ex, subprocess.CalledProcessError): print(f'{name}: FAILED') else: - print('{name}: unexpected exception: {ex}') + print(f'{name}: unexpected exception: {ex}') continue output = ex.output