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

Chetan Nanda chetannanda at gmail.com
Mon Aug 3 00:08:57 EDT 2015


On Mon, Aug 3, 2015 at 9:05 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.
>
> Thanks very much in advance!
>

Bit of  googleing give you the lots of suggestion,
One such script is present inside linux tree 'scripts/Lindent'


>
Best Regards
> Nan Xiao
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> ~ Chetan Nanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150803/73b514f2/attachment.html 


More information about the Kernelnewbies mailing list