Tag: ef86f581f7e8b29cb58d7f4e892e1a91b3805124

ALSA: Use kzalloc for allocating only one thing

Author: Julia Lawall <julia@diku.dk> Use kzalloc rather than kcalloc(1,…) The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ @@ – kcalloc(1, + kzalloc( …) // Signed-off-by: Julia Lawall Signed-off-by: Takashi Iwai — sound/isa/msnd/msnd_midi.c | 2 +- sound/pci/hda/patch_realtek.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)   diff –git a/sound/isa/msnd/msnd_midi.c …

Continue reading