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
/
oss
/
seq_oss_writeq.c
diff --git
a/sound/core/seq/oss/seq_oss_writeq.c
b/sound/core/seq/oss/seq_oss_writeq.c
index
9f8a543
..
1382038
100644
(file)
--- a/
sound/core/seq/oss/seq_oss_writeq.c
+++ b/
sound/core/seq/oss/seq_oss_writeq.c
@@
-37,7
+37,7
@@
snd_seq_oss_writeq_new(seq_oss_devinfo_t *dp, int maxlen)
seq_oss_writeq_t *q;
snd_seq_client_pool_t pool;
- if ((q =
snd_kcalloc(
sizeof(*q), GFP_KERNEL)) == NULL)
+ if ((q =
kcalloc(1,
sizeof(*q), GFP_KERNEL)) == NULL)
return NULL;
q->dp = dp;
q->maxlen = maxlen;