[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1371012507.2069.4.camel@joe-AO722>
Date: Tue, 11 Jun 2013 21:48:27 -0700
From: Joe Perches <joe@...ches.com>
To: Sören Brinkmann <soren.brinkmann@...inx.com>
Cc: PINTU KUMAR <pintu_agarwal@...oo.com>,
Andy Whitcroft <apw@...onical.com>,
anish singh <anish198519851985@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: [checkpatch] - Confusion
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 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