commit | 6ac299f3d3fe2220a73442372616496dc97b652a | [log] [tgz] |
---|---|---|
author | Stéphane Marchesin <marcheu@chromium.org> | Thu Mar 21 19:23:29 2019 |
committer | chrome-bot <chrome-bot@chromium.org> | Tue Mar 26 11:43:19 2019 |
tree | 8a17eaa650f804a7bc666e1828f372b9db66748d | |
parent | cc35e699f36cce0f0b3a130b0d6ce4e2a393b373 [diff] |
minigbm: Fix consistency in return values minigbm functions don't use errno; however drmIoctl does. So we need to return -errno instead of returning exactly what drmIoctl returns. BUG=none TEST=builds Change-Id: I20e00141782ac1407133ee72259fe43381954d26 Reviewed-on: https://chromium-review.googlesource.com/1534878 Commit-Ready: Stéphane Marchesin <marcheu@chromium.org> Tested-by: Stéphane Marchesin <marcheu@chromium.org> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>