* [PATCH] power: snapshot: fix: correct 'leave' to 'leaf' in memory bitmap docs
@ 2025-08-19 10:40 Li Jun
2025-08-25 18:55 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Li Jun @ 2025-08-19 10:40 UTC (permalink / raw)
To: rafael, linux-pm, lijun01
These changes just fix spell error, no functional
improve.
-The term "leaf nodes" is the correct spelling.
Signed-off-by: Li Jun <lijun01@kylinos.cn>
---
kernel/power/snapshot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 9b11c74592e9..6a216f3f7d8e 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -374,7 +374,7 @@ static void *chain_alloc(struct chain_allocator *ca, unsigned int size)
*
* One radix tree is represented by one struct mem_zone_bm_rtree. There are
* two linked lists for the nodes of the tree, one for the inner nodes and
- * one for the leave nodes. The linked leave nodes are used for fast linear
+ * one for the leaf nodes. The linked leaf nodes are used for fast linear
* access of the memory bitmap.
*
* The struct rtree_node represents one node of the radix tree.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: snapshot: fix: correct 'leave' to 'leaf' in memory bitmap docs
2025-08-19 10:40 [PATCH] power: snapshot: fix: correct 'leave' to 'leaf' in memory bitmap docs Li Jun
@ 2025-08-25 18:55 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-08-25 18:55 UTC (permalink / raw)
To: Li Jun; +Cc: rafael, linux-pm
On Tue, Aug 19, 2025 at 12:40 PM Li Jun <lijun01@kylinos.cn> wrote:
>
> These changes just fix spell error, no functional
> improve.
>
> -The term "leaf nodes" is the correct spelling.
>
> Signed-off-by: Li Jun <lijun01@kylinos.cn>
> ---
> kernel/power/snapshot.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
> index 9b11c74592e9..6a216f3f7d8e 100644
> --- a/kernel/power/snapshot.c
> +++ b/kernel/power/snapshot.c
> @@ -374,7 +374,7 @@ static void *chain_alloc(struct chain_allocator *ca, unsigned int size)
> *
> * One radix tree is represented by one struct mem_zone_bm_rtree. There are
> * two linked lists for the nodes of the tree, one for the inner nodes and
> - * one for the leave nodes. The linked leave nodes are used for fast linear
> + * one for the leaf nodes. The linked leaf nodes are used for fast linear
> * access of the memory bitmap.
> *
> * The struct rtree_node represents one node of the radix tree.
> --
Applied as 6.18 material with edited subject and changelog, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-25 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 10:40 [PATCH] power: snapshot: fix: correct 'leave' to 'leaf' in memory bitmap docs Li Jun
2025-08-25 18:55 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).