diff mbox series

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

Message ID 20191001085529.17a2ba64@lwn.net (mailing list archive)
State New, archived
Headers show
Series docs: Catch up with the new location of get_user_pages_fast() | expand

Commit Message

Jonathan Corbet Oct. 1, 2019, 2:55 p.m. UTC
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")
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
---
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(-)

Comments

Christoph Hellwig Oct. 6, 2019, 4:04 p.m. UTC | #1
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

diff --git a/Documentation/core-api/mm-api.rst b/Documentation/core-api/mm-api.rst
index 128e8a721c1e..be726986ff75 100644
--- a/Documentation/core-api/mm-api.rst
+++ b/Documentation/core-api/mm-api.rst
@@ -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: