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

Nan Xiao xiaonan830818 at gmail.com
Mon Aug 3 19:07:19 EDT 2015


Hi Chetan, Aruna, Rameshbabu, Daniel,

Thanks very much for all your time and kind advices!

Best Regards
Nan Xiao

On Mon, Aug 3, 2015 at 6:27 PM, Daniel Baluta <daniel.baluta at gmail.com>
wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150804/ee043217/attachment-0001.html 


More information about the Kernelnewbies mailing list