diff options
| author | Arnd Bergmann <[email protected]> | 2021-02-25 12:54:54 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-03-11 22:35:12 +0000 |
| commit | 87f77a6797971579a1da497ac01b692bafbc6cca (patch) | |
| tree | 8f73a6113e12606c4d1a1f78d3b59d8b2c208e09 /net/tipc/node.c | |
| parent | net/mlx5e: CT, Avoid false lock dependency warning (diff) | |
| download | kernel-87f77a6797971579a1da497ac01b692bafbc6cca.tar.gz kernel-87f77a6797971579a1da497ac01b692bafbc6cca.zip | |
net/mlx5e: fix mlx5e_tc_tun_update_header_ipv6 dummy definition
The alternative implementation of this function in a header file
is declared as a global symbol, and gets added to every .c file
that includes it, which leads to a link error:
arm-linux-gnueabi-ld: drivers/net/ethernet/mellanox/mlx5/core/en_rx.o: in function `mlx5e_tc_tun_update_header_ipv6':
en_rx.c:(.text+0x0): multiple definition of `mlx5e_tc_tun_update_header_ipv6'; drivers/net/ethernet/mellanox/mlx5/core/en_main.o:en_main.c:(.text+0x0): first defined here
Mark it 'static inline' like the other functions here.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Vlad Buslov <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
