Re: [PATCH] niu: read property length only if we use it
From: patchwork-bot+netdevbpf
Date: Mon Aug 02 2021 - 05:30:16 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 29 Jul 2021 09:43:54 +0200 you wrote:
> In three places, the driver calls of_get_property and reads the property
> length although the length is not used. Update the calls to not request
> the length.
>
> Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>
> ---
> drivers/net/ethernet/sun/niu.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Here is the summary with links:
- niu: read property length only if we use it
https://git.kernel.org/netdev/net-next/c/451395f798a3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html