From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx188.postini.com [74.125.245.188]) by kanga.kvack.org (Postfix) with SMTP id 3C13E6B0034 for ; Wed, 12 Jun 2013 00:48:29 -0400 (EDT) Message-ID: <1371012507.2069.4.camel@joe-AO722> Subject: Re: [checkpatch] - Confusion From: Joe Perches Date: Tue, 11 Jun 2013 21:48:27 -0700 In-Reply-To: <1371010505.2069.3.camel@joe-AO722> References: <1370843475.58124.YahooMailNeo@web160106.mail.bf1.yahoo.com> <1370890140.99216.YahooMailNeo@web160102.mail.bf1.yahoo.com> <8a2ec29d-e6d8-44ed-a70d-2273848706ce@VA3EHSMHS029.ehs.local> <1371010505.2069.3.camel@joe-AO722> Content-Type: text/plain; charset="ISO-8859-1" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: =?ISO-8859-1?Q?S=F6ren?= Brinkmann Cc: PINTU KUMAR , Andy Whitcroft , anish singh , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" 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 _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: email@kvack.org