Linux Kernel and Device Drivers :: DOs and DON'Ts "DOSDONTS"
A guide to newbies and Kernel hackers of common things to DO and DON'T when writing Kernel and device drivers code for the Linux Operating system based on the experiences of open-source developers and TODO list of the Kernel janitor Project.
This is an effort to document known good practices of the Kernel development community and provide them in an easy to understand and example-plenty format to assist Kernel hackers and newbies alike in their Linux development work.
This is an open project and contributions are welcome. However, submissions need to stay within the intended focus of this effort:
Back your contributions with code or valid references.
The goal of this document is to assist developers in producing robust and as bug-free as possible code. Concepts such as statistics in drivers, resource monitoring, audit tools, etc. don't belong here and are considered bloat.
Follow the Linux CodingStyle and generate patches to be applied with a -p1 flag.
Make sure you're not violating any licensing or copyrights.
Links to Documents:
Related projects: