* [PATCH] power: trivial comment fixes
@ 2009-07-16 13:42 Wu Fengguang
2009-07-17 1:19 ` Rafael J. Wysocki
0 siblings, 1 reply; 4+ messages in thread
From: Wu Fengguang @ 2009-07-16 13:42 UTC (permalink / raw)
To: Trivial Patch Monkey; +Cc: LKML, Rafael J. Wysocki
CC: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
---
kernel/power/snapshot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux.orig/kernel/power/snapshot.c
+++ linux/kernel/power/snapshot.c
@@ -233,7 +233,7 @@ static void *chain_alloc(struct chain_al
#define BM_END_OF_MAP (~0UL)
-#define BM_BITS_PER_BLOCK (PAGE_SIZE << 3)
+#define BM_BITS_PER_BLOCK (PAGE_SIZE * BITS_PER_BYTE)
struct bm_block {
struct list_head hook; /* hook into a list of bitmap blocks */
@@ -275,7 +275,7 @@ static void memory_bm_free(struct memory
/**
* create_bm_block_list - create a list of block bitmap objects
- * @nr_blocks - number of blocks to allocate
+ * @pages - number of pages to track
* @list - list to put the allocated blocks into
* @ca - chain allocator to be used for allocating memory
*/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] power: trivial comment fixes
2009-07-16 13:42 [PATCH] power: trivial comment fixes Wu Fengguang
@ 2009-07-17 1:19 ` Rafael J. Wysocki
2009-07-22 20:59 ` Randy Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2009-07-17 1:19 UTC (permalink / raw)
To: Wu Fengguang; +Cc: Trivial Patch Monkey, LKML
On Thursday 16 July 2009, Wu Fengguang wrote:
> CC: Rafael J. Wysocki <rjw@sisk.pl>
> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Thanks for the patch, I'll add it to the suspend tree when I'm back home
(probably on Monday).
Best,
Rafael
> ---
> kernel/power/snapshot.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- linux.orig/kernel/power/snapshot.c
> +++ linux/kernel/power/snapshot.c
> @@ -233,7 +233,7 @@ static void *chain_alloc(struct chain_al
>
> #define BM_END_OF_MAP (~0UL)
>
> -#define BM_BITS_PER_BLOCK (PAGE_SIZE << 3)
> +#define BM_BITS_PER_BLOCK (PAGE_SIZE * BITS_PER_BYTE)
>
> struct bm_block {
> struct list_head hook; /* hook into a list of bitmap blocks */
> @@ -275,7 +275,7 @@ static void memory_bm_free(struct memory
>
> /**
> * create_bm_block_list - create a list of block bitmap objects
> - * @nr_blocks - number of blocks to allocate
> + * @pages - number of pages to track
> * @list - list to put the allocated blocks into
> * @ca - chain allocator to be used for allocating memory
> */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] power: trivial comment fixes
2009-07-17 1:19 ` Rafael J. Wysocki
@ 2009-07-22 20:59 ` Randy Dunlap
2009-07-22 21:16 ` Rafael J. Wysocki
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2009-07-22 20:59 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Wu Fengguang, Trivial Patch Monkey, LKML
On Fri, 17 Jul 2009 03:19:02 +0200 Rafael J. Wysocki wrote:
> On Thursday 16 July 2009, Wu Fengguang wrote:
> > CC: Rafael J. Wysocki <rjw@sisk.pl>
> > Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
>
> Thanks for the patch, I'll add it to the suspend tree when I'm back home
> (probably on Monday).
>
> Best,
> Rafael
>
>
> > ---
> > kernel/power/snapshot.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > --- linux.orig/kernel/power/snapshot.c
> > +++ linux/kernel/power/snapshot.c
> > @@ -233,7 +233,7 @@ static void *chain_alloc(struct chain_al
> >
> > #define BM_END_OF_MAP (~0UL)
> >
> > -#define BM_BITS_PER_BLOCK (PAGE_SIZE << 3)
> > +#define BM_BITS_PER_BLOCK (PAGE_SIZE * BITS_PER_BYTE)
> >
> > struct bm_block {
> > struct list_head hook; /* hook into a list of bitmap blocks */
> > @@ -275,7 +275,7 @@ static void memory_bm_free(struct memory
> >
> > /**
> > * create_bm_block_list - create a list of block bitmap objects
> > - * @nr_blocks - number of blocks to allocate
> > + * @pages - number of pages to track
> > * @list - list to put the allocated blocks into
> > * @ca - chain allocator to be used for allocating memory
> > */
BTW:
kernel-doc uses @parameter:
and not @parameter -
---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] power: trivial comment fixes
2009-07-22 20:59 ` Randy Dunlap
@ 2009-07-22 21:16 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2009-07-22 21:16 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Wu Fengguang, Trivial Patch Monkey, LKML
On Wednesday 22 July 2009, Randy Dunlap wrote:
> On Fri, 17 Jul 2009 03:19:02 +0200 Rafael J. Wysocki wrote:
>
> > On Thursday 16 July 2009, Wu Fengguang wrote:
> > > CC: Rafael J. Wysocki <rjw@sisk.pl>
> > > Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
> >
> > Thanks for the patch, I'll add it to the suspend tree when I'm back home
> > (probably on Monday).
> >
> > Best,
> > Rafael
> >
> >
> > > ---
> > > kernel/power/snapshot.c | 4 ++--
> > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > --- linux.orig/kernel/power/snapshot.c
> > > +++ linux/kernel/power/snapshot.c
> > > @@ -233,7 +233,7 @@ static void *chain_alloc(struct chain_al
> > >
> > > #define BM_END_OF_MAP (~0UL)
> > >
> > > -#define BM_BITS_PER_BLOCK (PAGE_SIZE << 3)
> > > +#define BM_BITS_PER_BLOCK (PAGE_SIZE * BITS_PER_BYTE)
> > >
> > > struct bm_block {
> > > struct list_head hook; /* hook into a list of bitmap blocks */
> > > @@ -275,7 +275,7 @@ static void memory_bm_free(struct memory
> > >
> > > /**
> > > * create_bm_block_list - create a list of block bitmap objects
> > > - * @nr_blocks - number of blocks to allocate
> > > + * @pages - number of pages to track
> > > * @list - list to put the allocated blocks into
> > > * @ca - chain allocator to be used for allocating memory
> > > */
>
> BTW:
> kernel-doc uses @parameter:
> and not @parameter -
Yes, kerneldocs in this file generally require fixes. They're somewhere in my
todo list.
Best,
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-22 21:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-16 13:42 [PATCH] power: trivial comment fixes Wu Fengguang
2009-07-17 1:19 ` Rafael J. Wysocki
2009-07-22 20:59 ` Randy Dunlap
2009-07-22 21:16 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox