Skip to content

Commit 777f303

Browse files
Alex Shitorvalds
authored andcommitted
mm/page_vma_mapped.c: add colon to fix kernel-doc markups error for check_pte
check_pte() needs a correct colon for kernel-doc markup, otherwise, gcc has the following warning for W=1, mm/page_vma_mapped.c:86: warning: Function parameter or member 'pvmw' not described in 'check_pte' Link: https://lkml.kernel.org/r/1605597167-25145-1-git-send-email-alex.shi@linux.alibaba.com Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f5b7e73 commit 777f303

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎mm/page_vma_mapped.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,19 @@ static inline bool pfn_is_match(struct page *page, unsigned long pfn)
6666

6767
/**
6868
* check_pte - check if @pvmw->page is mapped at the @pvmw->pte
69+
* @pvmw: page_vma_mapped_walk struct, includes a pair pte and page for checking
6970
*
7071
* page_vma_mapped_walk() found a place where @pvmw->page is *potentially*
7172
* mapped. check_pte() has to validate this.
7273
*
73-
* @pvmw->pte may point to empty PTE, swap PTE or PTE pointing to arbitrary
74-
* page.
74+
* pvmw->pte may point to empty PTE, swap PTE or PTE pointing to
75+
* arbitrary page.
7576
*
7677
* If PVMW_MIGRATION flag is set, returns true if @pvmw->pte contains migration
7778
* entry that points to @pvmw->page or any subpage in case of THP.
7879
*
79-
* If PVMW_MIGRATION flag is not set, returns true if @pvmw->pte points to
80-
* @pvmw->page or any subpage in case of THP.
80+
* If PVMW_MIGRATION flag is not set, returns true if pvmw->pte points to
81+
* pvmw->page or any subpage in case of THP.
8182
*
8283
* Otherwise, return false.
8384
*

0 commit comments

Comments
 (0)