From: "Dotan Barak" <dotanba@gmail.com>
To: apw@uk.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: False positive in checkpatch on pointers to typedefs?
Date: Sun, 16 Nov 2008 10:42:09 +0200 [thread overview]
Message-ID: <2f3bf9a60811160042h77ab2a5dh1bd479dc9707f682@mail.gmail.com> (raw)
Hi.
Executing checkpatch version 0.24 of the following c program produces
the following error message:
ERROR: need consistent spacing around '*' (ctx:WxV)
#7: FILE: dotan.c:7:
+ my_int *time_arr[SIZE];
<code start>
#define SIZE 10
typedef int my_int;
int main()
{
my_int *time_arr[SIZE];
return 0;
}
<code end>
I can't find anything wrong in this C code.
Can you please check this issue?
Thanks
Dotan
reply other threads:[~2008-11-16 8:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=2f3bf9a60811160042h77ab2a5dh1bd479dc9707f682@mail.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
all inboxes | Powered by JetHome®