diff options
author | Jason Gunthorpe <[email protected]> | 2024-08-06 20:31:15 -0300 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-09-06 14:23:49 +0100 |
commit | a2bb820e862d61f9ca1499e500915f9f505a2655 (patch) | |
tree | 11d6db3dde4c498d73624c9268e3edfc4478c763 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 483e0bd8883a40fd3dd3193997a4014337698d72 (diff) |
iommu/arm-smmu-v3: Use the new rb tree helpers
Since v5.12 the rbtree has gained some simplifying helpers aimed at making
rb tree users write less convoluted boiler plate code. Instead the caller
provides a single comparison function and the helpers generate the prior
open-coded stuff.
Update smmu->streams to use rb_find_add() and rb_find().
Tested-by: Nicolin Chen <[email protected]>
Reviewed-by: Mostafa Saleh <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions