* [Git Patch]arch/um/drivers/ubd_kern.c: a warning fix
@ 2007-10-27 3:04 WANG Cong
0 siblings, 0 replies; only message in thread
From: WANG Cong @ 2007-10-27 3:04 UTC (permalink / raw)
To: Jeff Dike; +Cc: LKML, Andrew Morton, user-mode-linux-devel
Fix an incompatible-pointer warning.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
---
arch/um/drivers/ubd_kern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index e184b44..7e6cdde 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -705,7 +705,7 @@ static int ubd_add(int n, char **error_out)
ubd_dev->size = ROUND_BLOCK(ubd_dev->size);
INIT_LIST_HEAD(&ubd_dev->restart);
- sg_init_table(&ubd_dev->sg, MAX_SG);
+ sg_init_table(ubd_dev->sg, MAX_SG);
err = -ENOMEM;
ubd_dev->queue = blk_init_queue(do_ubd_request, &ubd_dev->lock);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-27 3:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-27 3:04 [Git Patch]arch/um/drivers/ubd_kern.c: a warning fix WANG Cong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox