Messages in this thread | | | Subject | Re: [PATCH net-next] net: sparx5: Do not use mac_addr uninitialized in mchp_sparx5_probe() | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 28 Jun 2021 23:10:11 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sun, 27 Jun 2021 11:45:43 -0700 you wrote: > Clang warns: > > drivers/net/ethernet/microchip/sparx5/sparx5_main.c:760:29: warning: > variable 'mac_addr' is uninitialized when used here [-Wuninitialized] > if (of_get_mac_address(np, mac_addr)) { > ^~~~~~~~ > drivers/net/ethernet/microchip/sparx5/sparx5_main.c:669:14: note: > initialize the variable 'mac_addr' to silence this warning > u8 *mac_addr; > ^ > = NULL > 1 warning generated. > > [...]
Here is the summary with links: - [net-next] net: sparx5: Do not use mac_addr uninitialized in mchp_sparx5_probe() https://git.kernel.org/netdev/net-next/c/b74ef9f9cb91
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |