git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
core
/
seq
/
seq_fifo.c
diff --git
a/sound/core/seq/seq_fifo.c
b/sound/core/seq/seq_fifo.c
index
68da258
..
3b7647c
100644
(file)
--- a/
sound/core/seq/seq_fifo.c
+++ b/
sound/core/seq/seq_fifo.c
@@
-33,7
+33,7
@@
fifo_t *snd_seq_fifo_new(int poolsize)
{
fifo_t *f;
- f =
snd_kcalloc(sizeof(fifo_t
), GFP_KERNEL);
+ f =
kcalloc(1, sizeof(*f
), GFP_KERNEL);
if (f == NULL) {
snd_printd("malloc failed for snd_seq_fifo_new() \n");
return NULL;