Re: [OE-core] [PATCH] mips: Fix libaio system call interface

2013-01-30 Thread Phil Staub
On 01/29/2013 08:43 PM, Saul Wold wrote: On 01/29/2013 11:28 AM, Phil Staub wrote: The io_syscallX wrappers in syscall-mips.h discard error return status by overwriting the value returned in v0 from the system call with -1. Modify this behavior by returning the negative of the return value on e

Re: [OE-core] [PATCH] mips: Fix libaio system call interface

2013-01-29 Thread Saul Wold
On 01/29/2013 11:28 AM, Phil Staub wrote: The io_syscallX wrappers in syscall-mips.h discard error return status by overwriting the value returned in v0 from the system call with -1. Modify this behavior by returning the negative of the return value on error (as identified by a3 != 0). This conv

[OE-core] [PATCH] mips: Fix libaio system call interface

2013-01-29 Thread Phil Staub
The io_syscallX wrappers in syscall-mips.h discard error return status by overwriting the value returned in v0 from the system call with -1. Modify this behavior by returning the negative of the return value on error (as identified by a3 != 0). This convention is consistent with the behavior obser