[PATCH 6.12 337/565] media: redrat3: use int type to store negative error codes