summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-07-23 14:02:26 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-23 22:39:43 +0200
commit658688ce6c936254c34ea1f31549ec62439574aa (patch)
treeed3156da79609e9054bc52ae4acec6e94b8f65c4 /include/net
parentnet: jme: Use dev_get_drvdata (diff)
downloadlinux-658688ce6c936254c34ea1f31549ec62439574aa.tar.xz
linux-658688ce6c936254c34ea1f31549ec62439574aa.zip
net/mlx5e: xsk: dynamically allocate mlx5e_channel_param
The structure is too large to put on the stack, resulting in a warning on 32-bit ARM: drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c:59:5: error: stack frame size of 1344 bytes in function 'mlx5e_open_xsk' [-Werror,-Wframe-larger-than=] Use kvzalloc() instead. Fixes: a038e9794541 ("net/mlx5e: Add XSK zero-copy support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions