diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2022-10-20 10:21:34 +0200 |
---|---|---|
committer | Maíra Canal <mairacanal@riseup.net> | 2022-10-20 08:05:53 -0300 |
commit | d74c1b461f3d02fe1c3816dec7642caba2581c35 (patch) | |
tree | 824550b69549f7c4c548ceb12e0fc7f40b9f082d /include/asm-generic/preempt.h | |
parent | 7c99616e3fe7f35fe25bf6f5797267da29b4751e (diff) |
drm/plane_helper: Print actual/expected values on failure
Currently the values are printed with debug log level.
Adjust the log level and link the output with the test by using kunit_err.
Example output:
foo: dst: 20x20+10+10, expected: 10x10+0+0
foo: EXPECTATION FAILED at drivers/gpu/drm/tests/drm_plane_helper_test.c:85
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20221020082135.779872-1-michal.winiarski@intel.com
Diffstat (limited to 'include/asm-generic/preempt.h')
0 files changed, 0 insertions, 0 deletions