linux-next: Tree for November 12 - lguest build failure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <rusty@...>
Cc: <linux-next@...>, LKML <linux-kernel@...>, <sfr@...>, <lguest@...>
Date: Wednesday, November 12, 2008 - 5:11 am

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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for November 12, Stephen Rothwell, (Wed Nov 12, 3:28 am)
[PATCH linux-next 3rd time] 9p: restrict RDMA usage, Randy Dunlap, (Wed Nov 12, 5:05 pm)
[PATCH linux-next] : Tree for November 12 (libcrc32c), Randy Dunlap, (Wed Nov 12, 5:01 pm)
linux-next: Tree for November 12 - lguest build failure, Kamalesh Babulal, (Wed Nov 12, 5:11 am)
mac80211.h (was: Re: linux-next: Tree for November 12), Geert Uytterhoeven, (Wed Nov 12, 3:56 am)
[PATCH] mac80211: add explicit padding in struct ieee80211_t..., John W. Linville, (Wed Nov 12, 11:05 am)