From: Andy Whitcroft <apw@shadowen.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: rdunlap@xenotime.net, jschopp@austin.ibm.com,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Checkpatch.pl failure
Date: Mon, 14 Jan 2008 17:10:23 +0000 [thread overview]
Message-ID: <20080114171023.GB19327@shadowen.org> (raw)
In-Reply-To: <1200325734.3159.1.camel@localhost.localdomain>
On Mon, Jan 14, 2008 at 09:48:53AM -0600, James Bottomley wrote:
> This error:
>
> ERROR: no space before that close parenthesis ')'
> #501: FILE: drivers/scsi/dpt_i2o.c:2299:
> + if (dev_status == 0x02 /*CHECK_CONDITION*/) {
>
> Is definitely wrong. I think it's stripped the comments so now the if
> looks to have a space before the bracket, but stylistically the
> complaint it has errored out for is wrong.
Yes, that is kinda wrong. Its a difficult one to deal with nicely as
basically spacing goes to hell when comments are wedged in the middle.
The rules basically go out the window. In the next version I do at
least have a handle on where comments are, but we have not yet
progressed to where we can simply get the spacing checks right.
I'll think more on it, and see what we can do.
-apw
next prev parent reply other threads:[~2008-01-14 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 15:48 Checkpatch.pl failure James Bottomley
2008-01-14 16:18 ` Benny Halevy
2008-01-14 17:10 ` Andy Whitcroft [this message]
2008-01-14 19:04 ` Salyzyn, Mark
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=20080114171023.GB19327@shadowen.org \
--to=apw@shadowen.org \
--cc=James.Bottomley@HansenPartnership.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.