Re: [igt-dev] [PATCH i-g-t 02/21] lib/i915/gem_context: Help static analysis with execution flow

Chris Wilson
2019-01-16T11:30:26Z

Quoting Petri Latvala (2019-01-16 11:20:31)
> If an igt_ioctl fails, errno is set to non-zero, and static analysis
> doesn't quite get it. Add an igt_assume() to help.

Since we install a custom ioctl func, we could just state it returns
long / ERR_VALUE, matching the kernel ioctl syscall...
-Chris