From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754006AbZGVVQ2 (ORCPT ); Wed, 22 Jul 2009 17:16:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753464AbZGVVQ1 (ORCPT ); Wed, 22 Jul 2009 17:16:27 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:40644 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752486AbZGVVQ1 (ORCPT ); Wed, 22 Jul 2009 17:16:27 -0400 From: "Rafael J. Wysocki" To: Randy Dunlap Subject: Re: [PATCH] power: trivial comment fixes Date: Wed, 22 Jul 2009 23:16:40 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.31-rc3-rjw; KDE/4.2.4; x86_64; ; ) Cc: Wu Fengguang , Trivial Patch Monkey , LKML References: <20090716134257.GA22163@localhost> <200907170319.02997.rjw@sisk.pl> <20090722135930.756e2ada.randy.dunlap@oracle.com> In-Reply-To: <20090722135930.756e2ada.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907222316.41026.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > > Signed-off-by: Wu Fengguang > > > > 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