linux/drivers/scsi/mvsas
Pan Bian cf99dc30bc scsi: mvsas: replace kfree with scsi_host_put
The return value of scsi_host_alloc() should be released by
scsi_host_put(). However, in function mvs_pci_init(), kfree()
is used. This patch replaces kfree() with scsi_host_put() to avoid
possible memory leaks.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-08-10 19:55:35 -04:00
..
Kconfig [SCSI] mvsas: Add support for interrupt tasklet 2011-07-26 12:59:55 +04:00
Makefile [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_64xx.c scsi: mvsas: Mark symbols static where possible 2016-09-26 21:15:55 -04:00
mv_64xx.h [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_94xx.c scsi: mvsas: fix command_active typo 2016-11-16 20:49:08 -05:00
mv_94xx.h mvsas: Add SGPIO support to Marvell 94xx 2016-01-06 15:18:49 -05:00
mv_chips.h Drivers: scsi: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mv_defs.h [SCSI] mvsas: fixed SMP request watchdog timeout issue. 2011-10-02 13:18:01 -05:00
mv_init.c scsi: mvsas: replace kfree with scsi_host_put 2017-08-10 19:55:35 -04:00
mv_sas.c scsi: mvsas: Replace PCI pool old API 2017-08-07 14:04:01 -04:00
mv_sas.h mvsas: Add SGPIO support to Marvell 94xx 2016-01-06 15:18:49 -05:00