From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 799DC30FC16; Tue, 27 Jan 2026 03:40:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769485225; cv=none; b=d1o2+DgT/wyEz0YrepydI83BjGvmShuy++2AFU9JAuUQjTI1q3zQ1EUMyv+yAS25HWgLaAV8kw1qWSDCT1PgE7OfMJSaJAAoI3GSJPHcAYyUaqX7MmisWA/EIljlRbcQSOIzHRfb584qcIwXbIf5cAsKhM2XRYVuq2huqe0w+H4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769485225; c=relaxed/simple; bh=EyDnbg/lleTVYrMGxGhuMVvM5X0Rlth/QSi6mgOon/o=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=Y2kV27MRq7vUofhyRaRrQ3A2CaSUUvQqDVhz3NjVXaZ5ogdXLsf6ulACzniuYjbAnrEtG3ME77thOh5EbSlB7kgvvTGsJcLrS2jS9/m4sXaBbpOs1dR8RvURE5b1+yzJSsTUEalbblwPG3jetH6n0KXxMlciZzVxRk+D5E2MS4Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Gyzd3sRf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Gyzd3sRf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B7F3C116C6; Tue, 27 Jan 2026 03:40:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769485225; bh=EyDnbg/lleTVYrMGxGhuMVvM5X0Rlth/QSi6mgOon/o=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Gyzd3sRfVZtmLP0TJa/6iLfbwsIZDUX1D7ANHm7vCV21TRq9hE29rbLAabdATgIKl vd7YFi5xBeY8C1raE1F9tGzKK/P7E3T1jKVTmi1MSOruDCCMWjB1UTNyS8VDY5q5Nh OvWJMMpwoQfjhBKtB1CXg3wt6FqbFRiCEPgp9z+BRbVMfznWguyjq9JLCVKjh67zGt yh3+XFa6BkX+bFYQlk/w+dotCGdmoscZ4N9w9zStjy2NKj2XnkTdAjLGLL11RGgHU+ orda3Hd0UNuFHwdyKB52NaxSnNM04/GXxdGgWDVP4BDPhTZW6dH2GWqw7Ngdin7hWk V0/+qFGL2r8UQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id C8F05380A961; Tue, 27 Jan 2026 03:40:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next v2] selftests: net: fix wrong boolean evaluation in __exit__ From: patchwork-bot+netdevbpf@kernel.org Message-Id: <176948521934.672496.14936979307496072577.git-patchwork-notify@kernel.org> Date: Tue, 27 Jan 2026 03:40:19 +0000 References: <20260125105524.773993-1-gal@nvidia.com> In-Reply-To: <20260125105524.773993-1-gal@nvidia.com> To: Gal Pressman 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 Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : 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