diff options
| author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-01-15 09:00:48 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-01-16 01:53:08 +0300 |
| commit | 8e8aa1454205839030c9406febd1f6d4ece0d573 (patch) | |
| tree | a9ecac621547e727ef929dabd1b08490b97e8947 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 3352976c892301fd576a2e9ff0ac7337b2e2ca48 (diff) | |
| download | linux-8e8aa1454205839030c9406febd1f6d4ece0d573.tar.xz | |
RDMA/mlx5: 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.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
