Re: [PATCH net] net: sparx5: Fix reading of the MAC address
From: patchwork-bot+netdevbpf
Date: Mon Jan 02 2023 - 08:50:22 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Mon, 2 Jan 2023 13:12:15 +0100 you wrote:
> There is an issue with the checking of the return value of
> 'of_get_mac_address', which returns 0 on success and negative value on
> failure. The driver interpretated the result the opposite way. Therefore
> if there was a MAC address defined in the DT, then the driver was
> generating a random MAC address otherwise it would use address 0.
> Fix this by checking correctly the return value of 'of_get_mac_address'
>
> [...]
Here is the summary with links:
- [net] net: sparx5: Fix reading of the MAC address
https://git.kernel.org/netdev/net/c/588ab2dc25f6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html