From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 5/6] scsi: qla2xxx: Cocci spatch "pool_zalloc-simple" Date: Mon, 25 Sep 2017 19:07:44 -0400 Message-ID: References: <1505974468535-2047238743-0-diffsplit-thomas@m3y3r.de> <1505974468535-1220930483-5-diffsplit-thomas@m3y3r.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1505974468535-1220930483-5-diffsplit-thomas@m3y3r.de> (Thomas Meyer's message of "Thu, 21 Sep 2017 08:15:26 +0200") Sender: linux-kernel-owner@vger.kernel.org To: Thomas Meyer Cc: qla2xxx-upstream@qlogic.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Thomas, > Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0. > Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci" Applied to 4.15/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering