diff options
Diffstat (limited to 'sound/pci/nm256/nm256.c')
-rw-r--r-- | sound/pci/nm256/nm256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c index 542b58e4bf44..b44d56c2dd3d 100644 --- a/sound/pci/nm256/nm256.c +++ b/sound/pci/nm256/nm256.c | |||
@@ -1389,7 +1389,7 @@ snd_nm256_create(snd_card_t *card, struct pci_dev *pci, | |||
1389 | if ((err = pci_enable_device(pci)) < 0) | 1389 | if ((err = pci_enable_device(pci)) < 0) |
1390 | return err; | 1390 | return err; |
1391 | 1391 | ||
1392 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1392 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1393 | if (chip == NULL) { | 1393 | if (chip == NULL) { |
1394 | pci_disable_device(pci); | 1394 | pci_disable_device(pci); |
1395 | return -ENOMEM; | 1395 | return -ENOMEM; |