diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2024-06-27 14:01:03 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-06-28 19:12:23 +0300 |
commit | 00fa1a89917fbc319909231e648439b26e8857af (patch) | |
tree | 17eec65c52afcabd92e3f8503df2b363c4efec18 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 781bc08797a2146400332acf2d7706793b51e20f (diff) | |
download | linux-00fa1a89917fbc319909231e648439b26e8857af.tar.xz |
iommufd/iova_bitmap: Consolidate iova_bitmap_set exit conditionals
There's no need to have two conditionals when they are closely tied
together. Move the setting of bitmap::set_ahead_length after it checks for
::pages array out of bounds access.
Link: https://lore.kernel.org/r/20240627110105.62325-10-joao.m.martins@oracle.com
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Matt Ochs <mochs@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions