diff options
author | Lorenzo Pieralisi <[email protected]> | 2019-07-22 17:25:48 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-07-23 15:45:46 +0100 |
commit | 5a46d3f71d5e5a9f82eabc682f996f1281705ac7 (patch) | |
tree | 64e1eb9b92464aa977c51c23fa6549f5439f39d6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 40ca0ce56d4bb889dc43b455c55398468115569a (diff) |
ACPI/IORT: Fix off-by-one check in iort_dev_find_its_id()
Static analysis identified that index comparison against ITS entries in
iort_dev_find_its_id() is off by one.
Update the comparison condition and clarify the resulting error
message.
Fixes: 4bf2efd26d76 ("ACPI: Add new IORT functions to support MSI domain handling")
Link: https://lore.kernel.org/linux-arm-kernel/20190613065410.GB16334@mwanda/
Reviewed-by: Hanjun Guo <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Hanjun Guo <[email protected]>
Cc: Sudeep Holla <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions