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() - others
[safe/jmp/linux-2.6]
/
sound
/
drivers
/
vx
/
vx_pcm.c
diff --git
a/sound/drivers/vx/vx_pcm.c
b/sound/drivers/vx/vx_pcm.c
index
d4becf4
..
c2312d9
100644
(file)
--- a/
sound/drivers/vx/vx_pcm.c
+++ b/
sound/drivers/vx/vx_pcm.c
@@
-473,7
+473,7
@@
static int vx_alloc_pipe(vx_core_t *chip, int capture,
return err;
/* initialize the pipe record */
- pipe = k
calloc(1,
sizeof(*pipe), GFP_KERNEL);
+ pipe = k
zalloc(
sizeof(*pipe), GFP_KERNEL);
if (! pipe) {
/* release the pipe */
vx_init_rmh(&rmh, CMD_FREE_PIPE);