[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <478B8B41.6060602@panasas.com>
Date: Mon, 14 Jan 2008 18:18:09 +0200
From: Benny Halevy <bhalevy@...asas.com>
To: James Bottomley <James.Bottomley@...senPartnership.com>
CC: rdunlap@...otime.net, apw@...dowen.org, jschopp@...tin.ibm.com,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Checkpatch.pl failure
On Jan. 14, 2008, 17:48 +0200, James Bottomley <James.Bottomley@...senPartnership.com> 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.
I've seen similar complaints as well and I agree with James that
they seem bogus. I think that the comment should be treated as
part of the grammar and not just stripped out and then you can
even add checks about allowed spacing before and after the comment.
>
> James
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists