From: Joe Perches <joe@perches.com>
To: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
Cc: PINTU KUMAR <pintu_agarwal@yahoo.com>,
Andy Whitcroft <apw@canonical.com>,
anish singh <anish198519851985@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [checkpatch] - Confusion
Date: Tue, 11 Jun 2013 21:48:27 -0700 [thread overview]
Message-ID: <1371012507.2069.4.camel@joe-AO722> (raw)
In-Reply-To: <1371010505.2069.3.camel@joe-AO722>
On Tue, 2013-06-11 at 21:15 -0700, Joe Perches wrote:
> > typedef struct ctl_table ctl_table; (include/linux/sysctl.h)
> > is not correctly picked up by checkpatch.
>
> checkpatch isn't a c compiler.
> It assumes any <foo>_t is a typedef.
>
> > So, I assume this actually is a false positive.
>
> Yup.
Another option is to use "struct ctl_table" instead of bare ctl_table.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2013-06-12 4:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-10 5:51 [checkpatch] - Confusion PINTU KUMAR
2013-06-10 5:58 ` anish singh
2013-06-10 18:49 ` PINTU KUMAR
2013-06-12 0:54 ` Sören Brinkmann
2013-06-12 4:15 ` Joe Perches
2013-06-12 4:48 ` Joe Perches [this message]
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=1371012507.2069.4.camel@joe-AO722 \
--to=joe@perches.com \
--cc=anish198519851985@gmail.com \
--cc=apw@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pintu_agarwal@yahoo.com \
--cc=soren.brinkmann@xilinx.com \
/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;
as well as URLs for NNTP newsgroup(s).