Re: Tool for automatic style of coding guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 27, 2012 at 11:45 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Fri, Jan 27, 2012 at 05:50:30PM +0530, Prajosh Premdas wrote:
>> Hi
>>
>> I have developed some kernel drivers and would like to send the patches for
>> review. But i find that I have not followed the coding guideline for tabs and
>> spaces properly, which can be easily corrected by using some tools like
>> astyle.
>>
>> Can any body please help me with the proper commands string for the astyle
>> tool? Or could any body please suggest me with any new tool like indent etc
>> which you are using
>
> scripts/Lindent will give you a good start, but odds are you really want
> to do this by hand, it will be easier in the end as indent can do some
> strange things at times.
>
> good luck,
>
> greg k-h

You can see this excellent video [1] where Greg has explained how to
submit your first patch.

[1] http://www.youtube.com/watch?v=LLBrBBImJt4

Regards,
Adil

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux