From: Dotan Barak <dotanba@gmail.com>
To: apw@uk.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: checkpatch.pl print the line twice when trailing statements in the same line
Date: Mon, 20 Oct 2008 20:51:38 +0200 [thread overview]
Message-ID: <200810202051.38694.dotanba@gmail.com> (raw)
Hi.
I executed checkpatch.pl version 0.24 on a file and i noticed that when
a tailing statement is being declared at the same line with "while, checkpatch
prints the erroneous line twice.
Here is an example of the output:
ERROR: trailing statements should be on next line
#651: FILE: idbm.c:651:
+ while (*nl && isspace(c = *nl)) nl++;
+ while (*nl && isspace(c = *nl)) nl++;
Is this is the expected behavior?
Thanks
Dotan
next reply other threads:[~2008-10-20 19:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-20 18:51 Dotan Barak [this message]
2008-10-31 8:24 ` checkpatch.pl print the line twice when trailing statements in the same line Andy Whitcroft
2008-11-12 13:54 ` Andy Whitcroft
2008-11-12 15:38 ` Dotan Barak
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=200810202051.38694.dotanba@gmail.com \
--to=dotanba@gmail.com \
--cc=apw@uk.ibm.com \
--cc=linux-kernel@vger.kernel.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