mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernel/power/swap.c: fix typos in comments
@ 2010-05-27  0:49 Cesar Eduardo Barros
  2010-05-27  4:45 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Cesar Eduardo Barros @ 2010-05-27  0:49 UTC (permalink / raw)
  To: linux-pm
  Cc: linux-kernel, Pavel Machek, Rafael J. Wysocki, trivial,
	Cesar Eduardo Barros

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
---
 kernel/power/swap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index 66824d7..5846a02 100644
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
@@ -114,7 +114,7 @@ sector_t alloc_swapdev_block(int swap)
 
 /**
  *	free_all_swap_pages - free swap pages allocated for saving image data.
- *	It also frees the extents used to register which swap entres had been
+ *	It also frees the extents used to register which swap entries had been
  *	allocated.
  */
 
@@ -315,7 +315,7 @@ static int write_page(void *buf, sector_t offset, struct bio **bio_chain)
 /*
  *	The swap map is a data structure used for keeping track of each page
  *	written to a swap partition.  It consists of many swap_map_page
- *	structures that contain each an array of MAP_PAGE_SIZE swap entries.
+ *	structures that contain each an array of MAP_PAGE_ENTRIES swap entries.
  *	These structures are stored on the swap and linked together with the
  *	help of the .next_swap member.
  *
-- 
1.6.6.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-05 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-27  0:49 [PATCH] kernel/power/swap.c: fix typos in comments Cesar Eduardo Barros
2010-05-27  4:45 ` Pavel Machek
2010-06-04 14:06   ` Jiri Kosina
2010-06-04 22:07     ` Rafael J. Wysocki
2010-06-05 15:39       ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®