Skip to content

Commit 9013367

Browse files
cesarbrjwysocki
authored andcommitted
PM / Hibernate: Fix typos in comments in kernel/power/swap.c
There are a few typos in kernel/power/swap.c. Fix them. Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
1 parent a9f7f2e commit 9013367

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎kernel/power/swap.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/*
3333
* The swap map is a data structure used for keeping track of each page
3434
* written to a swap partition. It consists of many swap_map_page
35-
* structures that contain each an array of MAP_PAGE_SIZE swap entries.
35+
* structures that contain each an array of MAP_PAGE_ENTRIES swap entries.
3636
* These structures are stored on the swap and linked together with the
3737
* help of the .next_swap member.
3838
*
@@ -148,7 +148,7 @@ sector_t alloc_swapdev_block(int swap)
148148

149149
/**
150150
* free_all_swap_pages - free swap pages allocated for saving image data.
151-
* It also frees the extents used to register which swap entres had been
151+
* It also frees the extents used to register which swap entries had been
152152
* allocated.
153153
*/
154154

0 commit comments

Comments
 (0)