We also saw this issue when porting out application to Xenomai 3.2 with imx6. Looks like the return value in upstream is still defined to be not always 0 on success. So we wrote a patch. It looks like this happend when dovetail was introduced.
The patch only applies to Xenomai 3.2 since ipipe is not part of the master anymore. Regards, Gunter
