Skip to content

Commit 0c1dcb0

Browse files
Zhiyuan Daitorvalds
authored andcommitted
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]>
1 parent bf90ac1 commit 0c1dcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/interval_tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static inline unsigned long vma_last_pgoff(struct vm_area_struct *v)
2222

2323
INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb,
2424
unsigned long, shared.rb_subtree_last,
25-
vma_start_pgoff, vma_last_pgoff,, vma_interval_tree)
25+
vma_start_pgoff, vma_last_pgoff, /* empty */, vma_interval_tree)
2626

2727
/* Insert node immediately after prev in the interval tree */
2828
void vma_interval_tree_insert_after(struct vm_area_struct *node,

0 commit comments

Comments
 (0)