Subject: Re: [PATCH iproute] bridge: catch invalid stp state

From: [email-masked]
Date: Tue, 08 Oct 2024 16:20:29 +0000

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <[email-masked]>:

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