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

2016-11-22 Thread Martin K. Petersen
> "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

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

2016-11-22 Thread Tomas Henzl
On 19.11.2016 18:43, Quentin Lambert wrote: > Most error branches following the call to pmcraid_get_free_cmd contain > a call to pmcraid_return_cmd. This patch add these calls where they are > missing. > > Moreover, most error branches following the call to class_create contain > a call to

[PATCH] scsi: pmcraid: Add missing resource releases

2016-11-19 Thread Quentin Lambert
Most error branches following the call to pmcraid_get_free_cmd contain a call to pmcraid_return_cmd. This patch add these calls where they are missing. Moreover, most error branches following the call to class_create contain a call to class_destroy. This patch add these calls where they are