diff options
| author | Kenneth Lee <[email protected]> | 2022-08-08 15:00:19 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:25:48 -0700 |
| commit | b2d4c646d5a15c1854e09898a374983167e53e0e (patch) | |
| tree | 73b0d3afa4a35a15a237c023a55ec04b01541c54 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 223ce4910bac6434060c018ba247b6b40a399b49 (diff) | |
mm/damon/dbgfs: use kmalloc for allocating only one element
Use kmalloc(...) rather than kmalloc_array(1, ...) because the number of
elements we are specifying in this case is 1, kmalloc would accomplish the
same thing and we can simplify.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kenneth Lee <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions