archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm/interval_tree: add comments to improve code reading
@ 2021-02-22  3:31 Zhiyuan Dai
  0 siblings, 0 replies; only message in thread
From: Zhiyuan Dai @ 2021-02-22  3:31 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, Zhiyuan Dai

Add a comment explain the value of the ISSTATIC parameter,
Inform the reader that this is not a coding style issue.

Signed-off-by: Zhiyuan Dai <>
 mm/interval_tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/interval_tree.c b/mm/interval_tree.c
index 11c75fb..32e390c 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,

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-22  3:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22  3:31 [PATCH] mm/interval_tree: add comments to improve code reading Zhiyuan Dai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).