aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-09-28 17:11:57 -0500
committerSaeed Mahameed <saeedm@nvidia.com>2021-09-30 16:19:02 -0700
commitab9ace34158f48e65024e21994ed83d065e2ce6e (patch)
tree34991274a8a75c41edb4b943ce3896a793ed7d68 /tools/perf/scripts/python/export-to-postgresql.py
parentnet/mlx5: Use kvcalloc() instead of kvzalloc() (diff)
downloadlinux-dev-ab9ace34158f48e65024e21994ed83d065e2ce6e.tar.xz
linux-dev-ab9ace34158f48e65024e21994ed83d065e2ce6e.zip
net/mlx5: Use struct_size() helper in kvzalloc()
Make use of the struct_size() helper instead of an open-coded version, in order to avoid any potential type mistakes or integer overflows that, in the worse scenario, could lead to heap overflows. Link: https://github.com/KSPP/linux/issues/160 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions