Code Review
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[ALSA] Replace with kzalloc() - isa stuff
[linux-3.10.git]
/
sound
/
isa
/
sb
/
emu8000.c
diff --git
a/sound/isa/sb/emu8000.c
b/sound/isa/sb/emu8000.c
index 028af4066595f30759eaf4bfb033730a5c572088..5375705c054bbaceece95c7cd7a9797136a688e6 100644
(file)
--- a/
sound/isa/sb/emu8000.c
+++ b/
sound/isa/sb/emu8000.c
@@
-1097,7
+1097,7
@@
snd_emu8000_new(snd_card_t *card, int index, long port, int seq_ports, snd_seq_d
if (seq_ports <= 0)
return 0;
- hw = k
calloc(1,
sizeof(*hw), GFP_KERNEL);
+ hw = k
zalloc(
sizeof(*hw), GFP_KERNEL);
if (hw == NULL)
return -ENOMEM;
spin_lock_init(&hw->reg_lock);