From: Johann F. S. <jo...@gm...> - 2008-02-12 21:24:51
|
From: Johann Felix Soden <jo...@us...> Signed-off-by: Johann Felix Soden <jo...@us...> --- arch/um/drivers/hostaudio_kern.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c index ff1b22b..368219c 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c @@ -154,7 +154,7 @@ static int hostaudio_ioctl(struct inode *inode, struct file *file, case SNDCTL_DSP_SUBDIVIDE: case SNDCTL_DSP_SETFRAGMENT: if (get_user(data, (int __user *) arg)) - return EFAULT; + return -EFAULT; break; default: break; -- 1.5.4.1 |
From: Jeff D. <jd...@ad...> - 2008-02-13 17:40:50
|
On Tue, Feb 12, 2008 at 10:24:02PM +0100, Johann Felix Soden wrote: > From: Johann Felix Soden <jo...@us...> > > Signed-off-by: Johann Felix Soden <jo...@us...> Thanks - I'll forward this on, with a bit of a changelog :-) Jeff -- Work email - jdike at linux dot intel dot com |