Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805AbbFQXxl (ORCPT ); Wed, 17 Jun 2015 19:53:41 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:33547 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbbFQXxj (ORCPT ); Wed, 17 Jun 2015 19:53:39 -0400 Date: Thu, 18 Jun 2015 08:54:06 +0900 From: Sergey Senozhatsky To: David Rientjes Cc: Sergey Senozhatsky , Andrew Morton , Minchan Kim , Christoph Lameter , Pekka Enberg , Joonsoo Kim , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org, sergey.senozhatsky.work@gmail.com Subject: Re: [RFC][PATCH 2/5] mm/mempool: allow NULL `pool' pointer in mempool_destroy() Message-ID: <20150617235406.GB3422@swordfish> References: <1433851493-23685-1-git-send-email-sergey.senozhatsky@gmail.com> <1433851493-23685-3-git-send-email-sergey.senozhatsky@gmail.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: 891 Lines: 27 On (06/17/15 16:21), David Rientjes wrote: [..] > > Tweak mempool_destroy() and NULL-check the pointer there. > > > > Proposed by Andrew Morton. > > > > Signed-off-by: Sergey Senozhatsky > > Reported-by: Andrew Morton > > LKML-reference: https://lkml.org/lkml/2015/6/8/583 > > Acked-by: David Rientjes > > I like how your patch series is enabling us to remove many lines from the > source code. But doing s/Reported-by/Suggested-by/ can also make your > changelog two lines shorter ;) > Thanks. Oh, s/Reported-by/Suggested-by/ looks better, indeed. -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/