1

Simple Linux driver, unexpected multiple call of copy_from_user

view story
linux-howto

http://ubuntuforums.org – Hi all, Recently I got interested in Linux drivers and how they are developed. I am complete beginner in this area, although I am pretty familiar with C language and programming in general. I tried to create my first driver - a simple one, should be able to store data from user space in some memory and then should be able to read it in user space. I did some coding, the device is installed as a module, and is operational(I see my printk() dumps). But I face a strange behavior of my file write function. This is what my function looks like(really simple): ssize_t memory_write( struct file * (Hardware)