From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Tool for automatic style of coding guidelines
Date: Fri, 27 Jan 2012 10:15:44 -0800 [thread overview]
Message-ID: <20120127181544.GA28833@kroah.com> (raw)
In-Reply-To: <CAAFf3B_8e31NTc0z1pmEy+yChC77BYmWEFXHz-NafMVKy3Po=g@mail.gmail.com>
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
next prev parent reply other threads:[~2012-01-27 18:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-27 12:20 Tool for automatic style of coding guidelines Prajosh Premdas
2012-01-27 14:18 ` Philipp Ittershagen
2012-01-27 18:55 ` Greg Freemyer
2012-01-28 11:40 ` Bernd Petrovitsch
2012-01-27 18:15 ` Greg KH [this message]
2012-01-28 18:35 ` Adil Mujeeb
2012-01-30 15:06 ` Prajosh Premdas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120127181544.GA28833@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).