From patchwork Fri Aug 9 02:01:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yang X-Patchwork-Id: 13758295 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 D42F5C52D7B for ; Fri, 9 Aug 2024 02:02:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 69C536B0092; Thu, 8 Aug 2024 22:02:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 64C696B0098; Thu, 8 Aug 2024 22:02:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4EDD06B009E; Thu, 8 Aug 2024 22:02:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 1EA0C6B0092 for ; Thu, 8 Aug 2024 22:02:01 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 8FC2CA062E for ; Fri, 9 Aug 2024 02:02:00 +0000 (UTC) X-FDA: 82431056400.25.788AD54 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by imf26.hostedemail.com (Postfix) with ESMTP id CFB6914000D for ; Fri, 9 Aug 2024 02:01:58 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Ss1pDamH; spf=pass (imf26.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.52 as permitted sender) smtp.mailfrom=richard.weiyang@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723168885; a=rsa-sha256; cv=none; b=x1+ZqTMleUdO5E6WcfI8ytzhOtE4ACAvcMi4yHT8mrKNK6tzIj11TMpOs1mlZ9VMtyfmCk wsj8JzR4yWpiQ3KRlsrZNouk+CQZ8jUFT0hfbvRryFlwHgv93fqd6P/EGnMGWOe2QbkO9X r3Q1vDp4BvUSkNHrgf29cvYQOWGXMeU= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Ss1pDamH; spf=pass (imf26.hostedemail.com: domain of richard.weiyang@gmail.com designates 209.85.218.52 as permitted sender) smtp.mailfrom=richard.weiyang@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=1723168885; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references:dkim-signature; bh=YHjDhTZJc9U2dV5ZSUB5awPIC0hbD4Vaj1KQCegl4vM=; b=rScRBv1mlaTrRaVkQfsdl8BYsKwaBfH2Y98u1ZE54oVHXSh74bDl8YEnO69Oiec0XPbHjR N3odZnWSzLKGIGill+CWDwwTdVkDNXH7tk4YDvDTP7V8P4Rc29n5sG8Zb7WQ0+ldnxdW3/ J0sdXDbVUFzyb7HWzdEVhvR7OkxtO+Y= Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a7a9e25008aso191737866b.0 for ; Thu, 08 Aug 2024 19:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723168917; x=1723773717; darn=kvack.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YHjDhTZJc9U2dV5ZSUB5awPIC0hbD4Vaj1KQCegl4vM=; b=Ss1pDamHAg+QimZqEpIiU6kTEvcvr7vBXKlIxswMZGPFewuYFEFWLJ/nnm/T9gkhfz 3IHb7liGxGlaRr3LtXcONXzruobVSJRgCCmjMq/dxxpsInTQse3GFaZsNY0/pS5K95rt H1UvwICsRccZ952ZZ7RIgrwdLmc0I4KunAAQEm7Zp9aaIo899clkIA/lHWgF2F+VIQY0 zrgbNMnE2zesy7QXHmq+J1nAYIL73NlWO2/0K73rU9JERXqaCgVagyXGGHaR97Ireu7Z XJxcjbnOf0X5moUUCO5uYNHfPi+fQTuCPRHOVUkSGBXxjEBiTJBFGBSToIf7+gozYA/W vvvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723168917; x=1723773717; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YHjDhTZJc9U2dV5ZSUB5awPIC0hbD4Vaj1KQCegl4vM=; b=v7U9BlCoKtv4m5sUnL/E1tD54/1KOy1tXHvVSIxzYBKXNItQCyjFUwl6v1qijNdqGx WQwWmSu+7E5Xr31uVGwMv3YOWtRf8vpYCsJteRT0xCztSQ0/Cg/+T0u1djN2oOWmvOAS OgfrZYs7D55Ns4JqnletwNJdF7YTSv0CCD3oyg8w3HFsxBMXmEvgbQr+BrstGvcFZpc1 drJgkb7NPVJG0ron9nYO79Qhgw5sbLPfTzRttQdCicrM9YblpEIFM9SBhnXaiiwuaSpR u1wmvQiMSMCUG4tThvUzL6Wg/XMs5f0PRWG0io2mE/XWCfCScgklRRdNFGMO+bqS9ipO uiBQ== X-Forwarded-Encrypted: i=1; AJvYcCXjOjA6eRKqtOzY8xe9sfer9I1A6QFbZTszEv85r3lsu6wzjFfer8PxA24fl8fsH5hgJ+c57LXps16M4PI8Z082cbg= X-Gm-Message-State: AOJu0YxNcKBYKILF+wkrKiG2yBuj920fQgdv/0xWpKKezRDLAPLfi6YB zRNVsQR5mTyWvyUGnZEEHzdPwhWlMnJeRhf41TBwrHC3Wq5DKVRMlDIOWw== X-Google-Smtp-Source: AGHT+IEveUkZnnYXfEFtM9H/Le30OErexdxSOMi+g4oRtUpCTnziC2PkPaP3kOEYSzF911FuxaypIw== X-Received: by 2002:a17:906:cae3:b0:a7a:b9dd:775f with SMTP id a640c23a62f3a-a80aa654662mr7822266b.55.1723168916927; Thu, 08 Aug 2024 19:01:56 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9e83e93sm785286866b.166.2024.08.08.19.01.56 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Aug 2024 19:01:56 -0700 (PDT) From: Wei Yang To: Liam.Howlett@oracle.com Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, Wei Yang Subject: [PATCH] maple_tree: fix comment typo on ma_flag of allocation tree Date: Fri, 9 Aug 2024 02:01:15 +0000 Message-Id: <20240809020115.31575-1-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 X-Stat-Signature: fsc9napmzk14q51a9rb87ddqes4kb5tf X-Rspamd-Queue-Id: CFB6914000D X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1723168918-588468 X-HE-Meta: U2FsdGVkX18rzSas9jLeSR7i9mJkJN8EyIt5dVstbOZ4qGSlX2QcEtHqg6ckBEc+iIZ8GhRLDHsxX8LNRm+A7g5E781VxTsLCYCbiBbnRV3XrcLniM9GvZzzwmUgDfhdV114eErGV90U6SUADFlkAjwT1G+k6Rg2krZ8WGgtf1Ulc3Dqdf3k22oZxshMsxOoM2WuFV3cRutxzez05yJEvwAQ2V2ZgY3wFbnoYaRyAg40I+CTRCrJbLQ/8LtYB//VttEDveUB8k5UCaHZVFLzBcxfxu/2DSushfn40QzuEWTIGvgeozqsgX4Wz+i3QdsaA4L3gbteLyJeuCIHRm67v0HpV9ZVRO/4WcejAQ+oYhcHgkqiGr1nkNPEf3JRATRxmSJKrKzLCPv3k4LsDv2KnuE4BmIFxXn5d0/RFF6O2eurlWIqdPs1u8/KbRW2Zmh2EFyp8GLBTh5Uu+Vb/CjdhRiJ7hdt6MhU6p0PH6VoNE70R1hLWAE/fVgr0mMdOFvwskZljaXAfi1wYQ0BmJ5wQ9cmtZhanYbKYMluDmfaYiLwjD9trzo8CxGC5Uek6Wi9lKzQ2ur8sfcesszYrgcf+4ZgcWBddJ9zqVEXzR0zhAiBiPr3rpHK+thdDtGjqHIoIKj5eKhLJ+yrkA0YgWJfaAqBGsKVaSIAfPi+s1aWGStj6k6NK9DGxSqQJz9LGE55NrgsMpQ5l+LjIVILf2WF+keqjw7c6uZ5PN0Ws6XUIibPnorDL1nERpLn7ROTRNKjKYiaqW3XkNn9Vyxsmm67WamFdxXSMCOFpR81GF2RujYunDzDRc1wuefaZSVIbUv599Ia1mqkGPV23hHVUH47s5RV6De/ArBvwhZ4zsvSsEIhHx87vcsSVUP/DUYbYAUdUftNBB0BL1aeVMqtKe4+BSVfnTuo29AHYgZehIIVSns7780Dfn8COfy9fllP/D1FJ2bY0pepMduRrzRC9mC 4rynEN3u aqAsM4Dihn+eh9OQchqpDst83p/Mynz6VUETCbrHhiWBgFjkiRuFrKr//QCw8y5daikRxdyyI0ZTZvucSg8Nkgb/PLY/fKRCheoF2yqW4/jdewdxHYP1dFnJnsQkbdstyX+ISR85I3KFsaCA/D7MOw6Ky5ISHdyI4xrDYNlyfeF7PqhCLvICIqzLnQdCDrDm1ybWkphILthYDLKYq3cXCwL4kzVU2fgyfIYhPtD7nOigysY+i2b7fyP8ql2aRWFKEcn3cBR+reoSq6Lr77WLnqL1rujLuzALV9cLAlImId64cTJ2njeKNVxHQ41IgsPHLAtjpV/9Rm+6rVrWjOJoNRqDbjyH0NVEeOKqXcqsIJWLTDRIzRUE7o9lpgLzM9jyWqqKZGWqZfSCI1zpV/Qfa4lciR/8jDghHZUT+YLJSE4/g+t+xXQfefnG9GLz3I9ayozyE86fV53JSorA= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000004, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE. Just correct it. Signed-off-by: Wei Yang Reviewed-by: Liam R. Howlett --- include/linux/maple_tree.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index a53ad4dabd7e..9c5fd645aa0e 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -52,9 +52,9 @@ * bit in the node type. This is possible by using bit 1 to indicate if bit 2 * is part of the type or the slot. * - * Once the type is decided, the decision of an allocation range type or a range - * type is done by examining the immutable tree flag for the MAPLE_ALLOC_RANGE - * flag. + * Once the type is decided, the decision of an allocation range type or a + * range type is done by examining the immutable tree flag for the + * MT_FLAGS_ALLOC_RANGE flag. * * Node types: * 0x??1 = Root