提交 f5b7e739 编写于 作者: A Alex Shi 提交者: Linus Torvalds

mm/mapping_dirty_helpers: enhance the kernel-doc markups

Add and change parameter explanation for wp_pte and clean_record_pte, to
avoid W1 warning:

  mm/mapping_dirty_helpers.c:34: warning: Function parameter or member 'end' not described in 'wp_pte'
  mm/mapping_dirty_helpers.c:88: warning: Function parameter or member 'end' not described in 'clean_record_pte'

Link: https://lkml.kernel.org/r/1605605088-30668-2-git-send-email-alex.shi@linux.alibaba.comSigned-off-by: NAlex Shi <alex.shi@linux.alibaba.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 d3f5ffca
...@@ -23,7 +23,8 @@ struct wp_walk { ...@@ -23,7 +23,8 @@ struct wp_walk {
/** /**
* wp_pte - Write-protect a pte * wp_pte - Write-protect a pte
* @pte: Pointer to the pte * @pte: Pointer to the pte
* @addr: The virtual page address * @addr: The start of protecting virtual address
* @end: The end of protecting virtual address
* @walk: pagetable walk callback argument * @walk: pagetable walk callback argument
* *
* The function write-protects a pte and records the range in * The function write-protects a pte and records the range in
...@@ -74,7 +75,8 @@ struct clean_walk { ...@@ -74,7 +75,8 @@ struct clean_walk {
* clean_record_pte - Clean a pte and record its address space offset in a * clean_record_pte - Clean a pte and record its address space offset in a
* bitmap * bitmap
* @pte: Pointer to the pte * @pte: Pointer to the pte
* @addr: The virtual page address * @addr: The start of virtual address to be clean
* @end: The end of virtual address to be clean
* @walk: pagetable walk callback argument * @walk: pagetable walk callback argument
* *
* The function cleans a pte and records the range in * The function cleans a pte and records the range in
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册