From: patchwork-bot+netdevbpf@kernel•org
To: Andrea Claudi <aclaudi@redhat•com>
Cc: netdev@vger•kernel.org, stephen@networkplumber•org,
dsahern@gmail•com, me@pmachata•org
Subject: Re: [PATCH iproute2] ipstats: fix message reporting error
Date: Tue, 30 May 2023 19:30:20 +0000 [thread overview]
Message-ID: <168547502013.11706.8026190249596630284.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <e8875ce96124d1f30acf6a237d0a67f2194d13a6.1685379264.git.aclaudi@redhat.com>
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber•org>:
On Mon, 29 May 2023 18:59:15 +0200 you wrote:
> strerror() accepts any integer as arguments, but returns meaningful
> error descriptions only for positive integers.
>
> ipstats code uses strerror on a code path where either err is 0 or
> -ENOMEM, thus resulting in a useless error message.
>
> Fix this using errno and moving the error printing closer to the only
> function populating it in this code path.
>
> [...]
Here is the summary with links:
- [iproute2] ipstats: fix message reporting error
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=995096d946cb
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:[~2023-05-30 19:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-29 16:59 [PATCH iproute2] ipstats: fix message reporting error Andrea Claudi
2023-05-30 19:30 ` 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=168547502013.11706.8026190249596630284.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel$(echo .)org \
--cc=aclaudi@redhat$(echo .)com \
--cc=dsahern@gmail$(echo .)com \
--cc=me@pmachata$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=stephen@networkplumber$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox