diff options
Diffstat (limited to 'sound/pci/mixart/mixart.c')
-rw-r--r-- | sound/pci/mixart/mixart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index 6c868d913634..2636d507bdfb 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -1004,7 +1004,7 @@ static int __devinit snd_mixart_create(mixart_mgr_t *mgr, snd_card_t *card, int | |||
1004 | .dev_free = snd_mixart_chip_dev_free, | 1004 | .dev_free = snd_mixart_chip_dev_free, |
1005 | }; | 1005 | }; |
1006 | 1006 | ||
1007 | mgr->chip[idx] = chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1007 | mgr->chip[idx] = chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1008 | if (! chip) { | 1008 | if (! chip) { |
1009 | snd_printk(KERN_ERR "cannot allocate chip\n"); | 1009 | snd_printk(KERN_ERR "cannot allocate chip\n"); |
1010 | return -ENOMEM; | 1010 | return -ENOMEM; |
@@ -1292,7 +1292,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci, | |||
1292 | 1292 | ||
1293 | /* | 1293 | /* |
1294 | */ | 1294 | */ |
1295 | mgr = kcalloc(1, sizeof(*mgr), GFP_KERNEL); | 1295 | mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); |
1296 | if (! mgr) { | 1296 | if (! mgr) { |
1297 | pci_disable_device(pci); | 1297 | pci_disable_device(pci); |
1298 | return -ENOMEM; | 1298 | return -ENOMEM; |