summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2022-03-12 13:27:01 +0300
committerJakub Kicinski <kuba@kernel.org>2022-03-14 23:15:28 +0300
commit3c2dfb735b4a9239e2b8170e88aaddbf987d9798 (patch)
treebc9740a6b98cca9c0bfaa364d6e6a83a17a1d91e /tools/perf/scripts/python/export-to-sqlite.py
parentfc93db153b0187a9047f00bfd5cce75108530593 (diff)
downloadlinux-3c2dfb735b4a9239e2b8170e88aaddbf987d9798.tar.xz
net/mlx4_en: use kzalloc
Use kzalloc instead of kmalloc + memset. The semantic patch that makes this change is: (https://coccinelle.gitlabpages.inria.fr/website/) //<smpl> @@ expression res, size, flag; @@ - res = kmalloc(size, flag); + res = kzalloc(size, flag); ... - memset(res, 0, size); //</smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://lore.kernel.org/r/20220312102705.71413-3-Julia.Lawall@inria.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions