Re: [PATCH] mm: fix <linux/pagemap.h> stray kernel-doc notation

From: willy
Date: Wed Jan 18 2017 - 00:31:44 EST


On Tue, Jan 17, 2017 at 06:10:51PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Delete stray (second) function description in find_lock_page()
> kernel-doc notation.
>
> Fixes: 2457aec63745e ("mm: non-atomically mark page accessed during page cache allocation where possible")
>
> Note: scripts/kernel-doc just ignores the second function description.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Reported-by: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>

> Cc: Mel Gorman <mgorman@xxxxxxx>
> ---
> include/linux/pagemap.h | 1 -
> 1 file changed, 1 deletion(-)
>
> --- lnx-410-rc4.orig/include/linux/pagemap.h
> +++ lnx-410-rc4/include/linux/pagemap.h
> @@ -266,7 +266,6 @@ static inline struct page *find_get_page
>
> /**
> * find_lock_page - locate, pin and lock a pagecache page
> - * pagecache_get_page - find and get a page reference
> * @mapping: the address_space to search
> * @offset: the page index
> *
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@xxxxxxxxxx For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>