[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164493601085.31968.17393307108905491138.git-patchwork-notify@kernel.org>
Date: Tue, 15 Feb 2022 14:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tom Rix <trix@...hat.com>
Cc: ioana.ciornei@....com, davem@...emloft.net, kuba@...nel.org,
nathan@...nel.org, ndesaulniers@...gle.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] dpaa2-switch: fix default return of
dpaa2_switch_flower_parse_mirror_key
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Mon, 14 Feb 2022 07:41:39 -0800 you wrote:
> From: Tom Rix <trix@...hat.com>
>
> Clang static analysis reports this representative problem
> dpaa2-switch-flower.c:616:24: warning: The right operand of '=='
> is a garbage value
> tmp->cfg.vlan_id == vlan) {
> ^ ~~~~
> vlan is set in dpaa2_switch_flower_parse_mirror_key(). However
> this function can return success without setting vlan. So
> change the default return to -EOPNOTSUPP.
>
> [...]
Here is the summary with links:
- dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key
https://git.kernel.org/netdev/net/c/2a36ed7c1cd5
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