Re: [PATCH] scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort

2020-09-02 Thread Martin K. Petersen
On Sun, 23 Aug 2020 17:14:53 +0800, Dinghao Liu wrote: > When pm8001_tag_alloc() fails, task should be freed just > like what we've done in the subsequent error paths. Applied to 5.9/scsi-fixes, thanks! [1/1] scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort

Re: [PATCH] scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort

2020-08-31 Thread Jinpu Wang
On Sun, Aug 23, 2020 at 11:15 AM Dinghao Liu wrote: > > When pm8001_tag_alloc() fails, task should be freed just > like what we've done in the subsequent error paths. > > Signed-off-by: Dinghao Liu Thanks! Acked-by: Jack Wang > --- > drivers/scsi/pm8001/pm8001_sas.c | 2 +- > 1 file changed, 1

[PATCH] scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort

2020-08-23 Thread Dinghao Liu
When pm8001_tag_alloc() fails, task should be freed just like what we've done in the subsequent error paths. Signed-off-by: Dinghao Liu --- drivers/scsi/pm8001/pm8001_sas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pm8001/pm8001_sas.c