From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754106Ab3ISW3f (ORCPT ); Thu, 19 Sep 2013 18:29:35 -0400 Received: from mga09.intel.com ([134.134.136.24]:47489 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183Ab3ISW3e convert rfc822-to-8bit (ORCPT ); Thu, 19 Sep 2013 18:29:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,940,1371106800"; d="scan'208";a="380811876" From: "Verma, Vishal L" To: "Verma, Vishal L" , Thomas Meyer , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] NVMe: Cocci spatch "kzalloc-simple" Thread-Topic: [PATCH 1/2] NVMe: Cocci spatch "kzalloc-simple" Thread-Index: AQHOtYPunnl54iCbH0WF7vDJ8vtZxpnNs/6AgAABKIA= Date: Thu, 19 Sep 2013 22:29:32 +0000 Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.7.130812 x-originating-ip: [10.22.226.39] Content-Type: text/plain; charset="us-ascii" Content-ID: <48751F68AE74F844AD2B34ADE178BB9F@intel.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/19/13 4:25 PM, "Verma, Vishal L" wrote: >On 9/19/13 3:45 PM, "Thomas Meyer" wrote: > >>Use kzalloc rather than kmalloc followed by memset with 0. >>Found by coccinelle spatch "api/alloc/kzalloc-simple.cocci" >> >>Signed-off-by: Thomas Meyer >>--- > >Thomas, > >This has already been applied to Matthew's tree: >http://git.infradead.org/users/willy/linux-nvme.git/commitdiff/03ea83e9a37 >e >41d436f8348e6eee3d8281bfff3a > > >-Vishal > > >_______________________________________________ >Linux-nvme mailing list >Linux-nvme@lists.infradead.org >http://merlin.infradead.org/mailman/listinfo/linux-nvme > And in Linus' tree - applied in 3.11 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id= 03ea83e9a37e41d436f8348e6eee3d8281bfff3a