Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934005AbcKVWFA (ORCPT ); Tue, 22 Nov 2016 17:05:00 -0500 Received: from userp1050.oracle.com ([156.151.31.82]:51801 "EHLO userp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933068AbcKVWEz (ORCPT ); Tue, 22 Nov 2016 17:04:55 -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 Subject: Re: [PATCH] scsi: pmcraid: Add missing resource releases From: "Martin K. Petersen" Organization: Oracle Corporation References: <20161119174318.20394-1-lambert.quentin@gmail.com> Date: Tue, 22 Nov 2016 17:03:16 -0500 In-Reply-To: <20161119174318.20394-1-lambert.quentin@gmail.com> (Quentin Lambert's message of "Sat, 19 Nov 2016 18:43:18 +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: userp1040.oracle.com [156.151.31.81] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 506 Lines: 14 >>>>> "Quentin" == Quentin Lambert writes: Quentin> Most error branches following the call to pmcraid_get_free_cmd Quentin> contain a call to pmcraid_return_cmd. This patch add these Quentin> calls where they are missing. Quentin> Moreover, most error branches following the call to Quentin> class_create contain a call to class_destroy. This patch add Quentin> these calls where they are missing. Applied to 4.10/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering