]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/v_midi.c
fat: Fix _fat_bmap() race
[linux-2.6-omap-h63xx.git] / sound / oss / v_midi.c
index a7ef04fab075b1a7bd7dd7e377d26f1555380f8e..103940fd5b4f46e9e2ae7c8435acf64938679faa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * sound/v_midi.c
+ * sound/oss/v_midi.c
  *
  * The low level driver for the Sound Blaster DS chips.
  *
@@ -183,7 +183,7 @@ static void __init attach_v_midi (struct address_info *hw_config)
                return;
        }
        
-       m=(struct vmidi_memory *)kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL);
+       m = kmalloc(sizeof(struct vmidi_memory), GFP_KERNEL);
        if (m == NULL)
        {
                printk(KERN_WARNING "Loopback MIDI: Failed to allocate memory\n");