diff options
| author | Huang Zijiang <[email protected]> | 2020-02-12 17:54:07 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-02-14 09:16:03 -0800 |
| commit | 06e33595e96f212811066df192ae8bf802174296 (patch) | |
| tree | a1c0a7ebc534dc4597dbd73f45266fe1ffb22e4d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1031eb90c17700d1fd1df6d720afbadcd5768b11 (diff) | |
misc: Use kzalloc() instead of kmalloc() with flag GFP_ZERO.
Use kzalloc instead of manually setting kmalloc
with flag GFP_ZERO since kzalloc sets allocated memory
to zero.
Signed-off-by: Huang Zijiang <[email protected]>
Signed-off-by: Yi Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions