[PATCH i-g-t 33/33] Run igt_ioctl.cocci

Lyude lyude at redhat.com
Fri Jun 7 23:08:21 UTC 2019


From: Lyude Paul <lyude at redhat.com>

Signed-off-by: Lyude Paul <lyude at redhat.com>
---
 tests/prime_vgem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/prime_vgem.c b/tests/prime_vgem.c
index 89e269e2..2dd6a03c 100644
--- a/tests/prime_vgem.c
+++ b/tests/prime_vgem.c
@@ -628,7 +628,7 @@ static uint32_t set_fb_on_crtc(int fd, int pipe, struct vgem_bo *bo, uint32_t fb
 		conn.modes_ptr = (uintptr_t)modes;
 		conn.encoders_ptr = (uintptr_t)encoders;
 		conn.count_props = 0;
-		do_or_die(drmIoctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn));
+		do_ioctl(fd, DRM_IOCTL_MODE_GETCONNECTOR, &conn);
 
 		for (e = 0; e < conn.count_encoders; e++) {
 			struct drm_mode_get_encoder enc;
-- 
2.21.0



More information about the Intel-gfx-trybot mailing list