[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172840442950.601483.15722241492485643058.git-patchwork-notify@kernel.org>
Date: Tue, 08 Oct 2024 16:20:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute] bridge: catch invalid stp state
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:
On Mon, 7 Oct 2024 09:35:43 -0700 you wrote:
> The stp state parsing was putting result in an __u8 which
> would mean that check for invalid string was never happening.
>
> Caught by enabling -Wextra:
> CC mst.o
> mst.c: In function ‘mst_set’:
> mst.c:217:27: warning: comparison is always false due to limited range of data type [-Wtype-limits]
> 217 | if (state == -1) {
>
> [...]
Here is the summary with links:
- [iproute] bridge: catch invalid stp state
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f4b86f752d3c
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