Ratheesh Kannoth db010ff670 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>
2024-02-08 12:03:02 +01:00
..
2024-01-19 08:08:53 -06:00
2024-02-08 12:03:02 +01:00
2024-01-24 18:03:53 -08:00
2024-02-06 18:45:52 -08:00
2024-01-18 11:43:55 -08:00
2024-01-11 16:55:17 -08:00
2024-01-05 19:07:18 -08:00