aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2023-11-23 08:19:41 +0000
committerMartin K. Petersen <[email protected]>2023-12-06 01:38:26 +0000
commit235f2b548d7f4ac5931d834f05d3f7f5166a2e72 (patch)
tree436ff927016cc2429badc060a4779dab5e311c34 /tools/perf/scripts/python/stat-cpi.py
parentscsi: sd: Fix system start for ATA devices (diff)
downloadkernel-235f2b548d7f4ac5931d834f05d3f7f5166a2e72.tar.gz
kernel-235f2b548d7f4ac5931d834f05d3f7f5166a2e72.zip
scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
When an error occurs in the for loop of beiscsi_init_wrb_handle(), we should free phwi_ctxt->be_wrbq before returning an error code to prevent potential memleak. Fixes: a7909b396ba7 ("[SCSI] be2iscsi: Fix dynamic CID allocation Mechanism in driver") Signed-off-by: Dinghao Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions