[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162492181199.29625.1718309002563451532.git-patchwork-notify@kernel.org>
Date: Mon, 28 Jun 2021 23:10:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nathan Chancellor <nathan@...nel.org>
Cc: davem@...emloft.net, kuba@...nel.org, lars.povlsen@...rochip.com,
Steen.Hegelund@...rochip.com, UNGLinuxDriver@...rochip.com,
ndesaulniers@...gle.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com
Subject: Re: [PATCH net-next] net: sparx5: Do not use mac_addr uninitialized in
mchp_sparx5_probe()
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
Powered by blists - more mailing lists