参数数量变更
error:initialization of 'void (*) (struct net_device *, unsigned int)' from incompatible pointer type(以rhel8.6为例)
error:initialization of 'int (*)(struct net_get_coalesce)' (以rhel8.6为例)
error:too few arguments to function 'devlink_alloc'(以Ubuntu 22.04为例)
父主题:
内核接口传递参数变更