uml: Fix sign of EFAULT in hostaudio_kern.c
PATCH 1/1 uml: Fix sign of EFAULT in hostaudio_kern.c
From: Johann Felix Soden <[email protected]>
Signed-off-by Johann Felix Soden <[email protected]>
--- arch/um/drivers/hostaudio_kern.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/um/drivers/hostaudio_kern.c +1 -1
@@ -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 ;
Signature · 13 lines
1.5.4.1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 3 lines · Johann Felix Soden
From: Johann Felix Soden <[email protected]>
Signed-off-by Johann Felix Soden <[email protected]>
Thanks - I'll forward this on, with a bit of a changelog :-)
Jeff
Signature · 10 lines
Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel