kernel: USB update from stlinux24_217
This commit is contained in:
@@ -1041,7 +1041,7 @@ static int mon_bin_ioctl(struct inode *inode, struct file *file,
|
||||
nevents = mon_bin_queued(rp);
|
||||
|
||||
sp = (struct mon_bin_stats __user *)arg;
|
||||
if (put_user(rp->cnt_lost, &sp->dropped))
|
||||
if (put_user(ndropped, &sp->dropped))
|
||||
return -EFAULT;
|
||||
if (put_user(nevents, &sp->queued))
|
||||
return -EFAULT;
|
||||
|
Reference in New Issue
Block a user