Skip to contentSkip to conversation

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

PATCH New [email protected] 1 participant 1 message Feb 22, 2017 Page cache

lore
Share & tools
lore
#0 lore raw

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

From: Randy Dunlap <[email protected]>
Subject: mm: fix <linux/pagemap.h> stray kernel-doc notation

Delete stray (second) function description in find_lock_page() kernel-doc notation.

Note: scripts/kernel-doc just ignores the second function description.

Fixes 2457aec63745e ("mm: non-atomically mark page accessed during page cache allocation where possible")
Cc Mel Gorman <[email protected]>

---

 include/linux/pagemap.h |    1 -
 1 file changed, 1 deletion(-)
include/linux/pagemap.h renamed from include/linux/pagemap.h~mm-fix-linux-pagemaph-stray-kernel-doc-notation +0 -1
diff -puN include/linux/pagemap.h~mm-fix-linux-pagemaph-stray-kernel-doc-notation 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
  *

_