diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-01-14 22:34:08 -0600 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-05-08 12:15:12 -0400 |
commit | 8623b00676f16ed8972008095deca2c8e2b97a37 (patch) | |
tree | f48d4163b2783a910e984829aa6e42c752efa1be /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cbe08bcbbe787315c425dde284dcb715cfbf3f39 (diff) |
tracing: Replace kzalloc with kcalloc
Replace kzalloc() function with its 2-factor argument form, kcalloc().
This patch replaces cases of:
kzalloc(a * b, gfp)
with:
kcalloc(a, b, gfp)
This code was detected with the help of Coccinelle.
Link: http://lkml.kernel.org/r/20190115043408.GA23456@embeddedor
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions