Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[pandora-kernel.git] / arch / um / drivers / ubd_kern.c
index 0eabe73..25b248a 100644 (file)
@@ -615,7 +615,7 @@ static int ubd_open_dev(struct ubd *ubd_dev)
                blk_queue_max_sectors(ubd_dev->queue, 8 * sizeof(long));
 
                err = -ENOMEM;
-               ubd_dev->cow.bitmap = (void *) vmalloc(ubd_dev->cow.bitmap_len);
+               ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len);
                if(ubd_dev->cow.bitmap == NULL){
                        printk(KERN_ERR "Failed to vmalloc COW bitmap\n");
                        goto error;