commit | c73c8b1e47ca275388f774fd36560ab7e994e99e | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Mon Aug 28 16:38:20 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 29 14:58:32 2017 -0700 |
tree | 4ba92665eef8e853354dc36a09a96e49fe40cd67 | |
parent | b74fd306ef2d48781e807dd506cca818bb83d749 [diff] |
net/mlx4_core: Dynamically allocate structs at mlx4_slave_cap In order to avoid temporary large structs on the stack, allocate them dynamically. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Tal Alon <talal@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>