Commit 087a8a7
scsi: mpt3sas: Fix a fw_event memory leak
[ Upstream commit 3e90b38 ]
In _mpt3sas_fw_work() the fw_event reference is removed, it should also
be freed in all cases.
Fixes: 4318c73 ("scsi: mpt3sas: Handle NVMe PCIe device related events generated from firmware.")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20250723153018.50518-1-thenzl@redhat.com
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 349436b commit 087a8a7
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10818 | 10818 | | |
10819 | 10819 | | |
10820 | 10820 | | |
10821 | | - | |
10822 | | - | |
| 10821 | + | |
10823 | 10822 | | |
10824 | 10823 | | |
10825 | 10824 | | |
| |||
0 commit comments