diff options
author | 2024-02-06 08:10:00 +0530 | |
---|---|---|
committer | 2024-02-08 12:03:02 +0100 | |
commit | db010ff6700f24f96e91ed56ca29cb69335008ef (patch) | |
tree | 8b7da4e69a3ef697813e4d5987dae293f341347b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'cpsw-enable-mac_managed_pm-to-fix-mdio' (diff) | |
download | wireguard-linux-db010ff6700f24f96e91ed56ca29cb69335008ef.tar.xz wireguard-linux-db010ff6700f24f96e91ed56ca29cb69335008ef.zip |
octeontx2-af: Initialize maps.
kmalloc_array() without __GFP_ZERO flag does not initialize
memory to zero. This causes issues. Use kcalloc() for maps and
bitmap_zalloc() for bitmaps.
Fixes: dd7842878633 ("octeontx2-af: Add new devlink param to configure maximum usable NIX block LFs")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Reviewed-by: Brett Creeley <bcreeley@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240206024000.1070260-1-rkannoth@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions