Skip to content
Commit 2553f421 authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

net/mlx5: cmd: Fix memset with byte count warning



Fix sparse warning:
drivers/net/ethernet/mellanox/mlx5/core/cmd.c:1949:15:
warning: memset with byte count of 271720

mlx5_cmd_stats array is too big to be held inline in mlx5_cmd.
Allocate it separately.

Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 9ff2e92c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment