mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-25 22:20:52 +00:00
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 <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/20220831215608.349269-1-michal.winiarski@intel.com |
||
|---|---|---|
| .. | ||
| .kunitconfig | ||
| drm_buddy_test.c | ||
| drm_cmdline_parser_test.c | ||
| drm_damage_helper_test.c | ||
| drm_dp_mst_helper_test.c | ||
| drm_format_helper_test.c | ||
| drm_format_test.c | ||
| drm_framebuffer_test.c | ||
| drm_mm_test.c | ||
| drm_plane_helper_test.c | ||
| drm_rect_test.c | ||
| Makefile | ||