summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jun <lijun01@kylinos.cn>2025-08-19 18:40:38 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-01 11:55:53 +0200
commit98da8a4aecf584af011cdc67d9581deb21088f24 (patch)
treeecbc4b7700308cf6c95971ca62fdf68c2358079c
parent5545d56fd1a9b1a3a0ac6b144afce5819f32a31b (diff)
PM: hibernate: Fix typo in memory bitmaps description comment
Correct 'leave' to 'leaf' in memory bitmaps description comment. Signed-off-by: Li Jun <lijun01@kylinos.cn> Link: https://patch.msgid.link/20250819104038.1596952-1-lijun01@kylinos.cn [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--kernel/power/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 501df0676a61..645f42e40478 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -363,7 +363,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.