linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: Catch up with the new location of get_user_pages_fast()
@ 2019-10-01 14:55 Jonathan Corbet
  2019-10-06 16:04 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Corbet @ 2019-10-01 14:55 UTC (permalink / raw)
  To: linux-mm; +Cc: Christoph Hellwig

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(-)

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:
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] docs: Catch up with the new location of get_user_pages_fast()
  2019-10-01 14:55 [PATCH] docs: Catch up with the new location of get_user_pages_fast() Jonathan Corbet
@ 2019-10-06 16:04 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2019-10-06 16:04 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-mm, Christoph Hellwig

Looks good,

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-06 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 14:55 [PATCH] docs: Catch up with the new location of get_user_pages_fast() Jonathan Corbet
2019-10-06 16:04 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).