[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <pvjv6gn6ylnpncdp5xdzt5wdnzc2tuuww3ihed46q76vm6qwly@7smel4x243a3>
Date: Fri, 11 Jul 2025 16:51:19 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: "Chen, Jian Jun" <jian.jun.chen@...el.com>,
Vincent Guittot <vincent.guittot@...aro.org>, linux-i2c@...r.kernel.org, virtualization@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: virtio: Avoid hang by using interruptible
completion wait
Hi Viresh,
On Thu, Jul 03, 2025 at 05:01:02PM +0530, Viresh Kumar wrote:
> The current implementation uses wait_for_completion(), which can cause
> the caller to hang indefinitely if the transfer never completes.
>
> Switch to wait_for_completion_interruptible() so that the operation can
> be interrupted by signals.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
Do we need the Fixes tag here?
Thanks,
Andi
Powered by blists - more mailing lists