PVE7更新AQC107网卡驱动,解决奇葩问题。
hornway:
大神,我按照你的操作提示错误代码:
make -j4 -C /lib/modules/5.15.35-1-pve/build M="/tmp/Linux" modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.35-1-pve'
CC [M] /tmp/Linux/aq_ethtool.o
/tmp/Linux/aq_ethtool.c:1473:25: 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]
1473 | .get_coalesce = aq_ethtool_get_coalesce,
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/Linux/aq_ethtool.c:1473:25: note: (near initialization for ‘aq_ethtool_ops.get_coalesce’)
/tmp/Linux/aq_ethtool.c:1474:25: 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]
|