Skip to content

Commit 560a870

Browse files
rddunlaptorvalds
authored andcommitted
mm/workingset: correct kernel-doc notations
Use the documented kernel-doc format to prevent kernel-doc warnings. mm/workingset.c:256: warning: No description found for return value of 'workingset_eviction' mm/workingset.c:285: warning: Function parameter or member 'folio' not described in 'workingset_refault' mm/workingset.c:285: warning: Excess function parameter 'page' description in 'workingset_refault' Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Randy Dunlap <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 20401d1 commit 560a870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/workingset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ void workingset_age_nonresident(struct lruvec *lruvec, unsigned long nr_pages)
249249
* @target_memcg: the cgroup that is causing the reclaim
250250
* @page: the page being evicted
251251
*
252-
* Returns a shadow entry to be stored in @page->mapping->i_pages in place
252+
* Return: a shadow entry to be stored in @page->mapping->i_pages in place
253253
* of the evicted @page so that a later refault can be detected.
254254
*/
255255
void *workingset_eviction(struct page *page, struct mem_cgroup *target_memcg)

0 commit comments

Comments
 (0)