aboutsummaryrefslogtreecommitdiffstats
path: root/samples/rust/rust_driver_pci.rs
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2025-03-10 07:49:38 +0000
committerAndrew Morton <[email protected]>2025-03-17 19:17:01 +0000
commitceb08ee965a20dd1eecc4cdcaa0328fc7c03b1e5 (patch)
tree62eacf912b37e480d434e27cf7f3254875a06212 /samples/rust/rust_driver_pci.rs
parentlib/interval_tree: skip the check before go to the right subtree (diff)
downloadkernel-ceb08ee965a20dd1eecc4cdcaa0328fc7c03b1e5.tar.gz
kernel-ceb08ee965a20dd1eecc4cdcaa0328fc7c03b1e5.zip
lib/interval_tree: fix the comment of interval_tree_span_iter_next_gap()
The comment of interval_tree_span_iter_next_gap() is not exact, nodes[1] is not always !NULL. There are threes cases here. If there is an interior hole, the statement is correct. If there is a tailing hole or the contiguous used range span to the end, nodes[1] is NULL. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wei Yang <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Michel Lespinasse <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions