You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/user/socketcan-linux-5.0/usb-to-can_socketcan/ixx_usb_fd.c:36:25: error: expected declaration specifiers or ‘...’ before string constant 36 | MODULE_SUPPORTED_DEVICE("IXXAT Automation GmbH USB-to-CAN FD"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Noted that the modules.h in (uname -r)/include/linux directory does not have the MODULE_SUPPORTED_DEVICE define anymore
Error 2:
/home/user/socketcan-linux-5.0/usb-to-can_socketcan/ixx_usb_core.c:256:9: error: too few arguments to function ‘can_get_echo_skb’ 256 | can_get_echo_skb(netdev, context->echo_index); | ^~~~~~~~~~~~~~~~
CAN Kernel source got updated. The function signature is now in the form of
unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx, unsigned int *frame_len_ptr)
Potential Fixes:
Removing the MODULE_SUPPORTED_DEVICE and passing a nullptr for the third (additional) parameter.
The text was updated successfully, but these errors were encountered:
Issue:
Outright compilation error for 5.13.0.-27 generic
Error 1:
/home/user/socketcan-linux-5.0/usb-to-can_socketcan/ixx_usb_fd.c:36:25: error: expected declaration specifiers or ‘...’ before string constant 36 | MODULE_SUPPORTED_DEVICE("IXXAT Automation GmbH USB-to-CAN FD"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Noted that the
modules.h
in (uname -r)/include/linux directory does not have theMODULE_SUPPORTED_DEVICE
define anymoreError 2:
/home/user/socketcan-linux-5.0/usb-to-can_socketcan/ixx_usb_core.c:256:9: error: too few arguments to function ‘can_get_echo_skb’ 256 | can_get_echo_skb(netdev, context->echo_index); | ^~~~~~~~~~~~~~~~
CAN Kernel source got updated. The function signature is now in the form of
unsigned int can_get_echo_skb(struct net_device *dev, unsigned int idx, unsigned int *frame_len_ptr)
Potential Fixes:
Removing the
MODULE_SUPPORTED_DEVICE
and passing a nullptr for the third (additional) parameter.The text was updated successfully, but these errors were encountered: