Skip to contentSkip to conversation

PM / hibernate: fix typo "reserverd_size" -> "reserved_size"

PATCH Applied Alexandre Belloni 2 participants 2 messages Feb 14, 2020 – Feb 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PM / hibernate: fix typo "reserverd_size" -> "reserved_size"

Fix a mistake in a variable name in a comment.

---
 kernel/power/snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/power/snapshot.c +1 -1
index ddade80ad276..d82b7b88d616 100644
@@ -1681,7 +1681,7 @@ static unsigned long minimum_image_size(unsigned long saveable)
  * hibernation for allocations made while saving the image and for device
  * drivers, in case they need to allocate memory from their hibernation
  * callbacks (these two numbers are given by PAGES_FOR_IO (which is a rough
- * estimate) and reserverd_size divided by PAGE_SIZE (which is tunable through
+ * estimate) and reserved_size divided by PAGE_SIZE (which is tunable through
  * /sys/power/reserved_size, respectively).  To make this happen, we compute the
  * total number of available page frames and allocate at least
  *
Signature · 1 line
2.24.1
maintainer Applied
#1 lore raw
Quoted 13 lines · Alexandre Belloni

Fix a mistake in a variable name in a comment.

---
 kernel/power/snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/power/snapshot.c +0 -0
index ddade80ad276..d82b7b88d616 100644

kernel/power/snapshot.c static unsigned long minimum_image_size(unsigned long saveable)

Quoted 9 lines
kernel/power/snapshot.c +1 -2
@@ -1681,7 +1681,7 @@ static unsigned long minimum_image_size(unsigned long saveable)
  * hibernation for allocations made while saving the image and for device
  * drivers, in case they need to allocate memory from their hibernation
  * callbacks (these two numbers are given by PAGES_FOR_IO (which is a rough
- * estimate) and reserverd_size divided by PAGE_SIZE (which is tunable through
+ * estimate) and reserved_size divided by PAGE_SIZE (which is tunable through
  * /sys/power/reserved_size, respectively).  To make this happen, we compute the
  * total number of available page frames and allocate at least
  *
--

Applied as 5.6 material, thanks!