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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 1F00BC433E7 for ; Tue, 13 Oct 2020 12:16:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A39DC222E8 for ; Tue, 13 Oct 2020 12:16:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602591409; bh=v7xvZE08GeJrZFEuozEOJEqCvb7eyGbV4GNw/+N4zeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=kPWEDnJJbSSqCmo81+4f/95YRr0iDxI+IbDOOY8mtNy8xi7GZz5NvYTrqJ7YXjn/K gES+0XBQZ94P41X7P0R/H7+Aifwc/vNAgvcg8ZSBAAffY3LDbn1A6UzTHJV3TnTz56 sUW3t5KWWrnOZNK7bp+D0uxm7CSi1q51vw4UG4PY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727995AbgJMMQs (ORCPT ); Tue, 13 Oct 2020 08:16:48 -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