From: Charan Teja Kalla quic_charante@quicinc.com
mainline inclusion from mainline-v6.1-rc7 commit ed86b74874f839f0e579bdf92ea0a5aabdfabebb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9GSSR
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i...
--------------------------------
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'.
[quic_pkondeti@quicinc.com: better patch title] Link: https://lkml.kernel.org/r/1667884582-2465-1-git-send-email-quic_charante@qui... Fixes: b1d5488a252dc9 ("mm: fix use-after free of page_ext after race with memory-offline") Signed-off-by: Charan Teja Kalla quic_charante@quicinc.com Reported-by: Vlastimil Babka vbabka@suse.cz Tested-by: Vlastimil Babka vbabka@suse.cz Cc: Pavan Kondeti quic_pkondeti@quicinc.com Signed-off-by: Andrew Morton akpm@linux-foundation.org Signed-off-by: Jinjiang Tu tujinjiang@huawei.com --- mm/page_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/page_ext.c b/mm/page_ext.c index c40d3f7456df..d521c93b3ed6 100644 --- a/mm/page_ext.c +++ b/mm/page_ext.c @@ -154,7 +154,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.