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: 126594 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp789989vqo; Wed, 26 Jul 2023 19:11:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEpsYqN0LWtAg2A8w0Yb6OpB1OyeULVTvE4fcqf2dXxRVqiLb4EQr/p6BaEodxqRYBYuq+W X-Received: by 2002:a17:906:7497:b0:991:b554:e64b with SMTP id e23-20020a170906749700b00991b554e64bmr646332ejl.54.1690423893264; Wed, 26 Jul 2023 19:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690423893; cv=none; d=google.com; s=arc-20160816; b=KiYktdZsxBavfleeo5OnbVygojdUjwpxCKtKDTgnnDNfVb83RnFbJWhs9QG2zt8ykz aj0Af7Usy5j/qQvmOZ3ra/C7L0WBS7JZSpyDbAf7TQZnuBz5groIoYb73O8i61AHz9e5 CwM7xH74QJ9xcyDgeRO4VWObFo1Djr5U21fHEWEK4OrK/NTIhMqPevckIvmpGHwBG03M PLWrDYJkah/ETn8R5jv3hc432mMDbdObZDhqkIKpUOuPYv9ob88Kpanvjm7nnvQXdTik ObpRYq2d0mHfoRHpnZuCdUiiUuqw9a3i+/BaH2UJNZCxt1vikAxxOVbCavY2EvhCX0nR 3Edw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WXUzhN1/WANByeCVzHDkISm51NHzf0989hx6MB9Vgbs=; fh=sr3xqc1wqlwNK+QWnm51xa98XCwLN0120wa/JW8qOi8=; b=Rjq18ASipWvorsjR57t86XtjDs4Kus9CqmE+680DXKcFv+3F31JSgwMX2sDq9NtZfF M+dWrBKulwB8oIhLsYkhPliFqOaGrGkjZGMXSyPU5aLe0S07XmeKO+ygOLPba9Tg8JHr r1frL8qARKwlTMaA57bCDXaWuKr3UTH6ZLB2h74IBWANZABqD0eVRyrpIDmf3J8Ct/oI G55KW8pIGziX+BldrFLB/0Uv5Ms1/S4km20aS6zBRrloJXHrF14PuW8A/YrN0FukuTTV CMl4mfXuCSp/BGnaele0yvUz1lom4AaPaItvB7jNi8dd0zl8JuKyhShntBV/sSPx2Nsq eCdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg15-20020a170907204f00b0099bcb187a0bsi207744ejb.387.2023.07.26.19.11.09; Wed, 26 Jul 2023 19:11:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229975AbjG0B4G (ORCPT + 99 others); Wed, 26 Jul 2023 21:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjG0B4F (ORCPT ); Wed, 26 Jul 2023 21:56:05 -0400 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D905D212A for ; Wed, 26 Jul 2023 18:56:03 -0700 (PDT) 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-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772537924500900233 X-GMAIL-MSGID: 1772537924500900233 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.