diff options
author | Ajish Koshy <Ajish.Koshy@microchip.com> | 2021-09-06 19:04:04 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-09-15 04:29:11 +0200 |
commit | 51e6ed83bb4ade7c360551fa4ae55c4eacea354b (patch) | |
tree | 86f27a3c908da7891e2e02b62f4f95f4a120951a /drivers/scsi/qla2xxx/qla_mbx.c | |
parent | scsi: pm80xx: Correct inbound and outbound queue logging (diff) | |
download | linux-51e6ed83bb4ade7c360551fa4ae55c4eacea354b.tar.xz linux-51e6ed83bb4ade7c360551fa4ae55c4eacea354b.zip |
scsi: pm80xx: Fix memory leak during rmmod
Driver failed to release all memory allocated. This would lead to memory
leak during driver removal.
Properly free memory when the module is removed.
Link: https://lore.kernel.org/r/20210906170404.5682-5-Ajish.Koshy@microchip.com
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Ajish Koshy <Ajish.Koshy@microchip.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
0 files changed, 0 insertions, 0 deletions