Skip to content

freedreno: Check file descriptor before write.

Vinson Lee requested to merge vlee/mesa:fix-cid-1466564 into master

Fix defect reported by Coverity Scan.

Argument cannot be negative (NEGATIVE_RETURNS) negative_returns: fd is passed to a parameter that cannot be negative.

Fixes: 1ea4ef0d ("freedreno: slurp in decode tools") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @robclark

Merge request reports