aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2021-02-10 13:56:29 +0200
committerLuca Coelho <[email protected]>2021-02-10 14:37:27 +0200
commit5a6842455c113920001df83cffa28accceeb0927 (patch)
tree911a3c75c577f828eb75f43e08ea23447e6a48ff /tools/perf/scripts/python/futex-contention.py
parentf9a78edb2881bc54634c1794ee46772d63ec8f68 (diff)
iwlwifi: mvm: fix the type we use in the PPAG table validity checks
The value we receive from ACPI is a long long unsigned integer but the values should be treated as signed char. When comparing the received value with ACPI_PPAG_MIN_LB/HB, we were doing an unsigned comparison, so the negative value would actually be treated as a very high number. To solve this issue, assign the value to our table of s8's before making the comparison, so the value is already converted when we do so. Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20210210135352.b0ec69f312bc.If77fd9c61a96aa7ef2ac96d935b7efd7df502399@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions