kunit: fix debugfs code to use enum kunit_status, not bool
authorDaniel Latypov <dlatypov@google.com>
Fri, 29 Apr 2022 18:12:59 +0000 (11:12 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 2 May 2022 18:36:03 +0000 (12:36 -0600)
commit38289a26e1b8a37755f3e07056ca416c1ee2a2e8
tree1e578b16093784c0a5013f2a6b23424386e48ba3
parent3b91f826588ab07c37722d299dbb809b657640a0
kunit: fix debugfs code to use enum kunit_status, not bool

Commit 6d2426b2f258 ("kunit: Support skipped tests") switched to using
`enum kunit_status` to track the result of running a test/suite since we
now have more than just pass/fail.

This callsite wasn't updated, silently converting to enum to a bool and
then back.

Fixes: 6d2426b2f258 ("kunit: Support skipped tests")
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/debugfs.c