aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChaohai Chen <wdhh6@aliyun.com>2025-12-06 14:06:16 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2025-12-08 22:08:31 -0500
commit362432e9b9aefb914ab7d9f86c9fc384a6620c41 (patch)
treee35d3be4b364e5484046d2eeaa110e81d205b605 /tools/perf/scripts/python/syscall-counts.py
parentscsi: device_handler: Return error pointer in scsi_dh_attached_handler_name() (diff)
downloadlinux-362432e9b9aefb914ab7d9f86c9fc384a6620c41.tar.gz
linux-362432e9b9aefb914ab7d9f86c9fc384a6620c41.zip
scsi: libsas: Add rollback handling when an error occurs
In sas_register_phys(), if an error is triggered in the loop process, we need to roll back the resources that have already been requested. Add sas_unregister_phys() when an error occurs in sas_register_ha(). [mkp: a few coding style tweaks and address John's comment] Signed-off-by: Chaohai Chen <wdhh6@aliyun.com> Reviewed-by: John Garry <john.g.garry@oracle.com> Link: https://patch.msgid.link/20251206060616.69216-1-wdhh6@aliyun.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions