diff options
author | Colin Ian King <[email protected]> | 2021-02-04 15:00:01 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-02-05 09:49:47 +0100 |
commit | 7a5661739d4bf23cd356fb13bb1e0790e09df3c5 (patch) | |
tree | ed2b5f8ad31bd3aec73161bd8a5e8a25f4c425ad /tools/perf/python/twatch.py | |
parent | b8437a3ef8c485903d05d1f261328aaf0c0a6cc2 (diff) |
iommu/mediatek: Fix unsigned domid comparison with less than zero
Currently the check for domid < 0 is always false because domid
is unsigned. Fix this by casting domid to an int before making
the comparison.
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Addresses-Coverity: ("Unsigned comparison against 0")
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/python/twatch.py')
0 files changed, 0 insertions, 0 deletions