git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Replace with kzalloc() - pci stuff
[safe/jmp/linux-2.6]
/
sound
/
pci
/
ens1370.c
diff --git
a/sound/pci/ens1370.c
b/sound/pci/ens1370.c
index
e2c3a37
..
a38f710
100644
(file)
--- a/
sound/pci/ens1370.c
+++ b/
sound/pci/ens1370.c
@@
-1943,7
+1943,7
@@
static int __devinit snd_ensoniq_create(snd_card_t * card,
*rensoniq = NULL;
if ((err = pci_enable_device(pci)) < 0)
return err;
- ensoniq = k
calloc(1,
sizeof(*ensoniq), GFP_KERNEL);
+ ensoniq = k
zalloc(
sizeof(*ensoniq), GFP_KERNEL);
if (ensoniq == NULL) {
pci_disable_device(pci);
return -ENOMEM;