From patchwork Tue Jan 10 15:22:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vernon Yang X-Patchwork-Id: 13095284 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 8BEEFC46467 for ; Tue, 10 Jan 2023 15:23:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2648C8E0003; Tue, 10 Jan 2023 10:23:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 214878E0001; Tue, 10 Jan 2023 10:23:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0DD388E0003; Tue, 10 Jan 2023 10:23:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id F1BB88E0001 for ; Tue, 10 Jan 2023 10:22:59 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id C8B87140DF2 for ; Tue, 10 Jan 2023 15:22:59 +0000 (UTC) X-FDA: 80339257278.16.805A2DF Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by imf14.hostedemail.com (Postfix) with ESMTP id 36EA1100014 for ; Tue, 10 Jan 2023 15:22:57 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LJ23lixY; spf=pass (imf14.hostedemail.com: domain of vernon2gm@gmail.com designates 209.85.210.172 as permitted sender) smtp.mailfrom=vernon2gm@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1673364178; a=rsa-sha256; cv=none; b=1MqQ7R2wZUgLpo7QDW5Fx0KaL5C9+F+j7XxuTZAxiQAZgPhEWV5bXx4fUVNIfpd67O1Atp rPoDjt4xonClKcIGabK+P3SjrUwKbl3x1z8jpwoxtdb3n4W5TokKMnnKsYesB1AStYG5kK grA9jzOGc2bYEwU6oJcftRv7nzXxyhE= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LJ23lixY; spf=pass (imf14.hostedemail.com: domain of vernon2gm@gmail.com designates 209.85.210.172 as permitted sender) smtp.mailfrom=vernon2gm@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1673364178; 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:dkim-signature; bh=WaQuPnZwXAWUOTqnnnLbIofVzJJAgGIsrKFXOI0f+T0=; b=0k9aLqBgDD1As0/G7S7RKYHsXYFnnCinZgwtGKD4F+Jl4arKAlXfj/ANlnkRxB6up0U+BS vQ3ZUNWwhPozrXreAYDOyGVFj9V77yQ8iROpOL/zqOPDBkpBFZDsZ/zCrrC1ESwhV9x6wY AWGPbnWL4+n6ieutmTCEVVZdEEQ4ZY0= Received: by mail-pf1-f172.google.com with SMTP id a184so9084440pfa.9 for ; Tue, 10 Jan 2023 07:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WaQuPnZwXAWUOTqnnnLbIofVzJJAgGIsrKFXOI0f+T0=; b=LJ23lixYKBW24CDhyFXekLWKIQf+L527jx8RoSqGh5an+VcS30ohxNO2LG6GwJlldR eYXIOjcNH4ujS+8/8DZfl301X/m4IHwL0Dqf4qni59CqQnWHmo7GBHxXZEcSVv0Qj9gk XERzxQNjyiJLB4+Uc6c2Yk9t5NMJB62FWIvQz6omKE5tcnKz4qwS8Z7sJ3BiiVjiWLIj LwLXx4AE/+hQTcPwFvXxmRZecX7pnE4mGJK8PypwYg8PzF9K2vqyQbywT46juti5Oqnt swbDFOxSwQv4Dg7nh6krgQMHU2oifNlpVY/AumW9wFS0V+g/htF8mWYufAwLjKu/t+Ae CbGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WaQuPnZwXAWUOTqnnnLbIofVzJJAgGIsrKFXOI0f+T0=; b=DDHVcH4U3zmS9pjpIBTEQKTV7lu+Nl+SHtqyFoPqhUebsXO3V0HUgIqh9reOrzoY+I QIkZJvtxrT3Cn3Fog/QPC8YuZeF6lMz0CH1Z2450UrV6h6vnYvQEPoIeILQphC2AviJx LlkkpdhPu4bCqoE+4W5a3ZpHRy6A3q33KyhUUAC+ZLUMS4DhWecQfxT2jSUOLcMFCrt1 0Ry3hBURqB5C7fCCVnJBwoM03QYauPEaPs97E1N5Z10aIKfcQEXYKdU6hyyUPBGSKJvd HIl+RncSa5PfFtwdsqy+CzP2uihYjONBGGYvt9MAj61KPffId0896pTQrJGm09/84Jll xQ2Q== X-Gm-Message-State: AFqh2kq1d6HmV1z1lL6nj/MSpXnMLWPh5F6Es95HjZA4xJDQMX/A9xA2 TfRM9pUPXPqGAie3ZgnJsMs= X-Google-Smtp-Source: AMrXdXvDi9GX48Qoy6k+RdToi3pXWSfdn/j2AcK/s9irRhFS9c/ImfIQlOw3zmyAHjSkwE3IFL6eyQ== X-Received: by 2002:a05:6a00:198c:b0:582:d44f:3948 with SMTP id d12-20020a056a00198c00b00582d44f3948mr24595692pfl.18.1673364177032; Tue, 10 Jan 2023 07:22:57 -0800 (PST) Received: from vernon-pc.. ([49.67.3.29]) by smtp.gmail.com with ESMTPSA id z19-20020aa79593000000b00582388bd80csm8253064pfj.83.2023.01.10.07.22.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 07:22:56 -0800 (PST) From: Vernon Yang To: Liam.Howlett@oracle.com, akpm@linux-foundation.org, willy@infradead.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Vernon Yang Subject: [PATCH] maple_tree: fix comment of mte_destroy_walk Date: Tue, 10 Jan 2023 23:22:16 +0800 Message-Id: <20230110152216.1712120-1-vernon2gm@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Queue-Id: 36EA1100014 X-Rspamd-Server: rspam01 X-Stat-Signature: d5bgssdhh8cfuqwdts3catutjkn7n8sz X-HE-Tag: 1673364177-746959 X-HE-Meta: U2FsdGVkX18J6UvEW/nzeEDiASjYxwQ4Er0IIqfO+JtGPXeX+jJ5RBiVZCTDqBX6PGbFEhO/Mg2Q+snoprskvjXGbiQXs95I9mlMX2P9eUzJrajz9PVwdL4vh3hpq/DZY/itG27mf4dGvckhdVExBzTyoh5ggnj3IiXooD6al7KbpJl/ofuCg2nNKRz55g+jJeQaC59y2J9jnkcm8NfkgtolY22A51QUJn8y5YEWoQQQcbMTlHthakHSDewrnw68E44u3TBySU0+21Fr8me915gH1CKW1jEbs22OnS6KD9/HNUIp46nr9i1h4URSUDNlQ1VOVwPLe3P0jjk26irfjIpWW7sZGmS202Yr0MyBcbn5xE4cfVsJbF0m5WaMqD0FL/1UGJ77UqRVWOPr7apAM9TmdCiu1djE7l0ngUNE2D9q/d3VQDa857IAOqgrUShsE3Eg82b/1zWveodoCaZJyBd/F+LyugEvnXLyoz3xpLugWnYu/j9w2a5hrmWF1dSp0rgWn+sS4ZNSLypmdi+w7vJbA2LVYjL+HqA+04Q4kYuQN1nuXB744QrHhp7XtqqumXEWJ3JQjQzFizQ0cOhYHb86+W7LynwLq3rd6b3d2Rw4M/byaiIq7mlqHH9hTyzr1dSFv6I36r5yM7NY4RE1h1Q0/tCVhOi2XAm2Ua1y0wxFXPvgUWar5kSgm5DMhF4SELRVhJb/HA8KXbHzbte8QGw9BLuNc1y5UqFtkUbAROT5JY4Q037THaZTEvdTrhN2XPQV0692eAA3xPggzobLseZ0fUuPN6QeygQD80HkQh+1YLwzNvqXbxCmRIP6umY7A5TE7idvWj7hhSBbsJwG3o9bdfy2hHFtP/crFvES7+AbIFXbgI+A3UeTQU5AmSn1t5WAUj46gDUoUeTsGyzlcBr3t8l2Mnhe9eeBzRFA86eHpc+A/B8tdQo+7CEAO19iuKdCtkGakJ8CnvxCNNv RgGD4LUE b3Fpn579hrD/aTjejC5bAwEtWP7JnTAK07JjoSEfu3q9x5u+q0J88Hitd2iV+smbXy+ToDMjUnCXEpMWELqP56bFqBAMCjgdUTls05S8sfhkRp525PEIYfqDdOyeIchqeHVut0ZMr7I5ZpwG4HUpJwgpRrcRWIiH9mMZyst73GmWnZ4Q= 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: The parameter name of maple tree is mt, so make the comment to correct. Fixes: 54a611b60590 ("Maple Tree: add new data structure") Signed-off-by: Vernon Yang --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 26e2045d3cda..69be9d3db0c8 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5591,7 +5591,7 @@ static void mt_destroy_walk(struct maple_enode *enode, unsigned char ma_flags, /* * mte_destroy_walk() - Free a tree or sub-tree. * @enode - the encoded maple node (maple_enode) to start - * @mn - the tree to free - needed for node types. + * @mt - the tree to free - needed for node types. * * Must hold the write lock. */