diff options
| author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-12-30 11:18:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-01-06 03:01:02 +0300 |
| commit | 8407b23199b073249fd2056ec18d7cbb74a47534 (patch) | |
| tree | af693e0a17426c0b3d4703acb9e3228ca84bbcc8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | db471ed90f0fb5897c1c18c50905c3cf9e968672 (diff) | |
| download | linux-8407b23199b073249fd2056ec18d7cbb74a47534.tar.xz | |
net/mlxfw: Use kzalloc for allocating only one thing
Use kzalloc rather than kcalloc(1,...)
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
@@
- kcalloc(1,
+ kzalloc(
...)
// </smpl>
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
