<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 3, 2015 at 9:05 AM, Nan Xiao <span dir="ltr"><<a href="mailto:xiaonan830818@gmail.com" target="_blank">xiaonan830818@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am just wondering whether there is a script/tool which format source code </div><div>according to kernel coding rule automatically? Such as tab, space, brace, etc. </div><div><br></div><div>Thanks very much in advance!</div></div></blockquote><div> </div><div>Bit of googleing give you the lots of suggestion, </div><div>One such script is present inside linux tree 'scripts/Lindent'</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> </div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div dir="ltr">Best Regards<span class="HOEnZb"><font color="#888888"><div>Nan Xiao</div></font></span></div></div></div>
</div></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div>~ Chetan Nanda</div></div>