aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharan Teja Kalla <[email protected]>2022-11-08 10:46:22 +0530
committerAndrew Morton <[email protected]>2022-11-22 18:50:41 -0800
commited86b74874f839f0e579bdf92ea0a5aabdfabebb (patch)
tree554f3e5f324acfce23a380aad4fc3e4b70a9670e
parente031ff96b334a08704d40ef64cd9024d7d83af9b (diff)
mm/page_exit: fix kernel doc warning in page_ext_put()
Fix the below compiler warnings reported with 'make W=1 mm/'. mm/page_ext.c:178: warning: Function parameter or member 'page_ext' not described in 'page_ext_put'. [[email protected]: better patch title] Link: https://lkml.kernel.org/r/[email protected] Fixes: b1d5488a252dc9 ("mm: fix use-after free of page_ext after race with memory-offline") Signed-off-by: Charan Teja Kalla <[email protected]> Reported-by: Vlastimil Babka <[email protected]> Tested-by: Vlastimil Babka <[email protected]> Cc: Pavan Kondeti <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--mm/page_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_ext.c b/mm/page_ext.c
index affe80243b6d..ddf1968560f0 100644
--- a/mm/page_ext.c
+++ b/mm/page_ext.c
@@ -166,7 +166,7 @@ struct page_ext *page_ext_get(struct page *page)
/**
* page_ext_put() - Working with page extended information is done.
- * @page_ext - Page extended information received from page_ext_get().
+ * @page_ext: Page extended information received from page_ext_get().
*
* The page extended information of the page may not be valid after this
* function is called.