Home
last modified time | relevance | path

Searched refs:rangeinfo (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/staging/comedi/
Dcomedi_compat32.c127 struct comedi_rangeinfo __user *rangeinfo; in compat_rangeinfo() local
136 rangeinfo = compat_alloc_user_space(sizeof(*rangeinfo)); in compat_rangeinfo()
140 !access_ok(VERIFY_WRITE, rangeinfo, sizeof(*rangeinfo))) in compat_rangeinfo()
145 err |= __put_user(temp.uint, &rangeinfo->range_type); in compat_rangeinfo()
147 err |= __put_user(compat_ptr(temp.uptr), &rangeinfo->range_ptr); in compat_rangeinfo()
152 (unsigned long)rangeinfo); in compat_rangeinfo()