git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Replace with kzalloc() - seq stuff
[pandora-kernel.git]
/
sound
/
core
/
seq
/
oss
/
seq_oss_init.c
diff --git
a/sound/core/seq/oss/seq_oss_init.c
b/sound/core/seq/oss/seq_oss_init.c
index
bac4b4f
..
1ab1cf8
100644
(file)
--- a/
sound/core/seq/oss/seq_oss_init.c
+++ b/
sound/core/seq/oss/seq_oss_init.c
@@
-193,7
+193,7
@@
snd_seq_oss_open(struct file *file, int level)
int i, rc;
seq_oss_devinfo_t *dp;
- if ((dp = k
calloc(1,
sizeof(*dp), GFP_KERNEL)) == NULL) {
+ if ((dp = k
zalloc(
sizeof(*dp), GFP_KERNEL)) == NULL) {
snd_printk(KERN_ERR "can't malloc device info\n");
return -ENOMEM;
}