[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FA7E3D0.2040906@linux.vnet.ibm.com>
Date: Mon, 07 May 2012 10:01:36 -0500
From: Seth Jennings <sjenning@...ux.vnet.ibm.com>
To: Minchan Kim <minchan@...nel.org>
CC: Nitin Gupta <ngupta@...are.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Dan Magenheimer <dan.magenheimer@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Subject: Re: [PATCH 3/4] zsmalloc use zs_handle instead of void *
On 05/03/2012 09:24 PM, Minchan Kim wrote:
> On 05/04/2012 12:23 AM, Seth Jennings wrote:
>> The reason I hadn't done it before is that it introduces a checkpatch
>> warning:
>>
>> WARNING: do not add new typedefs
>> #303: FILE: drivers/staging/zsmalloc/zsmalloc.h:19:
>> +typedef void * zs_handle;
>>
>
>
> Yes. I did it but I think we are (a) of chapter 5: Typedefs in Documentation/CodingStyle.
>
> (a) totally opaque objects (where the typedef is actively used to _hide_
> what the object is).
>
> No?
Interesting, seems like checkpatch and CodingStyle aren't completely in
sync here. Maybe the warning should say "do not add new typedefs unless
allowed by CodingStyle 5(a)" or something.
Works for me though.
Thanks again Minchan!
--
Seth
--
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