From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79EA0C4724C for ; Thu, 30 Apr 2020 18:53:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 419C32082E for ; Thu, 30 Apr 2020 18:53:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="k942Q6I6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 419C32082E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C29118E0005; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BBADC8E0001; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A52E08E0005; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0176.hostedemail.com [216.40.44.176]) by kanga.kvack.org (Postfix) with ESMTP id 89F0A8E0001 for ; Thu, 30 Apr 2020 14:53:58 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 49453181AEF07 for ; Thu, 30 Apr 2020 18:53:58 +0000 (UTC) X-FDA: 76765420956.21.pipe33_79f3874279227 X-HE-Tag: pipe33_79f3874279227 X-Filterd-Recvd-Size: 5285 Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Thu, 30 Apr 2020 18:53:57 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id t11so3245580pgg.2 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=oc4JPVdfAVcsUbTPF7aRq9pFkCzJ5VyJ19XW3uBwWD+zI3TVp7azHhxeKgJdX4zUDx tyC6G1MbJUmPMvNN8qI4WeLCO4TG5Zj6wGtjc2UXvYEZRKrR8Y67Rzh4g3U8O59mASx2 i37HYpfum8+eOCpnTkAsC9yaphjBticzJpVX10jEfFZG7SFeCEhNErXboHAd2avw3yv0 /NLxatuMEADFU5LJEJ03+a+baq2KfzeoP/jE3qcaIPDWxnjZMvSc+0kHIMIOPumgrroo FRu+gCZDexLCc0m4k+A1WvB/0O7nJ3LkJb0v3C1ntse6ZlzUQkfXNoAOXCcdFtuaWXCS 7hHw== X-Gm-Message-State: AGi0PuZs3lYxN9lIw/CCE5VfW0+c0dSPbNIkZRtEJPHGHWccLSQ/zfBk UskG2YLpknwkOQXi/rhVK7M= X-Google-Smtp-Source: APiQypJER8e+1f4K+e2eafBOds4s7QWdgQ8n+CkJbZ7ST7hs/yoSGxN2U2EYAeOCM1ljLV1AFCuy2Q== 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 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: 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