Re: [patch 3/3] remoteproc: return -EFAULT on copy_from_user failure

From: Ohad Ben-Cohen
Date: Sun Sep 30 2012 - 05:45:38 EST


On Tue, Sep 25, 2012 at 9:05 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> copy_from_user() returns the number of bytes remaining to be copied, but
> we want to return an error code here.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

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