projects
/
firefly-linux-kernel-4.4.55.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
[firefly-linux-kernel-4.4.55.git]
/
sound
/
core
/
seq
/
seq_timer.c
diff --git
a/sound/core/seq/seq_timer.c
b/sound/core/seq/seq_timer.c
index a7f76fc9528092bc38985337409f97dd81451270..b57a3c07ff6f6c0eb1c161f8d7ed2efed1e363a6 100644
(file)
--- a/
sound/core/seq/seq_timer.c
+++ b/
sound/core/seq/seq_timer.c
@@
-60,7
+60,7
@@
seq_timer_t *snd_seq_timer_new(void)
{
seq_timer_t *tmr;
- tmr = k
calloc(1,
sizeof(*tmr), GFP_KERNEL);
+ tmr = k
zalloc(
sizeof(*tmr), GFP_KERNEL);
if (tmr == NULL) {
snd_printd("malloc failed for snd_seq_timer_new() \n");
return NULL;