mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 16:50:53 +07:00
cf99dc30bc
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mv_64xx.c | ||
mv_64xx.h | ||
mv_94xx.c | ||
mv_94xx.h | ||
mv_chips.h | ||
mv_defs.h | ||
mv_init.c | ||
mv_sas.c | ||
mv_sas.h |