Don Raikes <don.raikes at oracle.com> wrote: > Chris, > > I gave that code segmentthat I sent a try, and it gives me an error in the copy_to_user call. It looks like none of the bytes were copied to the userspace buffer. > I also get incompatible pointer types in the call to sys_write You said earlier this was for some kind of course; surely you should be asking your lecturer or tutor in the course for help with it, as they're in the best position to offer advice in the context of the project they've asked you to complete. At this point I really can't help any further, as I don't have a background in kernel development.