From: patchwork-bot+netdevbpf@kernel.org
To: Gal Pressman <gal@nvidia.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, andrew+netdev@lunn.ch, netdev@vger.kernel.org,
horms@kernel.org, shuah@kernel.org, joe@dama.to, sdf@fomichev.me,
linux-kselftest@vger.kernel.org, noren@nvidia.com
Subject: Re: [PATCH net-next v2] selftests: net: fix wrong boolean evaluation in __exit__
Date: Tue, 27 Jan 2026 03:40:19 +0000 [thread overview]
Message-ID: <176948521934.672496.14936979307496072577.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260125105524.773993-1-gal@nvidia.com>
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 25 Jan 2026 12:55:24 +0200 you wrote:
> The __exit__ method receives ex_type as the exception class when an
> exception occurs. The previous code used implicit boolean evaluation:
>
> terminate = self.terminate or (self._exit_wait and ex_type)
> ^^^^^^^^^^^
>
> In Python, the and operator can be used with non-boolean values, but it
> does not always return a boolean result.
>
> [...]
Here is the summary with links:
- [net-next,v2] selftests: net: fix wrong boolean evaluation in __exit__
https://git.kernel.org/netdev/net-next/c/a84a1fe0fb2e
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:[~2026-01-27 3:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-25 10:55 [PATCH net-next v2] selftests: net: fix wrong boolean evaluation in __exit__ Gal Pressman
2026-01-27 3:40 ` 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=176948521934.672496.14936979307496072577.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gal@nvidia.com \
--cc=horms@kernel.org \
--cc=joe@dama.to \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=noren@nvidia.com \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox