Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4702840pxu; Tue, 13 Oct 2020 05:19:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEydtHmLzTvnNlhYNAv9KJq1buBQTd/7Izjhz3kJzPQJl04dva93awR24tHH7L5twhhAWt X-Received: by 2002:a05:6402:b72:: with SMTP id cb18mr19142294edb.129.1602591567135; Tue, 13 Oct 2020 05:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602591567; cv=none; d=google.com; s=arc-20160816; b=QC+kwyeI5Nsp13+nSkhjomDq9/rJj6FJHvhaKuN3LUSoxPtcUcJ6VG0c42WZQHvIv+ E5/LkfMiZkRhMu49tezUKupDSU6n1kr3TXinBDOfD2VDHbZ7PS70bLFRZBPli5meEhJf D56bQrZ0oK4TNLP+CBpH64NdOdm3i+gcRZq5JHu6+iUQWb1QOY8alQsLrhK54hzX3RRD Sd5n4i2c+8+/YsZyeJypM8Cq6dVwmhM1ORltcfw9e7Od0KVqIiXFpQByyUs6Mugg1WJ3 1h4nQ2Te2n7yXZkU9Kl4cJADl/Ew44odD26NXlPZVF2vzH/c3Xh2+hZs1YQtxIDYJvGl RTZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pONtdpX2lAyGcE925CsQyrNQnCGb5kBiCGK7SjKkFcY=; b=P2fcm6gv+Q6JSm5ncmllbrECz5O9eIlwJGoK/rYNPW3nsHCk/QfM2steMvjh3vlj0I xYM2HKzPBRV0XKCGFZRcVLjL5lKIfHedMKDS2kaW8uPqbuckcfhSDs3UJdDxLtyegzqL kSKBnoGX/gLDxOGIBfagRjH9eiL1JZRcHQa9E2oRH6tr9nL2xh5SWkjR20zwhSuP5xEr dYtA6DbUCet/BVlCaGSnmzJqs4HD37/AG0y+0P8EukMzKdkBQIzes6kufSu2OD8dI8Fm 3WTaml6YmTKksLVyvK68aRdApu54UkEyPM+/KCCdUtxgQcU37jmK8719bHvWJXnHyBRy fv4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=azJcxpZw; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 5si13623354edx.206.2020.10.13.05.19.04; Tue, 13 Oct 2020 05:19:27 -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=@kernel.org header.s=default header.b=azJcxpZw; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727978AbgJMMQq (ORCPT + 99 others); Tue, 13 Oct 2020 08:16:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:41132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbgJMMO4 (ORCPT ); Tue, 13 Oct 2020 08:14:56 -0400 Received: from mail.kernel.org (ip5f5ad5b2.dynamic.kabel-deutschland.de [95.90.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1830822261; Tue, 13 Oct 2020 12:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602591295; bh=v7xvZE08GeJrZFEuozEOJEqCvb7eyGbV4GNw/+N4zeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=azJcxpZwEUFfCCB2krYUl8xMZdMcRna4TAswUJH5oCLfqZTeM1SKCu6VoXpGDmNJ2 iJUyGMvWgnyRH3MTuMOvDIzkdGngeP2dUSPQ6dNkm/mNjdZ71K9QkLh5MRAYrIcL9t 70PjXmGglUHbS5FGXe+1aaH+uZiMM7Ska/PqGnL8= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSJCe-006CoB-Uy; Tue, 13 Oct 2020 14:14:52 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Matthew Wilcox (Oracle)" , Andreas Gruenbacher , Andrew Morton , Guoqing Jiang , Jens Axboe , Johannes Weiner , Stephen Rothwell , Thomas Gleixner , William Kucharski , Yang Shi , linux-kernel@vger.kernel.org Subject: [PATCH v2 10/24] mm: pagemap.h: fix two kernel-doc markups Date: Tue, 13 Oct 2020 14:14:37 +0200 Message-Id: <54ea6dd0fc37c48aef3fc3ae454c54a80db313dc.1602590106.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changeset 6c8adf8446a3 ("mm: add find_lock_head") renamed the index parameter, but forgot to update the kernel-doc markups accordingly. Fixes: 6c8adf8446a3 ("mm: add find_lock_head") Signed-off-by: Mauro Carvalho Chehab --- include/linux/pagemap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 7dd3523093db..932a260a29f2 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -342,9 +342,9 @@ static inline struct page *find_get_page_flags(struct address_space *mapping, /** * find_lock_page - locate, pin and lock a pagecache page * @mapping: the address_space to search - * @offset: the page index + * @index: the page index * - * Looks up the page cache entry at @mapping & @offset. If there is a + * Looks up the page cache entry at @mapping & @index. If there is a * page cache page, it is returned locked and with an increased * refcount. * @@ -361,9 +361,9 @@ static inline struct page *find_lock_page(struct address_space *mapping, /** * find_lock_head - Locate, pin and lock a pagecache page. * @mapping: The address_space to search. - * @offset: The page index. + * @index: The page index. * - * Looks up the page cache entry at @mapping & @offset. If there is a + * Looks up the page cache entry at @mapping & @index. If there is a * page cache page, its head page is returned locked and with an increased * refcount. * -- 2.26.2