diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-02 15:34:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 16:13:15 +0300 |
commit | e7c36edac701bad12b54f182de7b63b137307e62 (patch) | |
tree | 64dc727ad146f2e63a1273142117729130097d11 /arch/arm/mm/cache-v7.S | |
parent | 1a130bc711d3931567575c0449cdd255859c1e58 (diff) | |
download | linux-e7c36edac701bad12b54f182de7b63b137307e62.tar.xz |
net/mlx4_en: Fix build break when CONFIG_INET is off
[ Upstream commit 1b603f9e4313348608f256b564ed6e3d9e67f377 ]
MLX4_EN depends on NETDEVICES, ETHERNET and INET Kconfigs.
Make sure they are listed in MLX4_EN Kconfig dependencies.
This fixes the following build break:
drivers/net/ethernet/mellanox/mlx4/en_rx.c:582:18: warning: ‘struct iphdr’ declared inside parameter list [enabled by default]
struct iphdr *iph)
^
drivers/net/ethernet/mellanox/mlx4/en_rx.c:582:18: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/ethernet/mellanox/mlx4/en_rx.c: In function ‘get_fixed_ipv4_csum’:
drivers/net/ethernet/mellanox/mlx4/en_rx.c:586:20: error: dereferencing pointer to incomplete type
_u8 ipproto = iph->protocol;
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/mm/cache-v7.S')
0 files changed, 0 insertions, 0 deletions