I encountered two errors during the "Building the driver" step while performing environment testing on Corundum, specifically when running make in the /path/to/corundum/modules/mqnic directory.
The first error occurred in the file corundum/modules/mqnic/mqnic_dev.c:137:25: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’?. I replaced strlcpy in the code and this error was resolved. However, I don't fully understand the code at this point. Could you clarify whether this change might cause further errors or affect the following issue?
The second error occurred after I replaced strlcpy, and it appeared in the mqnic_ethtool.c file. The error message was:
initialization of ‘int (*)(struct net_device *, struct ethtool_rxfh_param *)’ from incompatible pointer type ‘int (*)(struct net_device *, u32 *, u8 *, u8 *)’ {aka ‘int (*)(struct net_device *, unsigned int *, unsigned char *, unsigned char *)’}
error: initialization of ‘int (*)(struct net_device *, struct ethtool_rxfh_param *, struct netlink_ext_ack *)’ from incompatible pointer type ‘int (*)(struct net_device *, const u32 *, const u8 *, const u8)’ {aka ‘int (*)(struct net_device *, const unsigned int *, const unsigned char *, const unsigned char)’}
This error has not been resolved yet. Could you help me with the necessary changes?