From patchwork Mon Oct 7 21:47:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jann Horn X-Patchwork-Id: 13825311 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 86757CED243 for ; Mon, 7 Oct 2024 21:47:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 134EF6B0082; Mon, 7 Oct 2024 17:47:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0BE046B0083; Mon, 7 Oct 2024 17:47:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E7A406B0085; Mon, 7 Oct 2024 17:47:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id BF79D6B0082 for ; Mon, 7 Oct 2024 17:47:55 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 6885A40D4D for ; Mon, 7 Oct 2024 21:47:54 +0000 (UTC) X-FDA: 82648144110.22.160056B Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by imf14.hostedemail.com (Postfix) with ESMTP id 4985E10000A for ; Mon, 7 Oct 2024 21:47:53 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=Mk742WIH; spf=pass (imf14.hostedemail.com: domain of jannh@google.com designates 209.85.128.51 as permitted sender) smtp.mailfrom=jannh@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728337495; 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-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=ECgP5fvdUFoRi7cXjxsv8+LRLTtUHELj5XDo2/F4PEw=; b=AEM5tmcC9Ok9mkHxUwVW3gAcNa5nKdkSLCoSM1OY/Vv1kL5feBMccGx3rosgn811PTBe1k XzusG7BKEE/XoNAJQJBD99VgdS94Kt5k++siBLS+IvQ8dnE5d3GXV7vDrzuIZyxM7Yn4Y/ /3tRmhi24d6B7YcXNz8PkRLKS+IqNw8= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=Mk742WIH; spf=pass (imf14.hostedemail.com: domain of jannh@google.com designates 209.85.128.51 as permitted sender) smtp.mailfrom=jannh@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728337495; a=rsa-sha256; cv=none; b=pyKEi0ZV7Alqud68ydwR2lpf2YZWPH/Rfx7OSaYMVRGRRp4eGc4O31na6TOiuNJ3e0+bfe 7APzyufn/LLVs+SOLoDkavfG8nQ4735MZ5tye+BfjLKs+8LyVFcTmurnTaFUjMHLht9ggn onvoTq5oWY26/v+m9/0Zv9mqDGFwK1c= Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42f6995dab8so89625e9.0 for ; Mon, 07 Oct 2024 14:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1728337672; x=1728942472; darn=kvack.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=ECgP5fvdUFoRi7cXjxsv8+LRLTtUHELj5XDo2/F4PEw=; b=Mk742WIHZVmNbJe+byZ/qJKVjn6yi1Es7NhOeIsau3x0Lc94DmQEHHxcxGqSc2GN5P DjRW9x/hkc48SJ0yXONNJGN/p9lsU/AixpeNqnt5URijxowEMam/iTIVYVcTsLPZr9Yj 8bmLEKw4YYcOAo+wrPsJm9UfMip2w3ogPFtFYFqjpIwO7j6EChtA2ugYktqHSAi45hCH OwLgROHPzmgKaROBnM8CAdMlElwnV5QQMAcLq3ULCxfzOXRr7ZJT9kmyU7/EhMu2Ddud BwG1cNACwpV3h3xrILBrRVqoUTg3nxuLvCTyDb5dEIZiWeZV+hQ8HysPBPppnaAaNNLQ SAsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728337672; x=1728942472; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ECgP5fvdUFoRi7cXjxsv8+LRLTtUHELj5XDo2/F4PEw=; b=CZG8mCLNXWZtOBFZmUgLXMUNSWbl+vpH9GkjlB/PruvfrcVBWwxz1nFhSUNdl9kRt/ BxrFHNoCoU54bQm0kEy07dJPy1uC8+1Qppp3m8LbrtxcDnfiLChuRRjY6GOs4CVBg5w6 AhCjXwUlgJpYz6xa57VRL/YAHPPR+o4X9dd3bPR44NV0O7g46B+7kPTlTbVAgBtFn9va ZDc+ZbzcmveW5s5gHPg4dEZRlOHNX9aiVy8aCwILAZg8NvZvU92nOtre6X9D5WYYhprN je640ZCH6Al9F44u82EmZNAKqDtSe2s9o8yW040dDsCOV8I2Gl7r2FZx8/zZUkDDNskY JO5g== X-Forwarded-Encrypted: i=1; AJvYcCUiQdS44FIANZxP7tGmxYWA2r9Eoy5urHUvF3tYfbEtEUxV5iLB5aKWIDF0OwPNNogO2LYX2g6osQ==@kvack.org X-Gm-Message-State: AOJu0YwCkG7nZQC2TW3Q2IWDJE2wwHE/ejV/5KtmeY/d8UJjDBVGV6yx YTUsKzFEhfJtoNHiT/HD30jrOG2GKJYduGG1ZkyOxTXW81sU7dozWAcjKfMujQ== X-Google-Smtp-Source: AGHT+IGDQO4nHRNWdEKeqZdj/pMWxMLlAciMeijzka1tn8Wn5Hu3zNWJfZA/A0qfuY+py/QO0cYu7Q== X-Received: by 2002:a05:600c:5010:b0:428:e6eb:1340 with SMTP id 5b1f17b1804b1-42fcdcddf49mr1500625e9.4.1728337671287; Mon, 07 Oct 2024 14:47:51 -0700 (PDT) Received: from localhost ([2a00:79e0:9d:4:39d2:ccab:c4ec:585b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f86a20393sm104521425e9.12.2024.10.07.14.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 14:47:50 -0700 (PDT) From: Jann Horn Date: Mon, 07 Oct 2024 23:47:45 +0200 Subject: [PATCH] maple_tree: fix outdated flag name in comment MIME-Version: 1.0 Message-Id: <20241007-maple-tree-doc-fix-v1-1-6bbf89c1153d@google.com> X-B4-Tracking: v=1; b=H4sIAABXBGcC/x2MUQqAIBAFrxL73YJaFHSV6KP0VQtloRGBdPekz xmYSRQRBJG6IlHALVEOn0GXBdl19AtYXGYyytRaqZb38dzAVwDYHZZnedhNSjczKqMtKIdnQNb /tB/e9wMsaowaZAAAAA== To: "Liam R. Howlett" Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jann Horn X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1728337670; l=1106; i=jannh@google.com; s=20240730; h=from:subject:message-id; bh=sHaP8gyR0rr7Ip/nUMYIRG8J8W7aXzQPM1mm57KAkYI=; b=MpX4G9zNkSR1p/lJKwqYFyj/FIS3i0E7M/RCPID4+WNzadZyecSH37beYlx4DgU+tBpq+4KEb pW7h5lsjPC0BJcgx+4EgQ6beVcgTehUtGFrLdelA5lakauDNg6iWxwp X-Developer-Key: i=jannh@google.com; a=ed25519; pk=AljNtGOzXeF6khBXDJVVvwSEkVDGnnZZYqfWhP1V+C8= X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 4985E10000A X-Stat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iUcnw/AM7I+AUAg68B0peI9WeW7qcSMMF0yopuw+7EJULOerSTqpj86up6w3OJHXcVKifIx3OGjyr3nkeCeHv6ezB8MQ1xCRNRysNIpC32e8boERSorQmLuVhr2t24a+scSU/UFL4yAKVNlk2+cj/lte/+6NfyMhTvlHSSrqEewvmGc1EqJ7jS8hYHFV8VebtBntjoNfuQ107HZHHuRt5coFQrkpaAercNI9bdgqJjRPzuKeK1K1fufAxjzu1sYmTYndWf/gkiB6yV9X0ydS7G0QZ0lvGVI3Fx3hZTdjfL+dr06MmjEowsfIRmSHGDZ4LmdgTSqwE/Q4NsDmh0sc2yhzH2x84u79YnQ/IsNsWXVQrTM5OVtGw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000121, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: MAPLE_USE_RCU was renamed to MT_FLAGS_USE_RCU at some point, fix up the comment. Signed-off-by: Jann Horn Reviewed-by: Liam R. Howlett Reviewed-by: Wei Yang --- include/linux/maple_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- base-commit: 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b change-id: 20241007-maple-tree-doc-fix-db016fe321ce diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index c2c11004085e..61c236850ca8 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -224,7 +224,7 @@ typedef struct { /* nothing */ } lockdep_map_p; * (set at tree creation time) and dynamic information set under the spinlock. * * Another use of flags are to indicate global states of the tree. This is the - * case with the MAPLE_USE_RCU flag, which indicates the tree is currently in + * case with the MT_FLAGS_USE_RCU flag, which indicates the tree is currently in * RCU mode. This mode was added to allow the tree to reuse nodes instead of * re-allocating and RCU freeing nodes when there is a single user. */