Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753202AbbFKJv1 (ORCPT ); Thu, 11 Jun 2015 05:51:27 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:33913 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751797AbbFKJvU (ORCPT ); Thu, 11 Jun 2015 05:51:20 -0400 Date: Thu, 11 Jun 2015 18:51:44 +0900 From: Sergey Senozhatsky To: Julia Lawall Cc: Joe Perches , Andrew Morton , Sergey Senozhatsky , Minchan Kim , Christoph Lameter , Pekka Enberg , Joonsoo Kim , Michal Hocko , David Rientjes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, sergey.senozhatsky.work@gmail.com Subject: Re: [PATCH V2] checkpatch: Add some _destroy functions to NEEDLESS_IF tests Message-ID: <20150611095144.GC515@swordfish> References: <1433851493-23685-1-git-send-email-sergey.senozhatsky@gmail.com> <20150609142523.b717dba6033ee08de997c8be@linux-foundation.org> <1433894769.2730.87.camel@perches.com> <1433911166.2730.98.camel@perches.com> <1433915549.2730.107.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 28 On (06/11/15 11:41), Julia Lawall wrote: > On Tue, 9 Jun 2015, Joe Perches wrote: > > > Sergey Senozhatsky has modified several destroy functions that can > > now be called with NULL values. > > > > - kmem_cache_destroy() > > - mempool_destroy() > > - dma_pool_destroy() > > I don't actually see any null test in the definition of dma_pool_destroy, > in the linux-next 54896f27dd5 (20150610). So I guess it would be > premature to send patches to remove the null tests. > yes, Andrew Morton: : I'll park these patches until after 4.1 is released - it's getting to : that time... -ss -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/