Патчи из соседней темы не пробовал пока. Судя по всему, они исправляют что-то другое.
Code: Select all
[100%] Generating driver/ipoe.ko
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_process_queue’:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:659:53: error: ‘struct genl_multicast_group’ has no member named ‘id’
header = genlmsg_put(report_skb, 0, ipoe_nl_mcg.id, &ipoe_nl_family, 0, IPOE_REP_PKT);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:686:50: error: ‘struct genl_multicast_group’ has no member named ‘id’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:686:6: warning: passing argument 1 of ‘genlmsg_multicast’ from incompatible pointer type [enabled by default]
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: expected ‘struct genl_family *’ but argument is of type ‘struct sk_buff *’
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:686:6: error: too few arguments to function ‘genlmsg_multicast’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: declared here
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:726:47: error: ‘struct genl_multicast_group’ has no member named ‘id’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:726:3: warning: passing argument 1 of ‘genlmsg_multicast’ from incompatible pointer type [enabled by default]
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: expected ‘struct genl_family *’ but argument is of type ‘struct sk_buff *’
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:726:3: error: too few arguments to function ‘genlmsg_multicast’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: declared here
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: In function ‘vlan_do_notify’:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1005:51: error: ‘struct genl_multicast_group’ has no member named ‘id’
header = genlmsg_put(report_skb, 0, ipoe_nl_mcg.id, &ipoe_nl_family, 0, IPOE_VLAN_NOTIFY);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1034:48: error: ‘struct genl_multicast_group’ has no member named ‘id’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1034:4: warning: passing argument 1 of ‘genlmsg_multicast’ from incompatible pointer type [enabled by default]
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: expected ‘struct genl_family *’ but argument is of type ‘struct sk_buff *’
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1034:4: error: too few arguments to function ‘genlmsg_multicast’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1034:4: error: too few arguments to function ‘genlmsg_multicast’ [1/1849]
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: declared here
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1053:47: error: ‘struct genl_multicast_group’ has no member named ‘id’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1053:3: warning: passing argument 1 of ‘genlmsg_multicast’ from incompatible pointer type [enabled by default]
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: expected ‘struct genl_family *’ but argument is of type ‘struct sk_buff *’
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1053:3: error: too few arguments to function ‘genlmsg_multicast’
genlmsg_multicast(report_skb, 0, ipoe_nl_mcg.id, GFP_KERNEL);
^
In file included from /home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:23:0:
include/net/genetlink.h:295:19: note: declared here
static inline int genlmsg_multicast(struct genl_family *family,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_stats64’:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1075:4: error: implicit declaration of function ‘u64_stats_fetch_begin_irq’ [-Werror=implicit-function-declaration]
start = u64_stats_fetch_begin_bh(&st->sync);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1078:3: error: implicit declaration of function ‘u64_stats_fetch_retry_irq’ [-Werror=implicit-function-declaration]
} while (u64_stats_fetch_retry_bh(&st->sync, start));
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: At top level:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2088:3: warning: initialization from incompatible pointer type [enabled by default]
.hook = ipt_out_hook,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2088:3: warning: (near initialization for ‘ipt_ops[0].hook’) [enabled by default]
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2095:3: warning: initialization from incompatible pointer type [enabled by default]
.hook = ipt_out_hook,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2095:3: warning: (near initialization for ‘ipt_ops[1].hook’) [enabled by default]
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2102:3: warning: initialization from incompatible pointer type [enabled by default]
.hook = ipt_in_hook,
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2102:3: warning: (near initialization for ‘ipt_ops[2].hook’) [enabled by default]
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_init’:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2170:91: error: macro "genl_register_family_with_ops" passed 3 arguments, but takes just 2
err = genl_register_family_with_ops(&ipoe_nl_family, ipoe_nl_ops, ARRAY_SIZE(ipoe_nl_ops));
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2170:8: error: ‘genl_register_family_with_ops’ undeclared (first use in this function)
err = genl_register_family_with_ops(&ipoe_nl_family, ipoe_nl_ops, ARRAY_SIZE(ipoe_nl_ops));
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2170:8: note: each undeclared identifier is reported only once for each function it appears in
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2181:2: error: implicit declaration of function ‘genl_register_mc_group’ [-Werror=implicit-function-declaration]
err = genl_register_mc_group(&ipoe_nl_family, &ipoe_nl_mcg);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: In function ‘ipoe_fini’:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:2218:2: error: implicit declaration of function ‘genl_unregister_mc_group’ [-Werror=implicit-function-declaration]
genl_unregister_mc_group(&ipoe_nl_family, &ipoe_nl_mcg);
^
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c: At top level:
/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.c:1982:24: warning: ‘ipoe_nl_ops’ defined but not used [-Wunused-variable]
static struct genl_ops ipoe_nl_ops[] = {
^
cc1: some warnings being treated as errors
make[4]: *** [/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver/ipoe.o] Error 1
make[3]: *** [_module_/home/amindomao/accel-ppp-code/build/drivers/ipoe/driver] Error 2
make[2]: *** [drivers/ipoe/driver/ipoe.ko] Error 2
make[1]: *** [drivers/ipoe/CMakeFiles/ipoe_drv.dir/all] Error 2
make: *** [all] Error 2