From: Cesar Eduardo Barros <cesarb@cesarb.net>
To: linux-pm@lists.linux-foundation.org
Cc: linux-kernel@vger.kernel.org, Pavel Machek <pavel@ucw.cz>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
trivial@kernel.org, Cesar Eduardo Barros <cesarb@cesarb.net>
Subject: [PATCH] kernel/power/swap.c: fix typos in comments
Date: Wed, 26 May 2010 21:49:00 -0300 [thread overview]
Message-ID: <1274921340-4894-1-git-send-email-cesarb@cesarb.net> (raw)
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
next reply other threads:[~2010-05-27 0:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 0:49 Cesar Eduardo Barros [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1274921340-4894-1-git-send-email-cesarb@cesarb.net \
--to=cesarb@cesarb.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®