diff options
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r-- | sound/pci/cmipci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c index 97ad90d47bc2..583b2713d862 100644 --- a/sound/pci/cmipci.c +++ b/sound/pci/cmipci.c | |||
@@ -2775,7 +2775,7 @@ static int __devinit snd_cmipci_create(snd_card_t *card, struct pci_dev *pci, | |||
2775 | if ((err = pci_enable_device(pci)) < 0) | 2775 | if ((err = pci_enable_device(pci)) < 0) |
2776 | return err; | 2776 | return err; |
2777 | 2777 | ||
2778 | cm = kcalloc(1, sizeof(*cm), GFP_KERNEL); | 2778 | cm = kzalloc(sizeof(*cm), GFP_KERNEL); |
2779 | if (cm == NULL) { | 2779 | if (cm == NULL) { |
2780 | pci_disable_device(pci); | 2780 | pci_disable_device(pci); |
2781 | return -ENOMEM; | 2781 | return -ENOMEM; |