[igt-dev] [PATCH i-g-t 02/21] lib/i915/gem_context: Help static analysis with execution flow
Chris Wilson
chris at chris-wilson.co.uk
Wed Jan 16 11:30:07 UTC 2019
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
More information about the igt-dev
mailing list