diff options
| author | Michał Winiarski <[email protected]> | 2022-08-31 23:56:07 +0200 |
|---|---|---|
| committer | Maíra Canal <[email protected]> | 2022-09-09 15:54:12 -0300 |
| commit | 6da75526fc9edf940c12a785cc2fdeaf22101cad (patch) | |
| tree | 4784b04eb5522cebd0c3529afe49e9c84720701f /tools/perf/scripts/python/bin | |
| parent | f3aaa6125b6f1532d3276d705b1a3791f18a872a (diff) | |
drm/format: Use appropriate types in expect/assert
drm_format_info_* functions don't return bool, and the info variable is a
pointer.
Expecting non-NULL info will cause the test to crash if it is NULL in
checks that follow (which dereference it).
Use appropriate KUNIT_EXPECT/KUNIT_ASSERT variants.
Signed-off-by: Michał Winiarski <[email protected]>
Reviewed-by: Maíra Canal <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions