summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAvri Altman <avri.altman@wdc.com>2021-08-08 12:00:23 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-12 05:25:36 +0300
commit22aede9f48b6766fb67441610120db9b04adf109 (patch)
tree8c6f98a4cf0c7d081b0a3d72f692a2998f32f2b8 /tools/perf/scripts/python/flamegraph.py
parent07106f86ae13d9197bfd38c2d47743304b14099e (diff)
downloadlinux-22aede9f48b6766fb67441610120db9b04adf109.tar.xz
scsi: ufs: ufshpb: Verify that 'num_inflight_map_req' is non-negative
'num_inflight_map_req' should not be negative. It is incremented and decremented without any protection, allowing it theoretically to be negative, should some weird unbalanced count occur. Verify that the those calls are properly serialized. Link: https://lore.kernel.org/r/20210808090024.21721-4-avri.altman@wdc.com Fixes: 33845a2d844b (scsi: ufs: ufshpb: Limit the number of in-flight map requests) Signed-off-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions