From: patchwork-bot+netdevbpf@kernel.org
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute] bridge: catch invalid stp state
Date: Tue, 08 Oct 2024 16:20:29 +0000 [thread overview]
Message-ID: <172840442950.601483.15722241492485643058.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20241007163654.499827-1-stephen@networkplumber.org>
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.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
prev parent reply other threads:[~2024-10-08 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 16:35 [PATCH iproute] bridge: catch invalid stp state Stephen Hemminger
2024-10-08 16:20 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=172840442950.601483.15722241492485643058.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.