Merged requested to merge mairacanal/mesa:v3dv/error_handling into main
Currently, process_singlesync_signals() checks if fd == -1 to handle possible errors in the drmSyncobjExportSyncFile function. But, fd is not initialized, which means that drmSyncobjExportSyncFile might fail and the error will not be handled as fd might not be equal to -1.
Therefore, initialize the fd variable with value -1 to ensure proper error handling.
Signed-off-by: Maíra Canal firstname.lastname@example.org