In PR #40, we have avoided directly accessing the ndev->dev_addr by replacing it with the helper function eth_hw_addr_set(). But this function only exists after Linux version 5.15-rc1. Keep the direct access to ndev->dev_addr when we're in the older Linux version.
In PR #40, we have avoided directly accessing the
ndev->dev_addr
by replacing it with the helper functioneth_hw_addr_set()
. But this function only exists after Linux version 5.15-rc1. Keep the direct access tondev->dev_addr
when we're in the older Linux version.