Go to file
YueHaibing 5f9fc3325e net/mlx5e: Fix build error without IPV6
If IPV6 is not set and CONFIG_MLX5_ESWITCH is y,
building fails:

drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:322:5: error: redefinition of mlx5e_tc_tun_create_header_ipv6
 int mlx5e_tc_tun_create_header_ipv6(struct mlx5e_priv *priv,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:7:0:
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:67:1: note: previous definition of mlx5e_tc_tun_create_header_ipv6 was here
 mlx5e_tc_tun_create_header_ipv6(struct mlx5e_priv *priv,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Use #ifdef to guard this, also move mlx5e_route_lookup_ipv6
to cleanup unused warning.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: e689e998e1 ("net/mlx5e: TC, Stub out ipv6 tun create header function")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-30 09:43:40 -08:00
arch dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
block
certs
crypto
Documentation drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
drivers net/mlx5e: Fix build error without IPV6 2019-11-30 09:43:40 -08:00
fs for-5.5/io_uring-post-20191128 2019-11-28 10:43:39 -08:00
include net/tls: use sg_next() to walk sg entries 2019-11-28 22:40:29 -08:00
init
ipc
kernel dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
lib generic ioremap support 2019-11-28 10:57:12 -08:00
LICENSES
mm
net tipc: fix duplicate SYN messages under link congestion 2019-11-28 23:09:15 -08:00
samples
scripts
security drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
sound
tools selftests: pmtu: use -oneline for ip route list cache 2019-11-29 12:29:55 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS drm main pull for 5.5-rc1 2019-11-27 17:45:48 -08:00
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.