]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
PM: hibernate: Fix typo in memory bitmaps description comment
authorLi Jun <lijun01@kylinos.cn>
Tue, 19 Aug 2025 10:40:38 +0000 (18:40 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2025 09:55:53 +0000 (11:55 +0200)
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>
kernel/power/snapshot.c

index 501df0676a611abe06b45aeef6574a38f93dec84..645f42e404789286ffa751f083e97e52a4e4cf7e 100644 (file)
@@ -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.