iris: handle os_dupfd_cloexec failure
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Thu, 30 Jul 2020 12:29:56 +0000 (14:29 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Sep 2020 15:08:01 +0000 (15:08 +0000)
commit0685815ea629d94532d3d8b7214c26d727e0280a
tree66330e829e8717a4b121049525055cc9b2bed98a
parent612ef74190ca6c4d036e014e5fc228b671513771
iris: handle os_dupfd_cloexec failure

Found by Coverity.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6126>
src/gallium/winsys/iris/drm/iris_drm_winsys.c