intel/compiler: Return early if read() failed
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Wed, 20 Nov 2019 15:21:42 +0000 (16:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jan 2020 20:52:47 +0000 (20:52 +0000)
commit5f78524d9b5c579d492470ebd635178339a551a6
tree499a76b3dc4451d47961c8cead1a4e5ece56219b
parent8490b7d917c46951e3bc6708000fb542350b814b
intel/compiler: Return early if read() failed

This was the only warning I could see while compiling Iris.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2821>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2821>
src/intel/compiler/brw_eu.cpp