On Wed, 22 Oct 2008 14:43:16 -0400
Steven Rostedt wrote:

> Return -1 on failed modified text.
>


changelog fails to explain the reason for the change.

> + if (__copy_to_user_inatomic((char __user *)ip, new_code,
> + MCOUNT_INSN_SIZE))
> + return -1;


why not -EFAULT?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/