diff options
author | 2024-06-27 12:01:03 +0100 | |
---|---|---|
committer | 2024-06-28 13:12:23 -0300 | |
commit | 00fa1a89917fbc319909231e648439b26e8857af (patch) | |
tree | 17eec65c52afcabd92e3f8503df2b363c4efec18 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iommufd/iova_bitmap: Move initial pinning to iova_bitmap_for_each() (diff) | |
download | wireguard-linux-00fa1a89917fbc319909231e648439b26e8857af.tar.xz wireguard-linux-00fa1a89917fbc319909231e648439b26e8857af.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions