Re: [PATCH i-g-t v3 2/5] lib: Add more debug messages to error paths

2024-07-18 Thread Janusz Krzysztofik
On Wednesday, 17 July 2024 14:26:13 GMT+2 Janusz Krzysztofik wrote: > while (dir >= 0 && (path = va_arg(ap, const char *))) { > int fd; > > - fd = openat(dir, path, O_RDONLY); > + igt_debug_on_f((fd = openat(dir, path, O_RDONLY)) < 0, > +

[PATCH i-g-t v3 2/5] lib: Add more debug messages to error paths

2024-07-17 Thread Janusz Krzysztofik
On an attempt to resolve the issue of mysteriously failing updates of sysfs entries representing engine preempt timeout values, add debug messages to error paths of involved library functions. v2: No changes. v3: Add still more debug messages. Link: https://gitlab.freedesktop.org/drm/i915/kernel/