summaryrefslogtreecommitdiff
path: root/benchmarks/prime_lookup.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-10-03 12:46:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-10-03 14:37:44 +0100
commit0045085c632a1cf5b4e9272304ee0e61ff9a7e6f (patch)
treeb98c60b8ea7eaeba2af79c0f642ebd497c1dd7ed /benchmarks/prime_lookup.c
parent08a2f887b26c89cfb1e1b5715a23d561b75e0dab (diff)
lib: Report the error from __gem_create()
We have two style of ioctl wrappers. The principle interface does error checking on behalf of the caller (to avoid having lots of repetitious code in each test), and for the few cases where the error is important for the test, we also expose a double underscore version. Fix up __gem_create() to follow this pattern and report the negative error code returned by the kernel. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'benchmarks/prime_lookup.c')
0 files changed, 0 insertions, 0 deletions