From: Zhiyuan Dai Date: Fri, 30 Apr 2021 05:57:09 +0000 (-0700) Subject: mm/interval_tree: add comments to improve code readability X-Git-Tag: baikal/aarch64/sdk6.1~6714^2~99 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=569906647c449f8ec61fed03a1731f6e9f8fb929;p=kernel.git 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/1613964695-17614-1-git-send-email-daizhiyuan@phytium.com.cn Signed-off-by: Zhiyuan Dai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/interval_tree.c b/mm/interval_tree.c index 11c75fb075842..32e390c42c53f 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,