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
By compiling the driver on an RPI, I get the following errors:
CC [M] drivers/net/usb/ax88179_178a.o
drivers/net/usb/ax88179_178a.c:1948:3: error: ‘const struct ethtool_ops’ has no member named ‘get_settings’; did you mean ‘get_strings’?
.get_settings = ax88179_get_settings,
^~~~~~~~~~~~
get_strings
drivers/net/usb/ax88179_178a.c:1948:18: error: initialization of ‘int (*)(struct net_device )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_cmd )’ [-Werror=incompatible-pointer-types]
.get_settings = ax88179_get_settings,
^~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:1948:18: note: (near initialization for ‘ops.get_regs_len’)
drivers/net/usb/ax88179_178a.c:1949:3: error: ‘const struct ethtool_ops’ has no member named ‘set_settings’; did you mean ‘get_strings’?
.set_settings = ax88179_set_settings,
^~~~~~~~~~~~
get_strings
drivers/net/usb/ax88179_178a.c:1949:18: error: initialization of ‘void ()(struct net_device *, struct ethtool_regs *, void )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_cmd )’ [-Werror=incompatible-pointer-types]
.set_settings = ax88179_set_settings,
^~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:1949:18: note: (near initialization for ‘ops.get_regs’)
drivers/net/usb/ax88179_178a.c:2061:21: error: initialization of ‘void ()(struct net_device , unsigned int)’ from incompatible pointer type ‘void ()(struct net_device *)’ [-Werror=incompatible-pointer-types]
.ndo_tx_timeout = ax88179_tx_timeout,
^~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:2061:21: note: (near initialization for ‘ax88179_netdev_ops.ndo_tx_timeout’)
drivers/net/usb/ax88179_178a.c: In function ‘intr_callback’:
drivers/net/usb/ax88179_178a.c:578:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
netif_device_detach(dev->netdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:579:2: note: here
case -ENOENT:
^~~~
It would be great to get a tip what could be the reason for the failure.
Thanks
Dieter
The text was updated successfully, but these errors were encountered:
I tried now with driver version 2.0.0
seems to work, but I still get a warning:
drivers/net/usb/ax88179_178a.c: In function ‘ax_intr_callback’:
drivers/net/usb/ax88179_178a.c:529:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
netif_device_detach(axdev->netdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:530:2: note: here
case -ENOENT:
^~~~
By compiling the driver on an RPI, I get the following errors:
CC [M] drivers/net/usb/ax88179_178a.o
drivers/net/usb/ax88179_178a.c:1948:3: error: ‘const struct ethtool_ops’ has no member named ‘get_settings’; did you mean ‘get_strings’?
.get_settings = ax88179_get_settings,
^~~~~~~~~~~~
get_strings
drivers/net/usb/ax88179_178a.c:1948:18: error: initialization of ‘int (*)(struct net_device )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_cmd )’ [-Werror=incompatible-pointer-types]
.get_settings = ax88179_get_settings,
^~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:1948:18: note: (near initialization for ‘ops.get_regs_len’)
drivers/net/usb/ax88179_178a.c:1949:3: error: ‘const struct ethtool_ops’ has no member named ‘set_settings’; did you mean ‘get_strings’?
.set_settings = ax88179_set_settings,
^~~~~~~~~~~~
get_strings
drivers/net/usb/ax88179_178a.c:1949:18: error: initialization of ‘void ()(struct net_device *, struct ethtool_regs *, void )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_cmd )’ [-Werror=incompatible-pointer-types]
.set_settings = ax88179_set_settings,
^~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:1949:18: note: (near initialization for ‘ops.get_regs’)
drivers/net/usb/ax88179_178a.c:2061:21: error: initialization of ‘void ()(struct net_device , unsigned int)’ from incompatible pointer type ‘void ()(struct net_device *)’ [-Werror=incompatible-pointer-types]
.ndo_tx_timeout = ax88179_tx_timeout,
^~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:2061:21: note: (near initialization for ‘ax88179_netdev_ops.ndo_tx_timeout’)
drivers/net/usb/ax88179_178a.c: In function ‘intr_callback’:
drivers/net/usb/ax88179_178a.c:578:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
netif_device_detach(dev->netdev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/usb/ax88179_178a.c:579:2: note: here
case -ENOENT:
^~~~
It would be great to get a tip what could be the reason for the failure.
Thanks
Dieter
The text was updated successfully, but these errors were encountered: