summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2024-06-27 14:01:03 +0300
committerJason Gunthorpe <jgg@nvidia.com>2024-06-28 19:12:23 +0300
commit00fa1a89917fbc319909231e648439b26e8857af (patch)
tree17eec65c52afcabd92e3f8503df2b363c4efec18 /tools/perf/scripts/python/export-to-sqlite.py
parent781bc08797a2146400332acf2d7706793b51e20f (diff)
downloadlinux-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