> > if( ret = __generic_copy_to_user(arg_ptr, ts, > sizeof(time_stamp))) > { > printk("copy to user failed %d %d\n", ret, > sizeof(time_stamp)); > ret = -EFAULT; > Hmm. ts is not a pointer here. Damn. Anton -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/