From patchwork Thu Jul 27 01:55:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 13328670 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 626E9C001DE for ; Thu, 27 Jul 2023 01:56:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B7A738D0001; Wed, 26 Jul 2023 21:56:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B025B6B0074; Wed, 26 Jul 2023 21:56:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F0FA8D0001; Wed, 26 Jul 2023 21:56:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 8AC2A6B0072 for ; Wed, 26 Jul 2023 21:56:07 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 53CC4B1FB9 for ; Thu, 27 Jul 2023 01:56:07 +0000 (UTC) X-FDA: 81055726374.27.C582165 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) by imf19.hostedemail.com (Postfix) with ESMTP id 7FC421A0008 for ; Thu, 27 Jul 2023 01:56:04 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=none; spf=pass (imf19.hostedemail.com: domain of yang.lee@linux.alibaba.com designates 115.124.30.99 as permitted sender) smtp.mailfrom=yang.lee@linux.alibaba.com; dmarc=pass (policy=none) header.from=alibaba.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690422965; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=WXUzhN1/WANByeCVzHDkISm51NHzf0989hx6MB9Vgbs=; b=ZVO8CwJfL3fXDuwoEUt7V1C3bmuxM5dYJoXOF2/ZJbvJYLt7j0/25+bkzsRVosKm+zPvcI qEOzaxKk8r66hqrlZiIJWWGlLEKgIYQplbOOa8L6FjFoTMj5InNQ3Br8RM/U/Y2KcbP+mR OehndiNB0N38HiPfs7uDgfTbPH+rER8= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=none; spf=pass (imf19.hostedemail.com: domain of yang.lee@linux.alibaba.com designates 115.124.30.99 as permitted sender) smtp.mailfrom=yang.lee@linux.alibaba.com; dmarc=pass (policy=none) header.from=alibaba.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690422965; a=rsa-sha256; cv=none; b=04bwYM7HCYsPsFLx1ureoaDZb4dkZQaMPBsaGnp78RD58snCbvFWtVyU4qc2FNl66H3cHX 3tmnje0fFDdDtU1VChx6WYajneTj6Ft1ZnqN/a1KwqgwWvc0VKoUd2yhqUibyy8ENWc3sj diyefHXnmBgigsLtvxcUhAvrS2pIBGI= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VoInHCa_1690422959; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VoInHCa_1690422959) by smtp.aliyun-inc.com; Thu, 27 Jul 2023 09:56:00 +0800 From: Yang Li To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] mm: Fix some kernel-doc comments Date: Thu, 27 Jul 2023 09:55:58 +0800 Message-Id: <20230727015558.69554-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Rspamd-Queue-Id: 7FC421A0008 X-Rspam-User: X-Stat-Signature: hgn3qpe5nty9e1k97y38cni7kdjg8x81 X-Rspamd-Server: rspam01 X-HE-Tag: 1690422964-406980 X-HE-Meta: U2FsdGVkX1/qrzfY5tZbtCQlJxDujtdADo8CoPhF+NigaUc7GLd3ntNYEp4c9WkQJGjLr6lg7rgdxOoSf22eylXnRhV+xPBKNapV+h74C/7Oz5bJlnY1Hqzn3aoda8duKgpm67xmTZTrws9cBhOlXLNGSUHlAWtGcagf9w94z01bWEFWBcztRXOZkysqs0xR6n2OJzOLnxXrUcioUuk5O8Xg2t6nHbyLsq5y5OI68s/vlvaiX7EwvTOOdq0H7JL6slUm2IkGhYZZw7DqvunOU7EHm+iraW1Gs8fCmrukUvr/UmzS7B171eqiqlWoCE9CniZfpAU7dabaO8Ub+qx7rztRM9w2L9q14ii/YSr69qdjHi4vEZ/K35QWYyQXE2kMdj2HFheys5Pv83DjqeL0LIg5TFsQmYnp1bcd7Fsi7m8FpJQVxokgo3wCbbmxqJG+woCrZqFn27K3+mykMABqXbxDdxvnBy6ghJjwEus7qKg/NZA5V5Tosu8xl4sblS1oNz/LohFnINEvQTp5V5E/gKlYQQM2jMD2ggiyfceZO4oKLGSjNxerbyBaiYFl5SFbbsfe+uYjRFc6L4vSaY0bfDZt8UHKJdL4NEGtTprr8RLYeagRstrGEK3BTZad0TBwZSemQYY374QK+ijc1GNCCjyhin0tOqhLhDSzIrrCDg7W5dbNOSnCmNSp8YSK6RoySq3uCpbu9Hj1cOxVs6o3u5+tjd4AfMD6FuD4vZgd4f/tWgUt5uQFfu4EAojMemTS48XWjOrZ8hXTaASZ9TEvRk5ogsJO50uvjBnLGo1wC4zWRuPM+z3xSASCv2NOJ3WLHy2t523I5wqp/OApxWU7/pUIABA5Rgwmw0MUbxHSa6tgukRDv9XIjNw1qpCIg69SaXBHFAejlRer6Os+Q5rrQqCHFkU9Chc66mBxdbQ4FB8AHudirjxaxeMpWoeQnv1wIDeacC3x7v/XEa548i+ wObdfP+C ATAeBJJzvXWaXfggkWbyL/CCiYXgopzwlhugDNxEyPzOH3ibssgR9NbYS//Zu+LvGytDjAk5Xa5rOdoUJLz/oE3EPXc9dcQWj9RFkjfnt8OXz2ZD0obyhKpFfrXTJUc0RS/dASO7Qxh+Ijk+9GNNVJjWKrg== 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: Add description of @mas and @tree_end, remove @mt in unmap_vmas(). to silence the warnings: mm/memory.c:1837: warning: Function parameter or member 'mas' not described in 'unmap_vmas' mm/memory.c:1837: warning: Function parameter or member 'tree_end' not described in 'unmap_vmas' mm/memory.c:1837: warning: Excess function parameter 'mt' description in 'unmap_vmas' Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5996 Signed-off-by: Yang Li --- mm/memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index 2130bad76eb1..49bf57aae7e1 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1813,10 +1813,11 @@ static void unmap_single_vma(struct mmu_gather *tlb, /** * unmap_vmas - unmap a range of memory covered by a list of vma's * @tlb: address of the caller's struct mmu_gather - * @mt: the maple tree + * @mas: the maple state * @vma: the starting vma * @start_addr: virtual address at which to start unmapping * @end_addr: virtual address at which to end unmapping + * @tree_end: The maximum index to check * @mm_wr_locked: lock flag * * Unmap all pages in the vma list.