aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiyuan Dai <[email protected]>2021-04-29 22:57:09 -0700
committerLinus Torvalds <[email protected]>2021-04-30 11:20:38 -0700
commit0c1dcb052452ed667719b20ca35837bcf9ca4375 (patch)
tree96bff424e657937c240b76a71d7f7a420b9c0268
parentbf90ac198e30d242a12fc550d35b335e462a7632 (diff)
mm/interval_tree: add comments to improve code readability
Add a comment explaining the value of the ISSTATIC parameter, Inform the reader that this is not a coding style issue. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Zhiyuan Dai <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/interval_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/interval_tree.c b/mm/interval_tree.c
index 11c75fb07584..32e390c42c53 100644
--- a/mm/interval_tree.c
+++ b/mm/interval_tree.c
@@ -22,7 +22,7 @@ static inline unsigned long vma_last_pgoff(struct vm_area_struct *v)
INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb,
unsigned long, shared.rb_subtree_last,
- vma_start_pgoff, vma_last_pgoff,, vma_interval_tree)
+ vma_start_pgoff, vma_last_pgoff, /* empty */, vma_interval_tree)
/* Insert node immediately after prev in the interval tree */
void vma_interval_tree_insert_after(struct vm_area_struct *node,