[PATCH 018/119] rapidio: fix error handling path