commit | 2553f421f44f4db7579f202b79b69046b579c7b5 | [log] [tgz] |
---|---|---|
author | Saeed Mahameed <saeedm@mellanox.com> | Wed May 27 23:16:02 2020 -0700 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri May 29 21:20:21 2020 -0700 |
tree | f1b57b294e96b5ab2a0b6c2ccdfa3303263dd5f2 | |
parent | 9ff2e92c466dc1aa4d970e5027dfd66b1f32b7bc [diff] |
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: Saeed Mahameed <saeedm@mellanox.com>