Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2158361ybz; Thu, 30 Apr 2020 11:55:46 -0700 (PDT) X-Google-Smtp-Source: APiQypIJ2fcoToZti0L6eW6W/4MvB6AuXUrhuSmC6dtBxKbpheqXnF3KVu0NT1y6YByreNizPdrS X-Received: by 2002:a17:906:9443:: with SMTP id z3mr4256026ejx.114.1588272946227; Thu, 30 Apr 2020 11:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588272946; cv=none; d=google.com; s=arc-20160816; b=bG4up1C7THHnqE+ZCOu4rWyeh1jO2PR9wbNBUp9h6I90o36VqNQXldewOES+7GSKBj Gls2+IFnQirQiIPl1MIsX7vYf09f35PjmUNXxOLHaHxcO6eUwsdAfe2tGT8537rm9C13 Mb1cyqhlqdseXIVxQL3lMTw2CA2eg6MWORNpB83xvk5lFvMRmqAhf2qPoV+tfoRAaM9I MjLVLWO6bjjphsfYbpaBXAWYAAFWyuRMri6+jHpVViHGXpHQxd/HgxtQLFsy6XHkWaeW kHC4lYWd6wYn+6NhabPr+SuFMpShk/rZA/wPB8dbjNfpezGGVMDxFYqRCwcYqWLmotWF VTaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=tCdxst5tczlIzqff4W9H4F8TmPvPw2gnTPXXKU2ofDs=; b=F4Kq2aA+NFFkrDT7DCwjdXn4M5yfBu+3MGdsHDsOFDRfqcr7yhxZn/2jAWwbsGfX4n Y8c/y9G/hBZCU2ntfQpiri5N6pxjsI+fUbdaTHRz5n87dm+B0lKFHuctBLue4sU5NRLd NDwAm/2i3ndlwJS0HcNl45nNj1D+sHBsQWinzIgUl+Fec1URaYVci29tXvUDa1EdP+pT slw+iXzeuPnoEguIivpWa/BH/qAjf65PnhkRjTD2k0Kl101Nop9e8JTq+liLRb5NPC4t e2cRqMMAPWc9UYxN5nl5DQVctbHHPmeNn+tVT/Q7+FXrgmd+kTEKtz2yuqoEiYKvPR1G n8DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k942Q6I6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk10si311260edb.3.2020.04.30.11.55.22; Thu, 30 Apr 2020 11:55:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k942Q6I6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726572AbgD3Sx5 (ORCPT + 99 others); Thu, 30 Apr 2020 14:53:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726318AbgD3Sx5 (ORCPT ); Thu, 30 Apr 2020 14:53:57 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AAD1C035494 for ; Thu, 30 Apr 2020 11:53:57 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id 18so266539pfv.8 for ; Thu, 30 Apr 2020 11:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=tCdxst5tczlIzqff4W9H4F8TmPvPw2gnTPXXKU2ofDs=; b=k942Q6I67iXZpEDFUoY2vP1Z0MQr4CFIWM41c8k6HZI0NszRzd6CMjjvwyTEV6spMf eZpRvIhTtI66G3uAlRd/OS3SJxrkGODFyqCokrKBWZxnInabbAejkY+Z3UuvtIwNHM/3 TAoeSX8dogOXWvCVG5g5roNH9ZaGGVmvwi7K+5e7oLEzrSyRu98d2hJMa9h5Nx9Af+Yy ezUv0L/4M0cwPJBAGJmRVLVwjDJ1w3lH/Sy5dCfTSF6QMDMybvJm37W/1u6zTG3oBjbP vNTjcUNIJbLhJsySvKF+BUJWEJomMXcQPWVkjQVlz+I98YvYLovpe2oM1eDJHlmcmmSh MXZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tCdxst5tczlIzqff4W9H4F8TmPvPw2gnTPXXKU2ofDs=; b=CshTRHm2dlF+CvtZn97+fmKdjoxw+M2A8QcdKAe8Gv/09En4r2+olJ3iwrb1+UWcD0 eik892FXnGcY8mw53GR6JE67FlLLmXw6r8nIRV44/IsF2pGcDFtSso6tEC3w3C9/3nWJ BW/q95QVIgqlO3gpjUHPABE+FFGbacMAkha6OkUdil1RBArvzrmyuchPA0BIXzWF1VMn YjBzPhsRqt0KBQudUsws0cjh3aLnMKZlEvpJ5TuZTUPQjNExKDkg777Zm6DHt/79lnsb 5b/OCwQshCUxtGSS45BUhmH1mIQhsjQ+kVa5bfLuf5xOuOuTuWayXkMrSGt45L3CYmrg BZqA== X-Gm-Message-State: AGi0Puauh0/PZ7ACe+iLLcYni4Tsfhzopj/pJDgGsZ2bPDajsZg0sjU6 7Ue+iQkfcZEJBgePQ6s7suw= X-Received: by 2002:a63:f960:: with SMTP id q32mr295612pgk.357.1588272836781; Thu, 30 Apr 2020 11:53:56 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC.domain.name ([122.167.43.171]) by smtp.gmail.com with ESMTPSA id g25sm427775pfo.150.2020.04.30.11.53.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Apr 2020 11:53:56 -0700 (PDT) From: Souptick Joarder To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, rdunlap@infradead.org, Souptick Joarder Subject: [PATCH] mm/gup.c: Corrected document reference path Date: Fri, 1 May 2020 00:31:54 +0530 Message-Id: <1588273314-3790-1-git-send-email-jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document path Documentation/vm/pin_user_pages.rst is not a correct reference and it should be Documentation/core-api/pin_user_pages.rst. Signed-off-by: Souptick Joarder --- mm/gup.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index 7ce796c..4952f12 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -2864,10 +2864,10 @@ int get_user_pages_fast(unsigned long start, int nr_pages, * the arguments here are identical. * * FOLL_PIN means that the pages must be released via unpin_user_page(). Please - * see Documentation/vm/pin_user_pages.rst for further details. + * see Documentation/core-api/pin_user_pages.rst for further details. * - * This is intended for Case 1 (DIO) in Documentation/vm/pin_user_pages.rst. It - * is NOT intended for Case 2 (RDMA: long-term pins). + * This is intended for Case 1 (DIO) in Documentation/core-api/pin_user_pages.rst. + * It is NOT intended for Case 2 (RDMA: long-term pins). */ int pin_user_pages_fast(unsigned long start, int nr_pages, unsigned int gup_flags, struct page **pages) @@ -2904,10 +2904,10 @@ int pin_user_pages_fast(unsigned long start, int nr_pages, * the arguments here are identical. * * FOLL_PIN means that the pages must be released via unpin_user_page(). Please - * see Documentation/vm/pin_user_pages.rst for details. + * see Documentation/core-api/pin_user_pages.rst for details. * - * This is intended for Case 1 (DIO) in Documentation/vm/pin_user_pages.rst. It - * is NOT intended for Case 2 (RDMA: long-term pins). + * This is intended for Case 1 (DIO) in Documentation/core-api/pin_user_pages.rst. + * It is NOT intended for Case 2 (RDMA: long-term pins). */ long pin_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, @@ -2940,10 +2940,10 @@ long pin_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm, * FOLL_PIN is set. * * FOLL_PIN means that the pages must be released via unpin_user_page(). Please - * see Documentation/vm/pin_user_pages.rst for details. + * see Documentation/core-api/pin_user_pages.rst for details. * - * This is intended for Case 1 (DIO) in Documentation/vm/pin_user_pages.rst. It - * is NOT intended for Case 2 (RDMA: long-term pins). + * This is intended for Case 1 (DIO) in Documentation/core-api/pin_user_pages.rst. + * It is NOT intended for Case 2 (RDMA: long-term pins). */ long pin_user_pages(unsigned long start, unsigned long nr_pages, unsigned int gup_flags, struct page **pages, -- 1.9.1