linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [Git Patch] arch/um/drivers/ubd_kern.c: fix a building error
       [not found] <alpine.LFD.0.999.0710232057080.30120@woody.linux-foundation.org>
@ 2007-10-24  8:10 ` WANG Cong
  2007-10-24 11:03   ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: WANG Cong @ 2007-10-24  8:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrew Morton, jdike, Linux Kernel Mailing List,
	user-mode-linux-devel


Fix this uml building error:
arch/um/drivers/ubd_kern.c: In function 'do_ubd_request':
arch/um/drivers/ubd_kern.c:1118: error: implicit declaration of function 'sg_page'
arch/um/drivers/ubd_kern.c:1118: warning: passing argument 6 of 'prepare_request' makes pointer from integer without a cast
make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1
make: *** [arch/um/drivers] Error 2

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---
 arch/um/drivers/ubd_kern.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 3a8cd3d..440ed25 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -35,6 +35,7 @@
 #include "linux/genhd.h"
 #include "linux/spinlock.h"
 #include "linux/platform_device.h"
+#include "linux/scatterlist.h"
 #include "asm/segment.h"
 #include "asm/uaccess.h"
 #include "asm/irq.h"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] [Git Patch] arch/um/drivers/ubd_kern.c: fix a building error
  2007-10-24  8:10 ` [uml-devel] [Git Patch] arch/um/drivers/ubd_kern.c: fix a building error WANG Cong
@ 2007-10-24 11:03   ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2007-10-24 11:03 UTC (permalink / raw)
  To: WANG Cong
  Cc: Andrew Morton, jdike, Linus Torvalds, Linux Kernel Mailing List,
	user-mode-linux-devel

On Wed, Oct 24 2007, WANG Cong wrote:
> 
> Fix this uml building error:
> arch/um/drivers/ubd_kern.c: In function 'do_ubd_request':
> arch/um/drivers/ubd_kern.c:1118: error: implicit declaration of function 'sg_page'
> arch/um/drivers/ubd_kern.c:1118: warning: passing argument 6 of 'prepare_request' makes pointer from integer without a cast
> make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1
> make: *** [arch/um/drivers] Error 2
> 
> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks, applied!

-- 
Jens Axboe


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2007-10-24 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alpine.LFD.0.999.0710232057080.30120@woody.linux-foundation.org>
2007-10-24  8:10 ` [uml-devel] [Git Patch] arch/um/drivers/ubd_kern.c: fix a building error WANG Cong
2007-10-24 11:03   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox