---

KernelTrap: Cleaning Up Per The Kernel Coding Style

“Jesper Juhl submitted a small patch to bring the
kernel/module.c source file closer in line with the kernel’s
CodingStyle document. Specifically, he quoted from the CodingStyle
document, ‘don’t put multiple statements on a single line unless
you have something to hide,’ which goes on to give an example of
how such statements can cause confusion:

         if (condition) do_this;
           do_something_everytime;

Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis