Searched refs:tmsgs (Results 1 – 1 of 1) sorted by relevance
1702 struct i2c_msg __user *tmsgs; in do_i2c_rdwr_ioctl() local1718 tmsgs = &tdata->msgs[0]; in do_i2c_rdwr_ioctl()1721 put_user(tmsgs, &tdata->cmd.msgs)) in do_i2c_rdwr_ioctl()1725 if (copy_in_user(&tmsgs[i].addr, &umsgs[i].addr, 3*sizeof(u16))) in do_i2c_rdwr_ioctl()1728 put_user(compat_ptr(datap), &tmsgs[i].buf)) in do_i2c_rdwr_ioctl()