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

* Re: [PATCH] kernel/power/swap.c: fix typos in comments
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2010-05-27  4:45 UTC (permalink / raw)
  To: Cesar Eduardo Barros; +Cc: linux-pm, linux-kernel, Rafael J. Wysocki, trivial

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

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

* Re: [PATCH] kernel/power/swap.c: fix typos in comments
  2010-05-27  4:45 ` Pavel Machek
@ 2010-06-04 14:06   ` Jiri Kosina
  2010-06-04 22:07     ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2010-06-04 14:06 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Cesar Eduardo Barros, linux-pm, linux-kernel, Rafael J. Wysocki

On Thu, 27 May 2010, Pavel Machek wrote:

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

Doesn't seem to be present in linux-next as of today, so I have queued it 
in my tree.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

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

* Re: [PATCH] kernel/power/swap.c: fix typos in comments
  2010-06-04 14:06   ` Jiri Kosina
@ 2010-06-04 22:07     ` Rafael J. Wysocki
  2010-06-05 15:39       ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2010-06-04 22:07 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Pavel Machek, Cesar Eduardo Barros, linux-pm, linux-kernel

On Friday 04 June 2010, Jiri Kosina wrote:
> On Thu, 27 May 2010, Pavel Machek wrote:
> 
> > On Wed 2010-05-26 21:49:00, Cesar Eduardo Barros wrote:
> > > Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
> > 
> > ACK.
> 
> Doesn't seem to be present in linux-next as of today, so I have queued it 
> in my tree.

I'm going to take it, but I guess you'll notice?

Rafael

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

* Re: [PATCH] kernel/power/swap.c: fix typos in comments
  2010-06-04 22:07     ` Rafael J. Wysocki
@ 2010-06-05 15:39       ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2010-06-05 15:39 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Pavel Machek, Cesar Eduardo Barros, linux-pm, linux-kernel

On Sat, 5 Jun 2010, Rafael J. Wysocki wrote:

> > > > Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
> > > 
> > > ACK.
> > 
> > Doesn't seem to be present in linux-next as of today, so I have queued it 
> > in my tree.
> 
> I'm going to take it, but I guess you'll notice?

No problem, dropped from my tree now.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ 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®