Re: [e1000-devel] error in e1000e driver under ubuntu20.04 HWE with kernel 5.15.0-67
On 3/27/2023 12:32 AM, ST Cai wrote: > OS:Ubuntu Server 20.04 HWE > Kernel:5.15.0-67-generic > Adapter:Intel(6)I219-V;Vendor:0x8086;Product:0x15be; > Drivers :e1000e-3.8.4/e1000e-3.8.4; > > make install Error: > > ethtool.c:2838:19: error: initialization of ‘int (*)(struct net_device *, > struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct > netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct > net_device *, struct ethtool_coalesce *)’ > [-Werror=incompatible-pointer-types] > > ethtool.c:2838:19: note: (near initialization for > ‘e1000_ethtool_ops.get_coalesce’) > /home/egw/e1000e-3.8.7/src/ethtool.c:2839:19: error: initialization of ‘int > (*)(struct net_device *, struct ethtool_coalesce *, struct > kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible > pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ > [-Werror=incompatible-pointer-types] > > How to solve? The e1000e driver included with the kernel you already have should work fine. Please try it and let us know. The e1000e driver from this site is not being actively maintained and was last released in 2020. ___ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel Ethernet, visit https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products
[e1000-devel] error in e1000e driver under ubuntu20.04 HWE with kernel 5.15.0-67
OS??Ubuntu Server 20.04 HWE Kernel??5.15.0-67-generic Ethernet??Intel??6??I219-V??Vendor??0x8086??Product??0x15be?? ?? st@foxmail.com ___ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel Ethernet, visit https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products
[e1000-devel] error in e1000e driver under ubuntu20.04 HWE with kernel 5.15.0-67
OS??Ubuntu Server 20.04 HWE Kernel??5.15.0-67-generic Ethernet??Intel??6??I219-V??Vendor??0x8086??Product??0x15be?? Drivers Version??e1000e-3.8.4/e1000e-3.8.4; Error: ethtool.c:2838:19: error: initialization of ??int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)?? from incompatible pointer type ??int (*)(struct net_device *, struct ethtool_coalesce *)?? [-Werror=incompatible-pointer-types] ethtool.c:2838:19: note: (near initialization for ??e1000_ethtool_ops.get_coalesce??) /home/egw/e1000e-3.8.7/src/ethtool.c:2839:19: error: initialization of ??int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)?? from incompatible pointer type ??int (*)(struct net_device *, struct ethtool_coalesce *)?? [-Werror=incompatible-pointer-types] How to solve? ?? st@foxmail.com ___ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel Ethernet, visit https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products
[e1000-devel] error in e1000e driver under ubuntu20.04 HWE with kernel 5.15.0-67
OS:Ubuntu Server 20.04 HWE Kernel:5.15.0-67-generic Adapter:Intel(6)I219-V;Vendor:0x8086;Product:0x15be; Drivers :e1000e-3.8.4/e1000e-3.8.4; make install Error: ethtool.c:2838:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] ethtool.c:2838:19: note: (near initialization for ‘e1000_ethtool_ops.get_coalesce’) /home/egw/e1000e-3.8.7/src/ethtool.c:2839:19: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *, struct kernel_ethtool_coalesce *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ [-Werror=incompatible-pointer-types] How to solve? ___ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel Ethernet, visit https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products