Re: [PATCH] scsi: pmcraid: Add missing resource releases

From: Martin K. Petersen
Date: Tue Nov 22 2016 - 17:05:14 EST


>>>>> "Quentin" == Quentin Lambert <lambert.quentin@xxxxxxxxx> 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