aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/sonicvibes.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/sonicvibes.c')
-rw-r--r--sound/pci/sonicvibes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c
index 3d431390c1c0..57c8ff5f5260 100644
--- a/sound/pci/sonicvibes.c
+++ b/sound/pci/sonicvibes.c
@@ -1250,7 +1250,7 @@ static int __devinit snd_sonicvibes_create(snd_card_t * card,
1250 return -ENXIO; 1250 return -ENXIO;
1251 } 1251 }
1252 1252
1253 sonic = kcalloc(1, sizeof(*sonic), GFP_KERNEL); 1253 sonic = kzalloc(sizeof(*sonic), GFP_KERNEL);
1254 if (sonic == NULL) { 1254 if (sonic == NULL) {
1255 pci_disable_device(pci); 1255 pci_disable_device(pci);
1256 return -ENOMEM; 1256 return -ENOMEM;