[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1025901512907113@web14g.yandex.ru>
Date: Sun, 10 Dec 2017 14:58:33 +0300
From: Алексей Болдырев
<devel-net-ne-vlezay80@...dex.ru>
To: netdev <netdev@...r.kernel.org>
Subject: Module compile error
CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_main.o
In file included from ./include/net/vxlan.h:6:0,
from drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:60:
./include/net/dst_metadata.h: In function ‘skb_vpls_info’:
./include/net/dst_metadata.h:36:9: error: implicit declaration of function ‘skb_metadata_dst’ [-Werror=implicit-function-declaration]
struct metadata_dst *md_dst = skb_metadata_dst(skb);
^
./include/net/dst_metadata.h:36:32: warning: initialization makes pointer from integer without a cast
struct metadata_dst *md_dst = skb_metadata_dst(skb);
^
./include/net/dst_metadata.h: At top level:
./include/net/dst_metadata.h:42:36: error: conflicting types for ‘skb_metadata_dst’
static inline struct metadata_dst *skb_metadata_dst(struct sk_buff *skb)
^
./include/net/dst_metadata.h:36:32: note: previous implicit declaration of ‘skb_metadata_dst’ was here
struct metadata_dst *md_dst = skb_metadata_dst(skb);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target 'drivers/net/ethernet/intel/ixgbe/ixgbe_main.o' failed
make[5]: *** [drivers/net/ethernet/intel/ixgbe/ixgbe_main.o] Error 1
scripts/Makefile.build:561: recipe for target 'drivers/net/ethernet/intel/ixgbe' failed
make[4]: *** [drivers/net/ethernet/intel/ixgbe] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/net/ethernet/intel' failed
make[3]: *** [drivers/net/ethernet/intel] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:1019: recipe for target 'drivers' failed
make: *** [drivers] Error 2
This patch is https://github.com/eqvinox/vpls-linux-kernel/commit/d9d8efec0760bcea54496e7a3ed45c72316ffb6b#diff-00c78c934b7e227c38ff1b1b571db9e6
What could be the problem?
Kernel: 4.13.16
Powered by blists - more mailing lists