From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.perches.com (mail.perches.com [173.55.12.10]) by ozlabs.org (Postfix) with ESMTP id 1ADEDB7D61 for ; Wed, 9 Jun 2010 17:53:06 +1000 (EST) Subject: Re: [PATCH 00/12] treewide: Remove unnecessary kmalloc casts From: Joe Perches To: Milton Miller , Jiri Kosina In-Reply-To: <1276068001_13533@mail4.comsite.net> References: <96933b66aa5f995746a34410ca63e5e8b84593cb.1275968594.git.joe@perches.com> <1276068001_13533@mail4.comsite.net> Content-Type: text/plain; charset="UTF-8" Date: Wed, 09 Jun 2010 00:46:24 -0700 Message-ID: <1276069584.1556.27.camel@Joe-Laptop.home> Mime-Version: 1.0 Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2010-06-09 at 02:20 -0500, Milton Miller wrote: > On Mon Jun 07 2010 at around 23:53:18 EST, Joe Perches wrote: > > Trivial cleanups > The reason they casts are present is to guard against someone changing > the type of p at the top of the function and not changing the type at > the kmalloc. That'd be true for most all of the kernel mallocs. > I know some maintainers have already taken some of > the series the last time you posted; could you please augment the > CC list. I did not send to trivial any of kmalloc cast removal patches that were acked. The patches in this series were not acked, so I think no CC list needs augmentation. Original: http://lkml.org/lkml/2010/5/31/471 Newest: http://lkml.org/lkml/2010/6/7/428 cheers, Joe