Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372027
b: refs/heads/master
c: 47966e9
h: refs/heads/master
i:
  372025: ae4f073
  372023: 3d83a03
v: v3
  • Loading branch information
Takashi Iwai committed Apr 22, 2013
1 parent 9ee6565 commit 29ba70b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c62e9f2b5a97c53aaae490f844949d32cca6dc6
refs/heads/master: 47966e977952856f184c93c4ae5da11e151cb4a3
4 changes: 2 additions & 2 deletions trunk/sound/core/compress_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ snd_compr_get_codec_caps(struct snd_compr_stream *stream, unsigned long arg)
if (!stream->ops->get_codec_caps)
return -ENXIO;

caps = kmalloc(sizeof(*caps), GFP_KERNEL);
caps = kzalloc(sizeof(*caps), GFP_KERNEL);
if (!caps)
return -ENOMEM;

Expand Down Expand Up @@ -545,7 +545,7 @@ snd_compr_get_params(struct snd_compr_stream *stream, unsigned long arg)
if (!stream->ops->get_params)
return -EBADFD;

params = kmalloc(sizeof(*params), GFP_KERNEL);
params = kzalloc(sizeof(*params), GFP_KERNEL);
if (!params)
return -ENOMEM;
retval = stream->ops->get_params(stream, params);
Expand Down

0 comments on commit 29ba70b

Please sign in to comment.