[Cbe-oss-dev] [PATCH] libspe2: fix implementation of spe_out_mbox_read()

Arnd Bergmann arnd at arndb.de
Fri Apr 13 21:15:14 EST 2007


On Friday 13 April 2007, Gerhard Stenzel wrote:
> 
> If no data is available, current spe_out_mbox_read() returns EAGAIN instead
> of 0, as it should according to specification. This patch fixes the
> implementation.
> 

Have you checked that the same bug doesn't exist when accessing the
other two mailboxes in non-blocking mode? The kernel will also
return EAGAIN for these.

	Arnd <><



More information about the cbe-oss-dev mailing list