From: Paul Mackerras <paulus@samba.org>
To: Dave Hansen <hansendc@us.ibm.com>
Cc: Joel Schopp <jschopp@austin.ibm.com>,
Andy Whitcroft <apw@shadowen.org>, Andrew Morton <akpm@osdl.org>,
Randy Dunlap <rdunlap@xenotime.net>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] update checkpatch.pl to version 0.06
Date: Sat, 23 Jun 2007 14:04:41 +1000 [thread overview]
Message-ID: <18044.39897.718750.969247@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1182535330.26162.50.camel@localhost>
Dave Hansen writes:
> Several of our on-disk filesystems have an ioctl function that already
> has indented goto labels. I don't think it's quite worth churning all
> of these (working) filesystems to make a style checker happy.
I agree.
> I think it's worse style to be mixing label indentation in a file as it
> is to create new "correct" indentation labels. That's why I suggested
> using context in the file to determine it rather than absolute rules.
I don't think indentation of labels is something one can or should be
too prescriptive about. As you say, it depends on the context.
Having a script being fascist about such things makes it useless,
because I for one will just start ignoring the script totally.
Paul.
prev parent reply other threads:[~2007-06-23 4:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 8:45 Andy Whitcroft
2007-06-22 17:09 ` Dave Hansen
2007-06-22 17:54 ` Joel Schopp
2007-06-22 18:02 ` Dave Hansen
2007-06-22 18:17 ` Joel Schopp
2007-06-22 19:16 ` Theodore Tso
2007-06-23 4:04 ` Paul Mackerras [this message]
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=18044.39897.718750.969247@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=akpm@osdl.org \
--cc=apw@shadowen.org \
--cc=hansendc@us.ibm.com \
--cc=jschopp@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
/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
all inboxes | Powered by JetHome®