Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbdIVP1z (ORCPT ); Fri, 22 Sep 2017 11:27:55 -0400 Received: from mail-qt0-f172.google.com ([209.85.216.172]:53930 "EHLO mail-qt0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752115AbdIVP1x (ORCPT ); Fri, 22 Sep 2017 11:27:53 -0400 X-Google-Smtp-Source: AOwi7QAMmL83/2Yq7tiJrTlLJGxgMdod9596NM7eL0mq5zQovYzVCkQ7oPPJfb/y/cPXu2ZSRJT7cQ== Subject: Re: [PATCH 3/6] scsi: lpfc: Cocci spatch "pool_zalloc-simple" To: Thomas Meyer , dick.kennedy@broadcom.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1505974468535-2047238743-0-diffsplit-thomas@m3y3r.de> <1505974468535-735692655-3-diffsplit-thomas@m3y3r.de> From: James Smart Message-ID: Date: Fri, 22 Sep 2017 08:27:50 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1505974468535-735692655-3-diffsplit-thomas@m3y3r.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 317 Lines: 12 On 9/20/2017 11:15 PM, Thomas Meyer wrote: > Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0. > Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci" > > Signed-off-by: Thomas Meyer > --- > > Looks good. Thanks. Signed-off-by: James Smart