lkml.org 
[lkml]   [2022]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH v8 07/70] Maple Tree: add new data structure
Date
Andrew,

Please add this fix for documentation to the maple tree.

Thanks,
Liam
From c7446bac64d59eb26cbf500cc035d6c50e5260fb Mon Sep 17 00:00:00 2001
From: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Date: Wed, 27 Apr 2022 10:13:52 -0400
Subject: [PATCH 1/2] maple_tree: Fix mas_store_prealloc() documentation

Add gfp flags to the docs

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
---
lib/maple_tree.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 75fd119f8224..c7b7a10b15d5 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -5571,6 +5571,7 @@ void mas_store_prealloc(struct ma_state *mas, void *entry)
* mas_preallocate() - Preallocate enough nodes for a store operation
* @mas: The maple state
* @entry: The entry that will be stored
+ * @gfp: The GFP_FLAGS to use for allocations.
*
* Return: 0 on success, -ENOMEM if memory could not be allocated.
*/
--
2.35.1
\
 
 \ /
  Last update: 2022-04-27 17:47    [W:0.532 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site