mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
lib: Ignore udev failure to report an event
Fixes gem_exec_suspend complaining that the hang detector spontaneously combusts. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2b804c33e7
commit
c89e8dbfd8
@ -382,7 +382,7 @@ hang_detector_process(pid_t pid, dev_t rdev)
|
|||||||
dev_t devnum;
|
dev_t devnum;
|
||||||
|
|
||||||
if (dev == NULL)
|
if (dev == NULL)
|
||||||
break;
|
continue;
|
||||||
|
|
||||||
devnum = udev_device_get_devnum(dev);
|
devnum = udev_device_get_devnum(dev);
|
||||||
if (memcmp(&rdev, &devnum, sizeof(dev_t)) == 0) {
|
if (memcmp(&rdev, &devnum, sizeof(dev_t)) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user