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
/
seq_memory.c
diff --git
a/sound/core/seq/seq_memory.c
b/sound/core/seq/seq_memory.c
index
03acb2d
..
d4d7d32
100644
(file)
--- a/
sound/core/seq/seq_memory.c
+++ b/
sound/core/seq/seq_memory.c
@@
-452,7
+452,7
@@
pool_t *snd_seq_pool_new(int poolsize)
pool_t *pool;
/* create pool block */
- pool = k
calloc(1,
sizeof(*pool), GFP_KERNEL);
+ pool = k
zalloc(
sizeof(*pool), GFP_KERNEL);
if (pool == NULL) {
snd_printd("seq: malloc failed for pool\n");
return NULL;