From c89e8dbfd8d8cebe56f68869c6b9b30ef7356889 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 29 Mar 2016 17:21:18 +0100 Subject: [PATCH] lib: Ignore udev failure to report an event Fixes gem_exec_suspend complaining that the hang detector spontaneously combusts. Signed-off-by: Chris Wilson --- lib/igt_aux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_aux.c b/lib/igt_aux.c index bfeaa168..45da07b7 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -382,7 +382,7 @@ hang_detector_process(pid_t pid, dev_t rdev) dev_t devnum; if (dev == NULL) - break; + continue; devnum = udev_device_get_devnum(dev); if (memcmp(&rdev, &devnum, sizeof(dev_t)) == 0) {