[svn-commits] sruffell: linux/trunk r9043 - /linux/trunk/drivers/dahdi/wcte12xp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Jul 28 10:32:17 CDT 2010
Author: sruffell
Date: Wed Jul 28 10:32:07 2010
New Revision: 9043
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9043
Log:
wcte12xp: Add __user annotation in copy_to_user call.
Quiets sparse.
Modified:
linux/trunk/drivers/dahdi/wcte12xp/base.c
Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=9043&r1=9042&r2=9043
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Wed Jul 28 10:32:07 2010
@@ -1320,7 +1320,7 @@
for (x = 0; x < sizeof(regs.regs) / sizeof(regs.regs[0]); x++)
regs.regs[x] = t1_getreg(wc, x);
- if (copy_to_user((struct t4_regs *) data, ®s, sizeof(regs)))
+ if (copy_to_user((void __user *) data, ®s, sizeof(regs)))
return -EFAULT;
break;
default:
More information about the svn-commits
mailing list