All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: rusty@rustcorp.com.au
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	sfr@canb.auug.org.au, lguest@ozlabs.org
Subject: linux-next: Tree for November 12 - lguest build failure
Date: Wed, 12 Nov 2008 14:41:02 +0530	[thread overview]
Message-ID: <20081112091102.GA8063@linux.vnet.ibm.com> (raw)
In-Reply-To: <20081112182818.6e259488.sfr@canb.auug.org.au>

Hi Rusty,

 lguest build fails with next-20081112 kernel,

drivers/lguest/lguest_device.c: In function ‘lg_find_vq’:
drivers/lguest/lguest_device.c:252: error: too many arguments to function ‘vring_size’
make[2]: *** [drivers/lguest/lguest_device.o] Error 1

removing the extra argument passed to vring_size function.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
--
--- linux-2.6/drivers/lguest/lguest_device.c	2008-09-22 15:32:33.000000000 +0530
+++ linux-2.6/drivers/lguest/~lguest_device.c	2008-11-12 14:16:17.000000000 +0530
@@ -249,8 +249,7 @@ static struct virtqueue *lg_find_vq(stru
 	       (unsigned long)lvq->config.pfn << PAGE_SHIFT);
 	/* Figure out how many pages the ring will take, and map that memory */
 	lvq->pages = lguest_map((unsigned long)lvq->config.pfn << PAGE_SHIFT,
-				DIV_ROUND_UP(vring_size(lvq->config.num,
-							PAGE_SIZE),
+				DIV_ROUND_UP(vring_size(lvq->config.num),
 					     PAGE_SIZE));
 	if (!lvq->pages) {
 		err = -ENOMEM;
-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

  parent reply	other threads:[~2008-11-12  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12  7:28 linux-next: Tree for November 12 Stephen Rothwell
2008-11-12  7:56 ` mac80211.h (was: Re: linux-next: Tree for November 12) Geert Uytterhoeven
2008-11-12 15:05   ` [PATCH] mac80211: add explicit padding in struct ieee80211_tx_info John W. Linville
2008-11-12 17:08     ` Johannes Berg
2008-11-12  9:11 ` Kamalesh Babulal [this message]
2008-11-12 10:40   ` linux-next: Tree for November 12 - lguest build failure Rusty Russell
2008-11-12 12:26     ` [Lguest] " Rusty Russell
2008-11-12 21:01 ` [PATCH linux-next] : Tree for November 12 (libcrc32c) Randy Dunlap
2008-11-13 14:09   ` Herbert Xu
2008-11-12 21:05 ` [PATCH linux-next 3rd time] 9p: restrict RDMA usage Randy Dunlap
2008-11-12 21:10 ` linux-next: Tree for November 12 (ipw2200 build error) Randy Dunlap

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=20081112091102.GA8063@linux.vnet.ibm.com \
    --to=kamalesh@linux.vnet.ibm.com \
    --cc=lguest@ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=sfr@canb.auug.org.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.