The article: Writing device drivers in Linux: A brief tutorial Is a great starting point for Linux Kernel Development but it needs some simple updates. The first error you will find when compiling is: /home/peter/devel/kdpeter/2012/bricks/original-post/memory.c:3:26: fatal error: linux/config.h: No such file or directory compilation terminated. To fix, remove the line from the source code: #include <linux/config.h> Then some warnings: /home/peter/devel/kdpeter/2012/bricks/original-post/memory.c:28:3: warning: initialization from incompatible pointer type [enabled by default] /home/peter/devel/kdpeter/2012/bricks/original-post/memory.c:28:3: warning: (near initialization for ‘memory_fops.write’) [enabled by default] /home/peter/devel/kdpeter/2012/bricks/original-post/memory.c: In function ‘memory_write’: /home/peter/devel/kdpeter/2012/bricks/original-post/memory.c:110:17: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused...