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

2012-09-30 Thread Ohad Ben-Cohen
On Tue, Sep 25, 2012 at 9:05 AM, Dan Carpenter 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 Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

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

2012-09-30 Thread Ohad Ben-Cohen
On Tue, Sep 25, 2012 at 9:05 AM, Dan Carpenter dan.carpen...@oracle.com 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.carpen...@oracle.com Applied, thanks. -- To unsubscribe from this

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

2012-09-25 Thread Dan Carpenter
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 diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index ea90a56..157a573 100644 ---

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

2012-09-25 Thread Dan Carpenter
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.carpen...@oracle.com diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index ea90a56..157a573 100644 ---