[Cbe-oss-dev] [PATCH 1/3] powerpc/spufs: Use correct return value for spu_handle_mm_fault
Arnd Bergmann
arnd at arndb.de
Fri Feb 20 02:47:44 EST 2009
On Tuesday 17 February 2009, Jeremy Kerr wrote:
> Currently, spu_handle_mm_fault disregards the 'ret' variable and always
> returns -EFAULT on error.
>
> This change refactos spu_handle_mm_fault a little, to return the
> ret variable as appropriate. This allows us to combine the error and
> sucess paths.
>
> Also, remove the #if-0-ed IS_VALID_EA() check, it has never been
> used.
>
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the cbe-oss-dev
mailing list