https://bugs.freedesktop.org/show_bug.cgi?id=110354
Bug ID: 110354 Summary: Confusing Junk in the results: Last errno: 25, Inappropriate ioctl for device Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: major Priority: medium Component: IGT Assignee: dri-devel@lists.freedesktop.org Reporter: arkadiusz.hiler@intel.com
IGT's asserts log the last errno if it's not 0, and it seems like we get this "Inappropriate ioctl for device" quite often polluting the CI results and confusing people.
We have to locate where is it originating from and set errno to 0 after handling it to stop the pollution.
Some examples: https://bugs.freedesktop.org/show_bug.cgi?id=109358 https://bugs.freedesktop.org/show_bug.cgi?id=110037 https://bugs.freedesktop.org/show_bug.cgi?id=110279