Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754413AbcK2QPV (ORCPT ); Tue, 29 Nov 2016 11:15:21 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:31238 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbcK2QPN (ORCPT ); Tue, 29 Nov 2016 11:15:13 -0500 To: Quentin Lambert Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, thenzl@redhat.com, <20161119174038.20083-1-lambert.quentin@gmail.com> Subject: Re: [PATCH v2] scsi: aic94xx: Add a missing call to kfree From: "Martin K. Petersen" Organization: Oracle Corporation References: <20161125122351.8226-1-lambert.quentin@gmail.com> Date: Tue, 29 Nov 2016 11:14:23 -0500 In-Reply-To: <20161125122351.8226-1-lambert.quentin@gmail.com> (Quentin Lambert's message of "Fri, 25 Nov 2016 13:23:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 341 Lines: 10 >>>>> "Quentin" == Quentin Lambert writes: Quentin> Most error branches following the call to kzalloc contain a Quentin> call to kfree. This patch add these calls where they are Quentin> missing and set the relevant pointers to NULL. Applied to 4.10/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering