Re: [PATCH] alpha: PTR_ERR overwrites -EINVAL in syscall osf_mount

From: Richard Henderson
Date: Wed Feb 03 2010 - 12:26:56 EST


On 02/03/2010 07:49 AM, Roel Kluin wrote:
The initial -EINVAL value is overwritten by `retval = PTR_ERR(name)'.
If this isn't an error pointer and typenr is not 1, 6 or 9, then
this retval, a pointer cast to a long, is returned.

Signed-off-by: Roel Kluin<roel.kluin@xxxxxxxxx>

Acked-by: Richard Henderson <rth@xxxxxxxxxxx>


r~
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html