mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Cesar Eduardo Barros <cesarb@cesarb.net>
Cc: linux-pm@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
	trivial@kernel.org
Subject: Re: [PATCH] kernel/power/swap.c: fix typos in comments
Date: Thu, 27 May 2010 06:45:12 +0200	[thread overview]
Message-ID: <20100527044511.GA19625@elf.ucw.cz> (raw)
In-Reply-To: <1274921340-4894-1-git-send-email-cesarb@cesarb.net>

On Wed 2010-05-26 21:49:00, Cesar Eduardo Barros wrote:
> Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>

ACK.

> ---
>  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.
>   *

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2010-05-27  4:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27  0:49 Cesar Eduardo Barros
2010-05-27  4:45 ` Pavel Machek [this message]
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=20100527044511.GA19625@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=cesarb@cesarb.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --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®