diff options
author | 2022-03-12 11:27:02 +0100 | |
---|---|---|
committer | 2022-03-13 09:09:37 +0100 | |
commit | 3baa40d4fd7ff6553325715b8a64cc8b43fd02ef (patch) | |
tree | 86af1fbc47dd8b00c3fbb4255c38678dcb4d7b55 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: hda/i915 - avoid hung task timeout in i915 wait (diff) | |
download | linux-dev-3baa40d4fd7ff6553325715b8a64cc8b43fd02ef.tar.xz linux-dev-3baa40d4fd7ff6553325715b8a64cc8b43fd02ef.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions