public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@shadowen.org>
To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: rdunlap@xenotime.net, jschopp@austin.ibm.com,
	linux-kernel@vger.kernel.org
Subject: Re: asterisk-slash sequence in quoted string confuses checkpatch.pl
Date: Thu, 23 Oct 2008 15:14:37 +0100	[thread overview]
Message-ID: <20081023141437.GE8343@brain> (raw)
In-Reply-To: <200810212025.FCC73959.OJVHMOLOFFSQtF@I-love.SAKURA.ne.jp>

On Tue, Oct 21, 2008 at 08:25:09PM +0900, Tetsuo Handa wrote:
> [Reposting since the webmail system broke the code by adding backslashes. ]
> 
> Hello.
> 
> The below code confuses checkpatch.pl ver 0.21.
> 
> Regards.
> ----------
> # cat /tmp/foo.c
> void foo(void)
> {
> 	bar(" /proc/\\*/");
> 	bar(" /proc/\\$/");
> }
> # /usr/src/vanilla/linux-2.6.27.2/scripts/checkpatch.pl --file /tmp/foo.c
> ERROR: need consistent spacing around '/' (ctx:WxV)
> #4: FILE: tmp/foo.c:4:
> +       bar(" /proc/\\$/");

We believe that this is fixed in the latest release, and indeed I believe
you have acked.  But I'll reply again here for completeness.

-apw

  reply	other threads:[~2008-10-23 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 11:25 asterisk-slash sequence in quoted string confuses checkpatch.pl Tetsuo Handa
2008-10-23 14:14 ` Andy Whitcroft [this message]
2008-10-23 21:36   ` Tetsuo Handa

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=20081023141437.GE8343@brain \
    --to=apw@shadowen.org \
    --cc=jschopp@austin.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    --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