October 2017
Intermediate to advanced
586 pages
14h 8m
English
Before going deep into this section, you should always refer to the kernel coding style manual, at Documentation/CodingStyle in the kernel source tree. This coding style is a set of rules you should respect, at least if you need to get patches accepted by kernel developers. Some of these rules concern indentation, program flow, naming conventions, and so on.
The most popular ones are:
scripts/cleanfile my_module.c