Open JBenway-VPG opened 3 months ago
An "Incompatible netdev->dev_addr" occurs when using this driver on kernels > 5.15. For these kernels, eth_hw_addr_set() should be used instead of memcpy().
eth_hw_addr_set was introduced on v5.15-rc1 https://github.com/torvalds/linux/commit/48eab831ae8b9f7002a533fa4235eed63ea1f1a3
examples https://github.com/torvalds/linux/commit/b57ceb19aba7d40403ca985ec565db8db20f4331 https://github.com/torvalds/linux/commit/349f631da4e1bdcb1b4a2a3ee630d689bfe6724d
This change has already been applied upstream in Etherlab: https://gitlab.com/etherlab.org/ethercat/-/commit/d301cbb992e80218735b81c73d49fec705f91d08
An "Incompatible netdev->dev_addr" occurs when using this driver on kernels > 5.15. For these kernels, eth_hw_addr_set() should be used instead of memcpy().
eth_hw_addr_set was introduced on v5.15-rc1 https://github.com/torvalds/linux/commit/48eab831ae8b9f7002a533fa4235eed63ea1f1a3
examples https://github.com/torvalds/linux/commit/b57ceb19aba7d40403ca985ec565db8db20f4331 https://github.com/torvalds/linux/commit/349f631da4e1bdcb1b4a2a3ee630d689bfe6724d
This change has already been applied upstream in Etherlab: https://gitlab.com/etherlab.org/ethercat/-/commit/d301cbb992e80218735b81c73d49fec705f91d08