Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1561245 > unrolled thread

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

Started byRandy Dunlap <rdunlap@infradead.org>
First post2017-01-18 04:00 +0100
Last post2017-01-18 06:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mm: fix <linux/pagemap.h> stray kernel-doc notation Randy Dunlap <rdunlap@infradead.org> - 2017-01-18 04:00 +0100
    Re: [PATCH] mm: fix <linux/pagemap.h> stray kernel-doc notation willy@bombadil.infradead.org - 2017-01-18 06:40 +0100

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

FromRandy Dunlap <rdunlap@infradead.org>
Date2017-01-18 04:00 +0100
Subject[PATCH] mm: fix <linux/pagemap.h> stray kernel-doc notation
Message-ID<t0ODE-6Iu-21@gated-at.bofh.it>
From: Randy Dunlap <rdunlap@infradead.org>

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@infradead.org>
Cc: Mel Gorman <mgorman@suse.de>
---
 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
  *

[toc] | [next] | [standalone]


#1561281

Fromwilly@bombadil.infradead.org
Date2017-01-18 06:40 +0100
Message-ID<t0R8t-8q4-11@gated-at.bofh.it>
In reply to#1561245
On Tue, Jan 17, 2017 at 06:10:51PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> 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@infradead.org>

Reported-by: Matthew Wilcox <mawilcox@microsoft.com>

> Cc: Mel Gorman <mgorman@suse.de>
> ---
>  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@kvack.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web