From: "Martin K. Petersen" Date: Tue, 22 Nov 2016 22:03:16 +0000 Subject: Re: [PATCH] scsi: pmcraid: Add missing resource releases Message-Id: List-Id: References: <20161119174318.20394-1-lambert.quentin@gmail.com> In-Reply-To: <20161119174318.20394-1-lambert.quentin@gmail.com> (Quentin Lambert's message of "Sat, 19 Nov 2016 18:43:18 +0100") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 >>>>> "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