linux_dsm_epyc7002/drivers/gpu/drm/selftests
Nirmoy Das c9bb9d6685 drm/mm/selftests: fix wrong return type casting
Function prepare_igt_frag() and get_insert_time() were casting
signed value to unsigned value before returning error.
So error check in igt_frag() would not work with unsigned
return value from get_insert_time() compared against negative
value.

Addresses-Coverity: ("Unsigned compared against 0, no effect")
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reported-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/370636/
2020-06-23 15:57:30 +02:00
..
drm_cmdline_selftests.h
drm_mm_selftests.h
drm_modeset_selftests.h
drm_selftest.c
drm_selftest.h
Makefile
test-drm_cmdline_parser.c
test-drm_damage_helper.c
test-drm_dp_mst_helper.c
test-drm_format.c
test-drm_framebuffer.c
test-drm_mm.c drm/mm/selftests: fix wrong return type casting 2020-06-23 15:57:30 +02:00
test-drm_modeset_common.c
test-drm_modeset_common.h
test-drm_plane_helper.c
test-drm_rect.c