Is there any tool can format source code according to kernel coding rule?

Daniel Baluta daniel.baluta at gmail.com
Mon Aug 3 06:27:46 EDT 2015


On Mon, Aug 3, 2015 at 6:35 AM, Nan Xiao <xiaonan830818 at gmail.com> wrote:
> Hi all,
>
> I am just wondering whether there is a script/tool which format source code
> according to kernel coding rule automatically? Such as tab, space, brace,
> etc.


Try scripts/Lindent from the kernel source tree.

Daniel.



More information about the Kernelnewbies mailing list