summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2022-04-20 17:20:07 +0300
committerJakub Kicinski <kuba@kernel.org>2022-04-22 15:40:23 -0700
commit869376d0859acf40c83b2c3942ad9d5a8b5d31e4 (patch)
tree605423397b1cd3a9a0c5979274f2023a9e2b283d /tools/perf/scripts/python/export-to-postgresql.py
parent5e7260712b9a76de19c32f15d667f8f93e573978 (diff)
mlxsw: core_linecards: Fix size of array element during ini_files allocation
types_info->ini_files is an array of pointers to struct mlxsw_linecard_ini_file. Fix the kmalloc_array() argument to be of a size of a pointer. Addresses-Coverity: ("Incorrect expression (SIZEOF_MISMATCH)") Fixes: b217127e5e4e ("mlxsw: core_linecards: Add line card objects and implement provisioning") Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Link: https://lore.kernel.org/r/20220420142007.3041173-1-idosch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions