upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / sound / drivers / vx / vx_core.c
index a4d7253..e7c8314 100644 (file)
@@ -734,7 +734,7 @@ vx_core_t *snd_vx_create(snd_card_t *card, struct snd_vx_hardware *hw,
 
        snd_assert(card && hw && ops, return NULL);
 
-       chip = kcalloc(1, sizeof(chip) + extra_size, GFP_KERNEL);
+       chip = kcalloc(1, sizeof(*chip) + extra_size, GFP_KERNEL);
        if (! chip) {
                snd_printk(KERN_ERR "vx_core: no memory\n");
                return NULL;