[33/33] Run igt_ioctl.cocci

Submitted by Lyude Paul on June 10, 2019, 3:03 p.m.

Details

Message ID 20190610150321.512-33-lyude@redhat.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in IGT - Trybot

Not browsing as part of any series.

Commit Message

Lyude Paul June 10, 2019, 3:03 p.m.
From: Lyude Paul <lyude@redhat.com>

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

Patch hide | download patch | download mbox

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;