aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorCan Guo <[email protected]>2023-12-18 07:32:17 -0800
committerMartin K. Petersen <[email protected]>2023-12-18 21:09:54 -0500
commit04c116e2bdfc3969f9819d2cebfdf678353c354c (patch)
treefd2f09ebf811e55e284bb73a67a3abcc14c40ebf /tools/perf/scripts/python/bin/export-to-postgresql-report
parent9264fd61e628ce180a168e6b90bde134dd49ec28 (diff)
scsi: ufs: core: Let the sq_lock protect sq_tail_slot access
When accessing sq_tail_slot without protection from sq_lock, a race condition can cause multiple SQEs to be copied to duplicate SQE slots. This can lead to multiple stability issues. Fix this by moving the *dest initialization in ufshcd_send_command() back under protection from the sq_lock. Fixes: 3c85f087faec ("scsi: ufs: mcq: Use pointer arithmetic in ufshcd_send_command()") Signed-off-by: Can Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions