diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2022-03-12 11:27:02 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-03-13 09:09:37 +0100 |
commit | 3baa40d4fd7ff6553325715b8a64cc8b43fd02ef (patch) | |
tree | 86af1fbc47dd8b00c3fbb4255c38678dcb4d7b55 /Kconfig | |
parent | 327e8ba54a212f707a68670c9372747b7a32bb92 (diff) |
ALSA: seq: oss: use kzalloc
Use kzalloc instead of kmalloc + memset.
The semantic patch that makes this change is:
(https://coccinelle.gitlabpages.inria.fr/website/)
//<smpl>
@@
expression res, size, flag;
@@
- res = kmalloc(size, flag);
+ res = kzalloc(size, flag);
...
- memset(res, 0, size);
//</smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220312102705.71413-4-Julia.Lawall@inria.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions