diff options
author | Claire Chang <tientzu@chromium.org> | 2021-04-22 11:14:53 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2021-04-27 20:03:20 +0300 |
commit | 95b079d8215b83b37fa59341fda92fcb9392f14a (patch) | |
tree | f7330bb0dc76936d76320524d0f80c06dbe4ea4c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2726bf3ff2520dba61fafc90a055640f7ad54e05 (diff) | |
download | linux-95b079d8215b83b37fa59341fda92fcb9392f14a.tar.xz |
swiotlb: Fix the type of index
Fix the type of index from unsigned int to int since find_slots() might
return -1.
Fixes: 26a7e094783d ("swiotlb: refactor swiotlb_tbl_map_single")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Claire Chang <tientzu@chromium.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions