Skip to contentSkip to conversation

docs: Catch up with the new location of get_user_pages_fast()

PATCH In review Jonathan Corbet 2 participants 2 messages Oct 1, 2019 – Oct 6, 2019

Subsystems (3)
lore
Share & tools
lore

Jonathan Corbet

author maintainer
#0 lore raw

PATCH 1/1 docs: Catch up with the new location of get_user_pages_fast()

Commit 050a9adc6438 ("mm: consolidate the get_user_pages* implementations") moved get_user_pages_fast() from mm/util.c to mm/gup.c, but didn't update the documentation, leading to this build warning:

./mm/util.c:1: warning: 'get_user_pages_fast' not found

Update the docs to match the new reality.

Fixes 050a9adc6438 ("mm: consolidate the get_user_pages* implementations")

---
I'll just apply this to docs-next unless somebody screams.

 Documentation/core-api/mm-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/mm-api.rst +1 -1
index 128e8a721c1e..be726986ff75 100644
@@ -11,7 +11,7 @@ User Space Memory Access
 .. kernel-doc:: arch/x86/lib/usercopy_32.c
    :export:
 
-.. kernel-doc:: mm/util.c
+.. kernel-doc:: mm/gup.c
    :functions: get_user_pages_fast
 
 .. _mm-api-gfp-flags:
Signature · 1 line
2.21.0