aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-05-25 23:36:06 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-29 10:03:40 -0400
commitc3cd281e2bc8da18f225f1191e9751d771411933 (patch)
treebbd4e40ed2d91c3aa89e4e44c3b5c70f364c92e7 /drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
parentnet: remove unnecessary genlmsg_cancel() calls (diff)
downloadlinux-dev-c3cd281e2bc8da18f225f1191e9751d771411933.tar.xz
linux-dev-c3cd281e2bc8da18f225f1191e9751d771411933.zip
net/mlx5e: fix TLS dependency
With CONFIG_TLS=m and MLX5_CORE_EN=y, we get a link failure: drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.o: In function `mlx5e_tls_handle_ooo': tls_rxtx.c:(.text+0x24c): undefined reference to `tls_get_record' drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.o: In function `mlx5e_tls_handle_tx_skb': tls_rxtx.c:(.text+0x9a8): undefined reference to `tls_device_sk_destruct' This narrows down the dependency to only allow the configurations that will actually work. The existing dependency on TLS_DEVICE is not sufficient here since MLX5_EN_TLS is a 'bool' symbol. Fixes: c83294b9efa5 ("net/mlx5e: TLS, Add Innova TLS TX support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Acked-by: Boris Pismenny <borisp@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/emac/emac-sgmii.c')
0 files changed, 0 insertions, 0 deletions