Summary: | net-misc/ena-driver-2.6.1 - /.../ena_ethtool.c: error: initialization of int ( )(struct net_device , struct ethtool_coalesce , str | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | scott |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.portage.tar.bz2 net-misc:ena-driver-2.6.1:20220305-011553.log |
Description
Toralf Förster
2022-03-05 08:32:16 UTC
Created attachment 766287 [details]
emerge-info.txt
Created attachment 766288 [details]
emerge-history.txt.bz2
Created attachment 766289 [details]
environment
Created attachment 766290 [details]
etc.portage.tar.bz2
Created attachment 766291 [details]
net-misc:ena-driver-2.6.1:20220305-011553.log
linux-5.15 has changed the interface for ethtool_ops: diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index a9d77a6a3e00..849524b55d89 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h @@ -15,6 +15,7 @@ #include <linux/bitmap.h> #include <linux/compat.h> +#include <linux/netlink.h> #include <uapi/linux/ethtool.h> struct compat_ethtool_rx_flow_spec { @@ -611,8 +612,14 @@ struct ethtool_ops { struct ethtool_eeprom *, u8 *); int (*set_eeprom)(struct net_device *, struct ethtool_eeprom *, u8 *); - int (*get_coalesce)(struct net_device *, struct ethtool_coalesce *); - int (*set_coalesce)(struct net_device *, struct ethtool_coalesce *); + int (*get_coalesce)(struct net_device *, + struct ethtool_coalesce *, + struct kernel_ethtool_coalesce *, + struct netlink_ext_ack *); + int (*set_coalesce)(struct net_device *, + struct ethtool_coalesce *, + struct kernel_ethtool_coalesce *, + struct netlink_ext_ack *); void (*get_ringparam)(struct net_device *, struct ethtool_ringparam *); int (*set_ringparam)(struct net_device *, Ref: https://github.com/torvalds/linux/commit/f3ccfda1931977b80267ba54070a1aeafa18f6ca From a quick look, it seems 2.6.1 is not compatible with kernel 5.15. Should be fixed in 2.8.0 |