From patchwork Tue Oct 1 14:55:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Corbet X-Patchwork-Id: 11168999 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61F7014DB for ; Tue, 1 Oct 2019 14:55:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 44FD020815 for ; Tue, 1 Oct 2019 14:55:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44FD020815 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lwn.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5E7118E0007; Tue, 1 Oct 2019 10:55:33 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 56DCC8E0001; Tue, 1 Oct 2019 10:55:33 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 45CBA8E0007; Tue, 1 Oct 2019 10:55:33 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0029.hostedemail.com [216.40.44.29]) by kanga.kvack.org (Postfix) with ESMTP id 1E1B98E0001 for ; Tue, 1 Oct 2019 10:55:33 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id AF859824CA13 for ; Tue, 1 Oct 2019 14:55:32 +0000 (UTC) X-FDA: 75995514504.12.cream59_6a8e449df9849 X-Spam-Summary: 2,0,0,83be0932f2ffff54,d41d8cd98f00b204,corbet@lwn.net,::hch@lst.de,RULES_HIT:41:355:379:800:960:973:988:989:1260:1261:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2895:2901:3138:3139:3140:3141:3142:3351:3865:3867:4321:5007:6119:6261:7807:10004:10400:11026:11232:11658:11914:12043:12114:12297:12517:12519:12555:12679:12895:13069:13161:13229:13311:13357:13439:13894:14096:14097:14181:14394:14659:14721:21080:21451:21627:21795:30025:30051:30054:30070,0,RBL:45.79.88.28:@lwn.net:.lbl8.mailshell.net-62.2.0.100 64.100.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:29,LUA_SUMMARY:none X-HE-Tag: cream59_6a8e449df9849 X-Filterd-Recvd-Size: 1849 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by imf20.hostedemail.com (Postfix) with ESMTP for ; Tue, 1 Oct 2019 14:55:32 +0000 (UTC) Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id BA13A316; Tue, 1 Oct 2019 14:55:30 +0000 (UTC) Date: Tue, 1 Oct 2019 08:55:29 -0600 From: Jonathan Corbet To: linux-mm@kvack.org Cc: Christoph Hellwig Subject: [PATCH] docs: Catch up with the new location of get_user_pages_fast() Message-ID: <20191001085529.17a2ba64@lwn.net> Organization: LWN.net MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 Reviewed-by: Christoph Hellwig --- 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: