[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176948521934.672496.14936979307496072577.git-patchwork-notify@kernel.org>
Date: Tue, 27 Jan 2026 03:40:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gal Pressman <gal@...dia.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, andrew+netdev@...n.ch, netdev@...r.kernel.org,
horms@...nel.org, shuah@...nel.org, joe@...a.to, sdf@...ichev.me,
linux-kselftest@...r.kernel.org, noren@...dia.com
Subject: Re: [PATCH net-next v2] selftests: net: fix wrong boolean evaluation
in
__exit__
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.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
Powered by blists - more mailing lists