Thread (7 messages) flat view 7 messages, 6 authors, 2012-01-30

Tool for automatic style of coding guidelines

From: Prajosh Premdas <hidden>
Date: 2012-01-30 15:06:18

Thanks for the suggestions and video links

Got the patches clean for review

On Sun, Jan 29, 2012 at 12:05 AM, Adil Mujeeb [off-list ref] wrote:
On Fri, Jan 27, 2012 at 11:45 PM, Greg KH [off-list ref] wrote:
quoted
On Fri, Jan 27, 2012 at 05:50:30PM +0530, Prajosh Premdas wrote:
quoted
Hi

I have developed some kernel drivers and would like to send the patches
for
quoted
quoted
review. But i find that I have not followed the coding guideline for
tabs and
quoted
quoted
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
quoted
quoted
tool? Or could any body please suggest me with any new tool like indent
etc
quoted
quoted
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


-- 
Regards,

Prajosh Premdas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120130/c2bde284/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help