aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2021-04-02 18:58:20 +0200
committerChristoph Hellwig <[email protected]>2021-04-06 08:34:39 +0200
commit8609c63fce58e94d82f6b6bf29c7806062e2e867 (patch)
treed911962d73d17a88110f4fbf7eb28b53563c2e35 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5befc7c26e5a98cd49789fb1beb52c62bd472dba (diff)
nvme: fix handling of large MDTS values
Instead of triggering an integer overflow and undefined behavior if MDTS is large, set max_hw_sectors to UINT_MAX. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Keith Busch <[email protected]> [hch: rebased to account for the new nvme_mps_to_sectors helper] Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions